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=6878>. 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=6878 XHTML Serializer doctype should be html instead of HTML Summary: XHTML Serializer doctype should be html instead of HTML Product: Xerces2-J Version: 2.0.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Serialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] XHTML and HTML Serializers specify doctype as "HTML", while in xhtml "HTML" is not valid: <ref uri="http://www.w3.org/TR/xhtml1/#diffs"> XHTML documents must use lower case for all HTML element and attribute names. This difference is necessary because XML is case-sensitive e.g. <li> and <LI> are different tags. </ref> Taken from http://cvs.apache.org/viewcvs.cgi/xml- xerces/java/src/org/apache/xml/serialize/HTMLSerializer.java?annotate=1.18 : 669 if ( _docTypePublicId != null && ( ! _xhtml || _docTypeSystemId != null ) ) { 670 _printer.printText( "<!DOCTYPE HTML PUBLIC " ); 671 printDoctypeURL( _docTypePublicId ); 672 if ( _docTypeSystemId != null ) { 673 if ( _indenting ) { 674 _printer.breakLine(); 675 _printer.printText ( " " ); 676 } else 677 arkin 1.11 _printer.printText( ' ' ); 678 arkin 1.13 printDoctypeURL( _docTypeSystemId ); 679 } 680 _printer.printText( '>' ); 681 _printer.breakLine(); 682 } else if ( _docTypeSystemId != null ) { 683 _printer.printText( "<!DOCTYPE HTML SYSTEM " ); 684 arkin 1.10 printDoctypeURL( _docTypeSystemId ); This is a reference to where the problem came out: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101532669713331&w=2 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
