[ 
http://issues.apache.org/jira/browse/XALANJ-656?page=comments#action_12375848 ] 

David Crossley commented on XALANJ-656:
---------------------------------------

Thanks Brian, from time-to-time i have reviewed your previous comments and 
tried to see how it can help Forrest. Then i needed to encourage our people to 
clarify FOR-492 (done now).

Yes we use Xalan-2.7.0 release currently (see above). The Forrest project has 
agreed in the past that it is quite fine for us to make own our package of 
supporting products at a known svn revision. Is that what you mean by "is 
development code change good enough"?

We want to avoid Xalan-specific properties so that our users can switch to 
Saxon.

We have pipelines of many separate xml transformations. Cocoon ignores 
xsl:output from transformer stylesheets.
Re: xsl:output
http://marc.theaimsgroup.com/?t=105940320700001

> <xsl:copy> introduces inappropriate line-end characters processing comments
> ---------------------------------------------------------------------------
>
>          Key: XALANJ-656
>          URL: http://issues.apache.org/jira/browse/XALANJ-656
>      Project: XalanJ2
>         Type: Bug

>   Components: Xalan
>     Versions: 2.2.0
>  Environment: Operating System: MacOS 9
> Platform: Macintosh
>     Reporter: Angus McIntyre
>     Assignee: Xalan Developers Mailing List
>     Priority: Minor

>
> I was trying to write a template that would correctly reproduce the script 
> body of a JavaScript (which is typically 'masked' by a comment). My initial 
> attempt was:
> <xsl:template match="script/comment()">
>       <xsl:copy/>
> </xsl:template>       
> which worked, except that the copied script contained newline (ASCII 10) 
> in place of the carriage-return (ASCII 13) characters in the original. Note 
> that this is on a Macintosh, where line-endings are terminated by CR 
> rather than LF; I suspect it wouldn't manifest as a problem on UN*X). My 
> guess is that in this case, <xsl:copy> is causing Xalan to simply write LF's 
> rather than the appropriate platform-specific line terminators.
> A workaround is to use:
> <xsl:template match="script/comment()">
>       <xsl:comment><xsl:value-of select="."/></xsl:comment>
> </xsl:template>

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