[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] serialized form of XML using xslt 1.0


Subject: Re: [xsl] serialized form of XML using xslt 1.0
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Fri, 7 Dec 2012 15:39:48 +0000

On 7 December 2012 15:31, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>
>> <foo>
>>    <bar/>
>>    <bar xmlns=''/>
>> </foo>
>>
>> with
>>
>> <xsl:template match="bar">
>>    <xsl:value-of select="boolean(namespace::*[name() = '']"/>
>>
>> Saxon 6.5.5 returns true true
>>
>> Xalan returns false true
>
>
> I would have expected false false. But it's Friday afternoon.

....and the day after the christmas party :-(  my head hurts.

You are right - false false for Saxon, false true for Xalan.

Any thoughts on a Xalan alternative approach?



-- 
Andrew Welch
http://andrewjwelch.com


Current Thread