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 bu...@apache.org on 2003/08/27 17:22:17 UTC
DO NOT REPLY [Bug 22760] New: -
Invalid schema is reported to be valid
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22760>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22760
Invalid schema is reported to be valid
Summary: Invalid schema is reported to be valid
Product: Xerces-C++
Version: 2.3.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Validating Parser (Schema) (Xerces 1.5 or up only)
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: alby@exceloncorp.com
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
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org