You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Bertoni (JIRA)" <xa...@xml.apache.org> on 2005/05/19 01:02:52 UTC

[jira] Assigned: (XALANC-520) HTML empty/unclosed tags should be created even from non-empty input

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

David Bertoni reassigned XALANC-520:
------------------------------------

    Assign To: David Bertoni

> HTML empty/unclosed tags should be created even from non-empty input
> --------------------------------------------------------------------
>
>          Key: XALANC-520
>          URL: http://issues.apache.org/jira/browse/XALANC-520
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Reporter: David Marston
>     Assignee: David Bertoni

>
> We don't (yet) have a test case, but I observed that when the source document has:
> <a><BR>text INSIDE a br</BR></a>
> then an <xsl:copy-of select="a"/> should produce:
> <a><BR>text INSIDE a br</a>
> but XalanC drops the <BR> entirely, at least in the copy-of case. Suggested rules of thumb:
> 1. Self-closing <BR/> becomes <BR>, which we already do
> 2. Starting <BR> becomes <BR>
> 3. Ending </BR> becomes nothing, which we already do
> and of course, likewise for the other tags listed in part 16.2 of the XSLT 1.0 spec. Notice that rules 2 and 3 work whether or not there is content between the <BR> and </BR>.

-- 
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org