Andreas Veithen created AXIOM-452:
-------------------------------------
Summary: The XMLStreamReader returned by getXMLStreamReader
doesn't implement DTDReader
Key: AXIOM-452
URL: https://issues.apache.org/jira/browse/AXIOM-452
Project: Axiom
Issue Type: Bug
Components: DOOM, LLOM
Affects Versions: 1.2.14
Reporter: Andreas Veithen
Assignee: Andreas Veithen
Priority: Minor
Fix For: 1.2.15
AXIOM-437 introduced the DTDReader extension for XMLStreamReaders. However, the
XMLStreamReader returned by OMContainer#getXMLStreamReader doesn't implement
that extension. If that XMLStreamReader is used to construct a builder
(OMXMLParserWrapper), then the builder may fail to reconstruct the OMDocType
node.
Note that in some cases, this "accidentally" works because the XMLStreamReader
returned by getXMLStreamReader will delegate getProperty calls to the
underlying builder (if there is one) and the builder will pass that call to the
underlying parser which implements DTDReader and may return the expected values.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]