[
https://issues.apache.org/jira/browse/XERCESJ-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mukul Gandhi resolved XERCESJ-1673.
-----------------------------------
Resolution: Invalid
Assignee: Mukul Gandhi
This isn't a bug. Apologies for my misunderstanding.
In the example I've attached, making this change (and correct) have the sample
works correctly:
<xs:element name="X">
<xs:alternative type="Type1" test="@xa = 1"/>
<xs:alternative type="Type2" test="@xa = 2"/>
<xs:alternative type="xs:error"/>
</xs:element>
> CTA doesn't work correctly
> --------------------------
>
> Key: XERCESJ-1673
> URL: https://issues.apache.org/jira/browse/XERCESJ-1673
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.1 Structures
> Affects Versions: 2.11.0
> Reporter: Mukul Gandhi
> Assignee: Mukul Gandhi
> Attachments: x1.xml, x1.xsd
>
>
> I'm attaching two files (an XSD and XML). I think, the XSD file should
> compile successfully and the validation should fail (due to the instance XML
> document given). But it isn't doing so.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]