XmlSchema
  1. XmlSchema
  2. XMLSCHEMA-1

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

        Activity

        Daniel Kulp made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Daniel Kulp [ dkulp ]
        Fix Version/s XmlSchema 2.0 [ 12315503 ]
        Resolution Fixed [ 1 ]
        Benson Margulies made changes -
        Field Original Value New Value
        Project WS-Commons [ 12310250 ] XmlSchema [ 12311191 ]
        Key WSCOMMONS-311 XMLSCHEMA-1
        Affects Version/s XmlSchema 1.4.6 [ 12315501 ]
        Component/s XmlSchema [ 12310702 ]
        Michael Roberts created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development