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=7417>. 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=7417 Schemas can not be validated against the W3C specification Summary: Schemas can not be validated against the W3C specification Product: Xerces-C++ Version: 1.7.0 Platform: Other OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Validating Parser (Schema) (Xerces 1.5 or up only) AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It should be possible to validate any schema against the w3c specifications. Therefore w3c provides a schema-collection to validate own schemas. So using http://www.w3.org/2001/XMLSchema.xsd as the Schema for the Schema-namespace should validate own schemas. So writing a simple programm like test.xsd: <?xml version="1.0"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace = "mynamespace" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema.xsd" > <annotations> </annotations> </schema> should cause as only error that "annotations" is not part of the schema namespace. Eventually there should be some warnings about double defined attibutes (because w3c do so) but nothing else. If the checking is done using xerces ("sax2count test.xsd") you will see something around 120 errors, depending on the version. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
