cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30142] - HTML serializer puts no space between public and system doctype
Date Wed, 21 Jul 2004 17:39:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30142>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30142

HTML serializer puts no space between public and system doctype





------- Additional Comments From bruno@outerthought.org  2004-07-21 17:39 -------
I've attached a patch, the problem was pretty trivial, here's what's actually
changed:

-                        writer.write('"');
+                        writer.write(" \"");

Since we use the xalan serializers as SAX serializers in Cocoon, this bug causes
all HTML pages generated by Cocoon to have problematic doctypes, which can cause
trouble getting browsers into the right mode (or so I'm told). So we'd
appreciate it if someone could have a look at this.

Mime
View raw message