Next in thread → Next in month →

Re: [xml-dev] External subset processing by browsers

From
Julian Reschke <>
To
Andrew Welch <>
Date
2008-12-09T09:20:28Z
ID
<>
Thread
Re: [xml-dev] External subset processing by browsers
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
Next in thread → Next in month →