[
https://issues.apache.org/jira/browse/XERCESC-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Cantor resolved XERCESC-2093.
-----------------------------------
Resolution: Not A Bug
An empty element in a schema does not mean an empty content model, but an open
model, so the parser you're using has a bug, not Xerces.
The way to define empty is generally with an empty sequence.
> Xerces validator does not recognised an error.
> ----------------------------------------------
>
> Key: XERCESC-2093
> URL: https://issues.apache.org/jira/browse/XERCESC-2093
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (XML Schema)
> Affects Versions: 3.1.4
> Environment: Windows
> Reporter: couturier
> Attachments: Thermal_Management_In_A_Car.emf, XMX.xsd
>
>
> Hello,
> I notice following issue:
> Xerces validator accepts any element within <Smoothing> element, whereas
> <Smoothing> is defined as an empty element. (example attached)
> Liquid Studio validator detects an error.
> KR
> Gael.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]