You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/03/12 18:50:54 UTC
[jira] [Moved] (XMLSCHEMA-31) "AttributeGroup" and "enumeration"
elements are reordered in SimpleContent Restriction
[ https://issues.apache.org/jira/browse/XMLSCHEMA-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp moved WSCOMMONS-585 to XMLSCHEMA-31:
------------------------------------------------
Component/s: (was: XmlSchema)
Fix Version/s: (was: XmlSchema 1.4.7)
XmlSchema 1.4.7
Key: XMLSCHEMA-31 (was: WSCOMMONS-585)
Project: XmlSchema (was: WS-Commons)
> "AttributeGroup" and "enumeration" elements are reordered in SimpleContent Restriction
> --------------------------------------------------------------------------------------
>
> Key: XMLSCHEMA-31
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-31
> Project: XmlSchema
> Issue Type: Bug
> Reporter: Malintha Adikari
> Priority: Minor
> Fix For: XmlSchema 1.4.7
>
> Attachments: WSCOMMONS-585.patch
>
>
> When we build XSD using XmlSchema 1.4.7 , it reorder "attributeGroup" element and "enemuration" in SimpleContentRestriction. This re-ordering causes error as the correct order of those two elements is essential in "Restriction".
> Original XSD:
> <complexType>
> <simpleContent>
> <restriction base="string">
> <enumeration value="Temporary"><annotation/></enumeration><enumeration value="IntendToReside"><annotation/></enumeration><attributeGroup ref="myAttributeGroup"/>
> </restriction>
> </simpleContent>
> </complexType>
> Build XSD (Re-ordered)
> <complexType>
> <simpleContent>
> <restriction base="string">
> <attributeGroup ref="myAttributeGroup"/>
> <enumeration value="Temporary"><annotation/></enumeration><enumeration value="IntendToReside"><annotation/></enumeration>
> </restriction>
> </simpleContent>
> </complexType>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org