You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2006/03/10 07:13:41 UTC

[jira] Resolved: (XALANJ-1497) xsl:copy adds a newline to processing instructions

     [ http://issues.apache.org/jira/browse/XALANJ-1497?page=all ]
     
Brian Minchau resolved XALANJ-1497:
-----------------------------------

    Fix Version: Latest Development Code
     Resolution: Fixed

Fixed. The patch was applied to the latest development code.

> xsl:copy adds a newline to processing instructions
> --------------------------------------------------
>
>          Key: XALANJ-1497
>          URL: http://issues.apache.org/jira/browse/XALANJ-1497
>      Project: XalanJ2
>         Type: Bug
>   Components: transformation, Xalan-interpretive
>     Versions: 2.5
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: dcaveney
>     Assignee: Brian Minchau
>      Fix For: Latest Development Code
>  Attachments: d19306.xml, d19306.xsl, patch.txt, xalanj-1497.out, xalanj-1497.xsl
>
> <xsl:copy> produces a node AND a linefeed for processing-instruction nodes in 
> the "root" of the document.
> Example:
> The following template faithfully reproduces an XML document:
> <xsl:template match="node() | @*">
> <xsl:copy>
> <xsl:apply-templates select="node() | @*"/>
> </xsl:copy>
> </xsl:template>
> ...EXCEPT when the document contains processing instruction nodes in the
> "root" (ie. before the "document" element). There doesn't seem to be a problem
> for nodes that are descendants of the "document" element.

-- 
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