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

Only the first xsd:key and xsd:keyref elements are added to the schema structure when persing a schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • XmlSchema 1.4.6
    • 2.0.2
    • None

    Description

      When multiple xsd:key and xsd:keyref elements are added for a single xsd:element, only the first are added to the schema structure. The problem is solved by replacing calls to XDOMUtil.getNextSiblingElement by XDOMUtil.getNextSiblingElementNS at lines 1432 and 1446 in class SchemaBuilder.

      Attachments

        1. XMLSCHEMA-7.patch
          21 kB
          Marc Giger

        Activity

          People

            dkulp Daniel Kulp
            riverbed Steve Potter
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: