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 every 15.


Michael Webster CombiMatrix Corporation Software Department (425) 493-2266



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 are removed:

<definition>Human creatine kinase M mRNA, complete cds.</definition>

becomes

<definition>Human creatine kinase M mRNA,complete cds.</definition>

or

<definition>Hs#S1726344 Homo sapiens basonuclin (BNC), mRNA</definition>

becomes

<definition>Hs#S1726344Homo sapiens basonuclin (BNC), mRNA</definition>


The XSL that is doing this operation is simply:


<xsl:copy-of select="pd:oligoList"/>


I was wondering if anyone else has run into this sort of thing?

Current Thread