You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/08/28 14:13:20 UTC
[jira] [Commented] (AXIOM-485) Pull parser loops infinitely
attempting to count namespaces for document with redundant namespaces
[ https://issues.apache.org/jira/browse/AXIOM-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15443517#comment-15443517 ]
Hudson commented on AXIOM-485:
------------------------------
SUCCESS: Integrated in Jenkins build axiom-trunk #2778 (See [https://builds.apache.org/job/axiom-trunk/2778/])
Add a regression test for AXIOM-485 (which affects the 1.2 branch, but not the trunk). (veithen: rev 1758113)
* (edit) axiom/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/OMTestSuiteBuilder.java
* (add) axiom/testing/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetXMLStreamReaderWithPreserveNamespaceContext2.java
* (add) axiom/testing/axiom-testsuite/src/main/resources/org/apache/axiom/ts/om/element/AXIOM-485.xml
> Pull parser loops infinitely attempting to count namespaces for document with redundant namespaces
> --------------------------------------------------------------------------------------------------
>
> Key: AXIOM-485
> URL: https://issues.apache.org/jira/browse/AXIOM-485
> Project: Axiom
> Issue Type: Bug
> Components: LLOM
> Affects Versions: 1.2.19
> Environment: openjdk version "1.8.0_91"
> OpenJDK Runtime Environment (build 1.8.0_91-b14)
> OpenJDK Server VM (build 25.91-b14, mixed mode)
> running on Fedora release 22 (Twenty Two)
> Reporter: Sergey Kuznetsov
> Priority: Minor
> Labels: parser
>
> Method ??org.apache.axiom.om.impl.common.serializer.pull.Navigator#loadNamespaces?? getting stuck in while-true loop when document has multiple redundant namespace declarations like this one
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:m="ns://example">
> <soapenv:Header/>
> <soapenv:Body>
> <m:exampleRequest xmlns:m="ns://example">
> <id>1</id>
> </m:exampleRequest>
> </soapenv:Body>
> </soapenv:Envelope>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org