Uploaded image for project: 'XmlSchema'
  1. XmlSchema
  2. XMLSCHEMA-1

xs:redefine does not set baseUri correctly so relative paths do not work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: XmlSchema 1.4.6
    • Fix Version/s: XmlSchema 2.0
    • Labels:
      None

      Description

      The handleRedefine method in SchemaBuilder does not properly set the baseUri to the referencing schema. This means that schema components that could be found relative to referencing schema won't be found.

      SchemaBuilder already does this correctly in handleInclude and handleImport--the implementation should be copied to handleRedefine

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              ikemayobertsray Michael Roberts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: