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=18728>. 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=18728 Entity names, PI targets, or notation names contain colon. Summary: Entity names, PI targets, or notation names contain colon. 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 entity names, PI targets, or notation can contain the colon character. 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> <!NOTATION nota:tion SYSTEM "program.exe"> ]> <root/> <!-- Notation name contains a colon --> ==================== Example 2 ==================== <?xml version='1.1'?> <?tar:get data?> <root/> <!-- PI Target contains a colon --> ==================== Example 3 ==================== <?xml version='1.1'?> <!DOCTYPE root [ <!ELEMENT root (#PCDATA)> <!ENTITY ent:ity "data"> ]> <root> &ent:ity; </root> <!-- Entity name contains a colon --> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
