RE: [xsl] CR parsing issue

Subject: RE: [xsl] CR parsing issue
From: Jarno.Elovirta@xxxxxxxxx
Date: Fri, 28 Nov 2003 07:28:56 +0200
Hi,

> Here is an XML:
> 
> <node>Hi&#13;there</node>
> 
> And an XSL:
> 
> <xsl:stylesheet ....>
>   <xsl:template match="/">
>     <xsl:value-of select="contains(node,'&#13;')"/>
>   </xsl:template>
> </xsl:stylesheet>
> 
> in XMLSPY it answers true.
> 
> but using struts 1.1, Resin 2.1.10, j2sdk1.4.2, it answers false...
> 
> Could anyone tell me why?

See <http://www.w3.org/TR/REC-xml.html#sec-line-ends>. Thus, match for LINE FEED.

Cheers,

Jarno - VNV Nation: Outrunner

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread