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=18729>. 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=18729 Colon in attributes of type ID, IDREF(S), ENTITY(IES), or NOTATION Summary: Colon in attributes of type ID, IDREF(S), ENTITY(IES), or NOTATION Product: Xerces2-J Version: 2.3.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] According to section 7 of Namespaces in XML 1.1, "Conformance of Documents": "No attributes with a declared type of ID, IDREF(S), ENTITY(IES), or NOTATION (can) contain any colons." Xerces-J doesn't seem to do a check for this. The following XML documents go undetected: ======================= Example 1 ======================= <?xml version='1.1'?> <!DOCTYPE root [ <!ELEMENT root EMPTY> <!ATTLIST root att1 ID #REQUIRED> ]> <root att1="cd:aa"/> <!-- Attribute is of type 'ID' and it contains a colon. --> ======================= Example 2 ======================= <?xml version='1.1'?> <!DOCTYPE root [ <!ELEMENT root EMPTY> <!ATTLIST root att1 IDREF #REQUIRED> ]> <root att1="cd:aa"/> <!-- Attribute is of type 'IDREF' and it contains a colon. --> ======================= Example 3 ======================= <?xml version='1.1'?> <!DOCTYPE root [ <!ELEMENT root EMPTY> <!ATTLIST root att1 ENTITY #REQUIRED> ]> <root att1="cd:aa"/> <!-- Attribute is of type 'ENTITY' and it contains a colon. --> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
