Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1366

Honor xml:base for XML Schema Processing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.9.1
    • None
    • None
    • all

    Description

      Currently xml:base is used when doing XInclude processing but not when processing XML Schema files (for @schemaLocation or xsd:include/xsd:import). The XML Schema specs don't mention xml:base (it wasn't ready at that time), so using xml:base for schemas does not seem to be strictly necessary for a processor.
      Still, honoring xml:base for XInclude but not for Schemas creates the problem that the same relative path resolves to two different paths for XInclude and XML Schema (which might be used within the same document). This is at least confusing for the reader of a XML file.

      My proposal would be to have a config option to honor xml:base for schema processing but leave the default behavior as is in order to maintain backward compatibility.

      Attachments

        Activity

          People

            Unassigned Unassigned
            imphil Philipp Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: