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

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

XMLWordPrintable

    • b01
    • generic
    • generic
    • Verified

        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)

              joehw Joe Wang
              tviessma Thomas Viessmann (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: