[Home] [By Thread] [By Date] [Recent Entries]
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] |

Cart



