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

The systemId returned by a resolver is not used by the ValidatorHandler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
      None

      Description

      When the source is a SAXSource, the systemId returned by a custom resolver is not used by the ValidatorHandler.

      The following code demonstrate the issue:

      Validator validator = schema.newValidator();
      validator.setResourceResolver(resolver);

      Where the resolver returns a LSInput instance, e.g. new LSInputImpl(null, systemId, null). The systemId then is not used by the Validator.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joehw Joe Wang
                Reporter:
                joehw Joe Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: