ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIOM-452) The XMLStreamReader returned by getXMLStreamReader doesn't implement DTDReader
Date Wed, 15 May 2013 23:37:15 GMT

    [ https://issues.apache.org/jira/browse/AXIOM-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659023#comment-13659023
] 

Hudson commented on AXIOM-452:
------------------------------

Integrated in ws-axiom-trunk #1531 (See [https://builds.apache.org/job/ws-axiom-trunk/1531/])
    AXIOM-452: Ensure that the XMLStreamReader returned by getXMLStreamReader correctly implements
the DTDReader extension. (Revision 1483068)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/pull/StreamSwitch.java
* /webservices/axiom/trunk/modules/axiom-common-impl/src/main/java/org/apache/axiom/om/impl/common/serializer/pull/SwitchingWrapper.java
* /webservices/axiom/trunk/modules/axiom-tests/src/test/resources/web_w_dtd.xml
* /webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/OMTestSuiteBuilder.java
* /webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/document/sr
* /webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/document/sr/TestDTDReader.java
* /webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/document/sr/TestDTDReaderFromParser.java
* /webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/document/sr/package.html
* /webservices/axiom/trunk/modules/axiom-testsuite/src/main/resources/web_w_dtd.xml

                
> 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