Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-485

Pull parser loops infinitely attempting to count namespaces for document with redundant namespaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.19
    • 1.2.20
    • LLOM
    • None
    • 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)

    Description

      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

      <?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>
      

      Attachments

        Activity

          People

            veithen Andreas Veithen
            svkuznets Sergey Kuznetsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: