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

Catalog.matchSystem() appends an extra '/' to the matched result

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: xml
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b102

      Description

      With the following entry in the catalog file:
      {code}
      <rewriteSystem systemIdStartString="http://remote.com/dtd"
                         rewritePrefix="file:///share/docbook/docbook/pass"/>
      {code}, match for system id "http://remote.com/dtd/book.dtd" returns "file:/share/docbook/docbook/pass//book.dtd". Notice the extra '/' before book.dtd.

        Attachments

          Activity

            People

            • Assignee:
              joehw Joe Wang
              Reporter:
              pchinnasamy Prabushankar Chinnasamy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: