Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
XmlSchema 1.4.2, XmlSchema 1.4.6
-
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.