[ https://issues.apache.org/jira/browse/XMLSCHEMA-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved XMLSCHEMA-5. --------------------------------- Resolution: Fixed Fix Version/s: XmlSchema 2.0.1 Assignee: Daniel Kulp Added a testcase and it works with XmlSchema 2 > xs:selector and xs:field are not supported > ------------------------------------------ > > Key: XMLSCHEMA-5 > URL: https://issues.apache.org/jira/browse/XMLSCHEMA-5 > Project: XmlSchema > Issue Type: Bug > Affects Versions: XmlSchema 1.4.2, XmlSchema 1.4.6 > Reporter: Alexander Ilyin > Assignee: Daniel Kulp > Fix For: XmlSchema 2.0.1 > > > 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org For additional commands, e-mail: dev-h...@ws.apache.org