abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Feeds and Internet Explorer related issues...
Date Thu, 15 Nov 2007 16:49:57 GMT
IE does not like the fact that the xml namespace is being declared
explicitly.  It's not suppose to be a problem so long as the prefix and
namespace match but the msft parsers always choke on it.  I'll see if I
can find a way of suppressing it in the output.

- James

Kiran Subbaraman wrote:
> I created a feed using Abdera:
> 		Factory factory = Abdera.getNewFactory();
> 		Feed feed = factory.newFeed();
> 		feed.setLanguage("en-US");
> 		feed.setBaseUri("http://www.examplecom/");
>                 .....
> When I deploy this WAR file, and view the generated feed from within
> Firefox, I get to see the feed xml displayed in the Firefox. 
> With Internet Explorer, I get the error that this xml cannot be displayed.
> Specifically, I see this in IE7:
> The namespace prefix is not allowed to start with the reserved string "xml".
>  Line: 1 Character: 104
> <?xml version="1.0" encoding="UTF-8"?><feed xml:lang="en-US"
> xml:base="http://www.example.com/"
> xmlns:xml="http://www.w3.org/XML/1998/namespace" .......
> Whereas, when I comment out the lines: 
> 		/* feed.setLanguage("en-US");
> 		feed.setBaseUri("http://www.examplecom/"); */
> Both IE and Firefox display the generated feed correctly. 
> What's going on? Am I missing something in Abdera?
> Thanks,
> Kiran.

View raw message