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=4393>. 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=4393 xs:QName should test namespace declarations. Summary: xs:QName should test namespace declarations. Product: Xerces-J Version: 1.4.3 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Schema-Datatypes AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A xs:QName should be invalid if the prefix doesn't match a namespace declaration and the example below should *not* validate: XML: <?xml version="1.0" encoding="UTF-8"?> <datatypes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="anytype.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <any xsi:type="xs:QName">foo:bar</any> </datatypes> XSD: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="datatypes"> <xs:complexType> <xs:sequence> <xs:element name="any" type="xs:anySimpleType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
