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=17384>. 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=17384 XMLSchema validator allows mixed content in complex type definitions Summary: XMLSchema validator allows mixed content in complex type definitions Product: Xerces-C++ Version: 2.2.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] According to the Appendix A of the spec, a complex type definition does not allow, by default, mixed content ... <xs:complexType name="complexType" abstract="true"> <xs:complexContent> <xs:extension base="xs:annotated"> <xs:group ref="xs:complexTypeModel"/> ... <xs:attribute name="mixed" type="xs:boolean" use="optional" default="false"> ... </xs:complexType> And only appinfo, documentation and anyType are marked as allowing mixed content. Given this, I think that Xerces is wrong when it doesn't signal an error validating the attached files. Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
