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

System identifier in publicid namespace is incorrectly unwrapped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • xml
    • 9

      This is the catalog file:
      <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" xml:base="http://local/base/dtd/">
          <public publicId="-//Acme, Inc.//DTD Book Version 1.0" uri="book.dtd"/>
          <system systemId="-//Acme, Inc.//DTD Book Version 1.0" uri="error"/>
      </catalog>

      No match is found for system id "urn:publicid:-:Acme,+Inc.:DTD+Book+Version+1.0" and hence CatalogResolver.resolveEntity() returns a null InputSource instance.

        1. index_ResolveTests.jtr
          11 kB
          Prabushankar Chinnasamy
        2. index_ResolveEntityTests.jtr
          6 kB
          Prabushankar Chinnasamy

            joehw Joe Wang
            pchinnasamy Prabushankar Chinnasamy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: