Re: [PATCH]: possible fixes for resolve-dtd-uris inconsistency
David Megginson <[email protected]> Thu, 22 Apr 2004 09:31:17 -0400
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <[email protected]> |
Michael Glavassevich wrote: > The first (org.xml.sax.package.html.diff) drops > DeclHandler.externalEntityDecl from the list of methods affected by the > resolve-dtd-uris feature. > > The second (org.xml.sax.ext.DeclHandler.java.diff) aligns the > description of DeclHandler.externalEntityDecl with > DTDHandler.unparsedEntityDecl, requiring that the parser absolutize the > system identifier, though this is backwards incompatible and may affect > some real world users who expect the declared system identifier even if > it was always intended that the system id passed to > DeclHandler.externalEntityDecl be fully resolved. I've committed the second patch (which Karl preferred as well). This is a relatively peripheral part of SAX, so I think that we can allow the virtue of consistency -- and the Rule of Least Surprise -- to triumph. Thanks, David ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ List: sax-devel, [email protected] See: http://www.saxproject.org/ https://lists.sourceforge.net/lists/listinfo/sax-devel