[ http://issues.apache.org/jira/browse/XALANJ-1867?page=all ]

Brian Minchau updated XALANJ-1867:
----------------------------------

    Description: 
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.

  was:
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.

    Environment: 
Operating System: Windows XP
Platform: PC

  was:
Operating System: Windows XP
Platform: PC

     Xalan info: [PatchAvailable]
    Bugzilla Id:   (was: 28760)

> XSLTC: xhtml output method is not supported, nor does XHTML doctype sniffing 
> work
> ---------------------------------------------------------------------------------
>
>          Key: XALANJ-1867
>          URL: http://issues.apache.org/jira/browse/XALANJ-1867
>      Project: XalanJ2
>         Type: Bug
>   Components: XSLTC
>     Versions: 2.5Dx
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Daniel Neades
>     Assignee: Brian Minchau
>  Attachments: bugzilla.28760.patch.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to