Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8000735

DocumentBuilder.parse(String uri) is not IPv6 enabled. It throws MalformedURLException

    Details

    • Type: Backport
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6u32
    • Fix Version/s: 6u37
    • Component/s: xml

      Description

      javax.xml.parsers.DocumentBuilder.parse() is not IPv6 enabled.
      It throws a java.net.MalformedURLException: For input string: ":la03:73ff:fead:f7b0%5D"
              at java.net.URL.<init>(URL.java:601)
              at java.net.URL.<init>(URL.java:464)
              at java.net.URL.<init>(URL.java:413)
              at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:650)
              at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
              at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
              at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
              at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robm Robert Mckenna
                Reporter:
                tviessma Thomas Viessmann (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: