Altova Mailing List Archives

Re: Empty elements

From: Nick Browne <NickBrowne@--------------->
Date: 9/21/2000 7:36:00 PM
My concern was caused by the differences in the results between two
processors. My initial reaction was that Saxon was right. Looking more
closely at the result there were differences between Oracle and Saxon for
nodes with id1, id02 and id04. ie.

Node    Saxon        Oracle
id0        empty         empty
id1        not empty   empty
id2        empty         not empty
id3        empty         empty
id4        not empty   empty

The question is : which is right ? I still go with Saxon.

Nick Browne

David Carlisle wrote:

> > <node id="id05"> <x> </x></node>
> > <node id="id06"> <x></x></node>
> >  Both of these show up as not empty using string().
> >  Again this feels about right.
> If you consider that they should be empty using string() then probably
> it means that you should have declared
> <xsl:strip-space elements="node x"/>
> David
>  XSL-List info and archive:

 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.