You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/09/15 21:06:09 UTC
[jira] [Commented] (XMLSCHEMA-5) xs:selector and xs:field are not
supported
[ https://issues.apache.org/jira/browse/XMLSCHEMA-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105608#comment-13105608 ]
Hudson commented on XMLSCHEMA-5:
--------------------------------
Integrated in xmlschema-trunk-jdk15 #16 (See [https://builds.apache.org/job/xmlschema-trunk-jdk15/16/])
[XMLSCHEMA-5] Add a testcase for this.
dkulp :
Files :
* /webservices/xmlschema/trunk/xmlschema-core/src/test/java/tests/ConstraintsTest.java
* /webservices/xmlschema/trunk/xmlschema-core/src/test/resources/constraints.xsd
> 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-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org