[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wss4j-dev
Subject:    [jira] [Commented] (XMLSCHEMA-31) "AttributeGroup" and "enumeration" elements are reordered in Simpl
From:       "Malintha Adikari (JIRA)" <jira () apache ! org>
Date:       2014-03-13 4:45:42
Message-ID: JIRA.12700675.1394535615124.57346.1394685942776 () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLSCHEMA-31?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932866#comment-13932866 ] \


Malintha Adikari commented on XMLSCHEMA-31:
-------------------------------------------

Hi,

I have attached the patch to fix this issue. I have not assigned the jira to any \
member. Could you please review and commit that patch ?

Thanks,
Malintha Adikari

> "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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic