DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9453>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9453 normalize-space() removes too much space Summary: normalize-space() removes too much space Product: XalanJ2 Version: 2.3Dx Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am using xslt to transform XML to plain text, and so white-space formatting it important. I have lots of XML of the form: <tag> abcd <tag> a b c d </tag> </tag> which I transform using XSLT of the form: <xsl:template match="tag/text()"> <xsl:value-of select="normalize-space(.)" /> </xsl:template> I expect output of the form: abcd a b c d However in around 1-in-10 instances, characters which were previously separated by a space become concatenated, e.g.: abcd a bc d This does not occur when carrying out the same transformation using Saxon. I am sorry I cannot provide a concrete example. The bug only appears in a sizeable chunk of code, and the examples I have are commercially sensitive. Xalan version 2.3.1
