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=11362>. 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=11362 Xerces breaks "Schema Component Constraint: Element Declarations Consistent" Summary: Xerces breaks "Schema Component Constraint: Element Declarations Consistent" Product: Xerces2-J Version: 2.0.2 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The following schema breaks the constraint given at http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cos-element-consistent. It is validated as OK by xerces. (A validating instance is also given) strange.xsd <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://localhost/strange" elementFormDefault="qualified"> <element name="A"> <complexType> <sequence> <element name="A" type="string"/> <element name="A" type="date"/> </sequence> </complexType> </element> </schema> strange.xml <?xml version="1.0" encoding="UTF-8"?> <!-- strange.xml --> <A xmlns="http://localhost/strange" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://localhost/strange strange.xsd"> <A>blah</A> <A>2001-11-01</A> </A> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
