[XSL-LIST Mailing List Archive Home]
Re: [xsl] copy-of operation removes spaces at random
Subject: Re: [xsl] copy-of operation removes spaces at random|
From: Michael Webster <mwebster@xxxxxxxxxxxxxxx>
Date: Thu, 16 Dec 2004 16:40:03 -0800
I find that this is not random as it looked at first.
When I use an XML document that has all elements in the problem section
exactly the same size, the same spaces are removed every 15 elements.
I had a suspicion that Xalan was coughing on copying large numbers of
elements, so I tried to break the copy-of operation into smaller bits.
This resulted in spaces being removed every 111 elements instead of
Michael Webster wrote:
I'm looking at an XSL that copies an XML document and puts in parts as
needed to update the XML from an old version to a new version.
For some reason, in seemingly random locations, spaces between words
<definition>Human creatine kinase M mRNA, complete cds.</definition>
<definition>Human creatine kinase M mRNA,complete cds.</definition>
<definition>Hs#S1726344 Homo sapiens basonuclin (BNC), mRNA</definition>
<definition>Hs#S1726344Homo sapiens basonuclin (BNC), mRNA</definition>
The XSL that is doing this operation is simply:
I was wondering if anyone else has run into this sort of thing?