[Home] [By Thread] [By Date] [Recent Entries]

  • From: Julian Reschke <julian.reschke@g...>
  • To: Andrew Welch <andrew.j.welch@g...>
  • Date: Tue, 09 Dec 2008 10:20:28 +0100

Andrew Welch wrote:
> Hi George,
> 
>> One trick that you can use is to take advantage of the fact that a parser in
>> non validating mode is not required to actually read the DTD. You need to
>> have a DTD specified though in the XML file. You will get the entity
>> notification on the ContentHandler skippedEntity callback.
> 
> Ahh ok thanks - almost there :) a couple of issues though:
> 
> - the root element can be rss, rdf or atom...
> ...

Stop it! :-)

You may have to do this in order to deal with RSS, but please do not 
start accepting non-wellformed Atom as well -- if clients start 
accepting broken Atom feeds, servers will start producing them.

...and if they do already, please file bug reports!

BR, Julian


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member