[ 
https://issues.apache.org/jira/browse/WSCOMMONS-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Ilyin updated WSCOMMONS-439:
--------------------------------------

    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.


        Summary: xs:selector and xs:field are not supported  (was: xs:selector 
and xs:field doesn't supported)

> xs:selector and xs:field are not supported
> ------------------------------------------
>
>                 Key: WSCOMMONS-439
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-439
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: XmlSchema
>    Affects Versions: XmlSchema 1.4.2
>            Reporter: Alexander Ilyin
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to