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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2005/07/25 23:40:19 UTC
[jira] Resolved: (XERCESC-990) Invalid schema is reported to be valid
[ http://issues.apache.org/jira/browse/XERCESC-990?page=all ]
Alberto Massari resolved XERCESC-990:
-------------------------------------
Resolution: Fixed
Assign To: (was: Xerces-C Developers Mailing List)
> Invalid schema is reported to be valid
> --------------------------------------
>
> Key: XERCESC-990
> URL: http://issues.apache.org/jira/browse/XERCESC-990
> Project: Xerces-C++
> Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Versions: 2.3.0
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: Alberto Massari
> Attachments: car.xml, car.xsd
>
> When validating the attached XML+XSD using "saxcount -n -f -s car.xml", no
> errors are reported. But the schema is invalid (also according to Xerces-J,
> MSXML, etc..) because it specifies elementFormDefault="qualified" but the
> element "car" is declared as
> <xsd:element name="car" type="Car"/>
> (note that the type "Car" should be prefixed by the namespace prefix "so" that
> is bound to the targetNamespace of the schema)
> Alberto
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org