ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIOM-452) The XMLStreamReader returned by getXMLStreamReader doesn't implement DTDReader
Date Mon, 13 May 2013 16:55:16 GMT
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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message