[ http://issues.apache.org/jira/browse/XERCESJ-1199?page=comments#action_12439398 ] Lucian Holland commented on XERCESJ-1199: -----------------------------------------
My tests (with a slight tweak) now green bar - excellent! Thanks Michael. I had been assuming that there wasn't an awful lot of point in the handler worrying about the DTD side of things, given that it only ever exposes the DTD as a single string. I suppose the StaXSAXHandler could process these events, and then the XMLEventReader could check to see if the StreamReader it was backed by supported some special internal interface for getting access to them, otherwise it would fall back to an alternative mechanism; that would probably be more efficient at the cost of some separation of concerns... > SAXXMLStreamReader should attempt to register a LexicalHandler as well as a > ContentHandler > ------------------------------------------------------------------------------------------ > > Key: XERCESJ-1199 > URL: http://issues.apache.org/jira/browse/XERCESJ-1199 > Project: Xerces2-J > Issue Type: Improvement > Components: StAX > Affects Versions: 2.8.1 > Reporter: Lucian Holland > Assigned To: Michael Glavassevich > > Currently the SAXXMLStreamReader registers the StAXSAXHandler as a > ContentHandler on the XMLReader from a supplied SAXSource, but makes no > attempt to specify a LexicalHandler. It would be nice if it tried to do this, > because that way the SAXXMLStreamReader would get more of the infoset (esp. > comments) passed through to it if the underlying XMLReader was capable of > doing so... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
