Hi all, I would like to propose to modify startExternalSubset() method in XMLDTDHandler to include XMLResourceIdentifier: public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augmentations)
The method startDTD() already includes a resource identifier, however, if an internal subset is present, the identifier will include information about the document entity -- not the external entity [DTD]. I think that XNI behaves correctly in the described case - it provides the base URI for all internal declarations. However it also means that XNI does not provide the baseURI for the declarations that came from external DTD subset. I found out about it when started to implement DOM Level 3 baseURI [1]. Per DOM Level 3 baseURI for entities corresponds to [declaration base URI] in the XML Infoset. Comments? [1] http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20020409/core.html#Node3-baseURI -- Elena Litani / IBM Toronto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
