[ http://issues.apache.org/jira/browse/XERCESJ-1170?page=comments#action_12421507 ] Michael Glavassevich commented on XERCESJ-1170: -----------------------------------------------
Hi Hua, there's no byte stream to read. I assume the scenario you're concerned with is DOM Level 2 which did not make information from the XML declaration available. DOM Level 2 only supported XML 1.0 so the version must always be 1.0. As for the encoding and isStandalone, for lack of having the information I would return the defaults: "UTF-8" and false. > Initial contribution for the DOM XMLStreamReader > ------------------------------------------------ > > Key: XERCESJ-1170 > URL: http://issues.apache.org/jira/browse/XERCESJ-1170 > Project: Xerces2-J > Issue Type: New Feature > Components: StAX > Affects Versions: 2.8.0 > Environment: Windows XP Pro, sp2; Eclipse 3.1 > Reporter: hua lei > Assigned To: Michael Glavassevich > Attachments: DOMStreamReader_6.28.zip > > > StAX feature is one project of google's summer of code. "By the > Using an XMLInputFactory an XMLStreamReader can be constructed from a > SAXSource or DOMSource. The goal here is to provide support for both of > these sources, making it possible for applications to process the results of > a SAX pipeline in a pull fashion and to incrementally walk a DOM tree through > the XMLStreamReader interface." > This issue is the initial contribution for DOMStreamReader. -- 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]
