Hi, Could you please point me the source code location of the XMLSCHEMA 2.1 development is going on ?
Regards, Malintha Adikari On Wed, Sep 17, 2014 at 5:42 PM, Malintha Adikari (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/XMLSCHEMA-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137616#comment-14137616 > ] > > Malintha Adikari commented on XMLSCHEMA-31: > ------------------------------------------- > > Noted. Will check for 2.1 and create patch for 2.1 > > > "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.3.4#6332) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- *Malintha Adikari* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile: +94 71 2312958 Blog: http://malinthas.blogspot.com Page: http://about.me/malintha
