This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Text normalization problem.
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Text normalization problem.
- From: "Nestel, Frank" <frank dot nestel at coi dot de>
- Date: Mon, 19 Feb 2001 11:56:46 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi there,
I have a problem understanding text nodes in Stylesheet processing:
In the situation
<ELEMENT>
t1
t2
</ELEMENT>
I expected the XPATH expressions
ELEMENT/text()
and
ELEMENT
both to select "t1\nt2", since I thought in the XSL context text is
supposed to be normalized. Actually in my test cases with Xalan the
first XPATH selects "t1" instead. What is right? Is this a known
Xerces bug, am I supposed to switch on parser normalization explicitely?
Thanks,
Frank
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list