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

xs:selector and xs:field are not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • XmlSchema 1.4.2, XmlSchema 1.4.6
    • XmlSchema 2.0.1
    • None

    Description

      Schema with following definition is not working properly:

      <xs:element name="DECLARBODY" type="DBody" minOccurs="1" maxOccurs="1">
      <xs:unique name="UT1RXXXXG1S"><xs:selector xpath="T1RXXXXG1S"/><xs:field xpath="@ROWNUM"/></xs:unique>
      <xs:unique name="UT1RXXXXG2S"><xs:selector xpath="T1RXXXXG2S"/><xs:field xpath="@ROWNUM"/></xs:unique>
      <xs:unique name="UT3RXXXXG1S"><xs:selector xpath="T3RXXXXG1S"/><xs:field xpath="@ROWNUM"/></xs:unique>
      <xs:unique name="UT3RXXXXG2D"><xs:selector xpath="T3RXXXXG2D"/><xs:field xpath="@ROWNUM"/></xs:unique>
      <xs:unique name="UT3RXXXXG3S"><xs:selector xpath="T3RXXXXG3S"/><xs:field xpath="@ROWNUM"/></xs:unique>
      </xs:element>

      It is read OK. But when you try to print it out you can see only one restriction:
      <xs:element name="DECLARBODY" type="DBody">
      <xs:unique name="UT1RXXXXG1S">
      <xs:selector xpath="T1RXXXXG1S"/>
      <xs:field xpath="@ROWNUM"/>
      </xs:unique>
      </xs:element>

      Looks like XmlSchema doesn't support xs:selector and xs:field at all.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            a_ilyin@yahoo.com Alexander Ilyin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: