You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/10/23 02:32:52 UTC

DO NOT REPLY [Bug 24025] New: - Performance regression for HTML output with tabs in attributes

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=24025>.
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=24025

Performance regression for HTML output with tabs in attributes

           Summary: Performance regression for HTML output with tabs in
                    attributes
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.serialize
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: minchau@ca.ibm.com


This regression is due to the fix for bug 22623

The fix should be that a tab character in an attribute is not marked as special
in CharInfo for HTML.

The fix for 22623 marked a tab in any attribute as special. This meant that 
extra processing was done for it.  In the case of XML this is fine as a
character reference is put out, &#9; rather than a tab character.  But for HTML
a lot of extra girations were made, but ultimately, after much processing a tab
was written out by ToHTMLStream.writeAttrString(...).