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

XSLTC: xhtml output method is not supported, nor does XHTML doctype sniffing work

           Summary: XSLTC: xhtml output method is not supported, nor does
                    XHTML doctype sniffing work
           Product: XalanJ2
           Version: 2.5Dx
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In Xalan 2.6.0, xhtml is allowed as an output method by the interpretive
processor. However, it is not allowed by XSLTC. It would be helpful if the two
processors supported the same set of output methods.

Also, whilst the interpretive processor supports doctype sniffing for XHTML, as
implemented in org.apache.xml.serializer.ToStream.java at line 502:

    if (doctypePublic.startsWith("-//W3C//DTD XHTML"))
        m_spaceBeforeClose = true;

the XSLTC processor doesn't seem to support this way of turning on XHTML
friendly output (with spaces before the close of empty elements, such as "<br \>").

Given the combination of these two problems, there seems to be no way to use
XSLTC to generate XHTML output that will work across a wide range of web browsers.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to