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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to