You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2007/09/06 09:28:32 UTC
[jira] Updated: (XERCESC-1745) Inheritance by restriction does not
detect a missing type from an imported schema
[ https://issues.apache.org/jira/browse/XERCESC-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov updated XERCESC-1745:
-------------------------------------
Attachment: b.xml
b.xsd
a.xsd
The test case.
> Inheritance by restriction does not detect a missing type from an imported schema
> ---------------------------------------------------------------------------------
>
> Key: XERCESC-1745
> URL: https://issues.apache.org/jira/browse/XERCESC-1745
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Affects Versions: 2.7.0
> Environment: any
> Reporter: Boris Kolpackov
> Priority: Blocker
> Attachments: a.xsd, b.xml, b.xsd
>
>
> If you run the attached XML (with two schemas) throught DOMCount with validation enabled, you will get no errors even thought the B type in b.xsd inherits from a:A which does not exist. See comments in b.xsd for various interesting ways to change the schema in order to get different behavior.
> This problem is present in both 2.7.0 and 2.8.0 and probably in the trunk.
--
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org