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=3658>. 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=3658 Summary: Failure to normalize attributes defined as CDATA Product: Xerces-J Version: 1.4.3 Platform: All OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Xerces appears to fail to remove leading and trailing whitespaces for attribute values which are defined as CDATA in DTDs. For example, given the following XML (with DTD embedded), <?xml version="1.0"?> <!DOCTYPE A [ <!ELEMENT A (B*) > <!ELEMENT B (#PCDATA) > <!ATTLIST B attB1 CDATA #REQUIRED > ]> <A> <B attB1=" A B C "/> </A> The value of attB1 is returned as " A B C " as intact, however, it really should have returned "A B C" if attribute normalization is correctly applied as clearly stated in XML 1.0 second edition. -Takuki Kamiya --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
