Sergey Kuznetsov created AXIOM-485:
--------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]