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

Michael Glavassevich updated XERCESJ-1242:
------------------------------------------

    Fix Version/s: 2.9.1

> Error reported for a valid element substitution
> -----------------------------------------------
>
>                 Key: XERCESJ-1242
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1242
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema Structures
>    Affects Versions: 2.9.0
>            Reporter: Michael Glavassevich
>            Assignee: Michael Glavassevich
>            Priority: Minor
>             Fix For: 2.9.1
>
>
> If the type of an element "a" is a union and another element "b" specifies 
> "a" as its substitution group affiliation and its type is or is derived from 
> one of the member types of the union, Xerces will report an error if an 
> instance attempts to substitute "b" for "a".
> <xs:element name="a" type="myUnion"/>
> <xs:element name="b" substitutionGroup="a" type="xs:double"/>
> <xs:simpleType name="myUnion">
>  <xs:union memberTypes="xs:double xs:dateTime"/>
> </xs:simpleType>
> This bug is causing one test in the W3C XML Schema 1.0 2nd Edition test suite 
> to fail:
> msData/particles/particlesZ012.xml
> msData/particles/particlesZ012.xsd

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to