Re: Null Attributes Break xsl:key?

Subject: Re: Null Attributes Break xsl:key?
From: Myriam_Midy@xxxxxxxxx
Date: Tue, 6 Jun 2000 09:56:07 -0400
Hi,
I think you may be right. We will look into that. In the meantime, you may
want to create a bug for this in bugzilla (if it lets you...)
Thanks,
Myriam




owner-xsl-list@xxxxxxxxxxxxxxxx on 06/06/2000 08:09:46 AM

Please respond to xsl-list@xxxxxxxxxxxxxxxx

To:   Bill Entwistle <ent@xxxxxxxxx>
cc:   XSL-List@xxxxxxxxxxxxxxxx (bcc: Myriam Midy/CAM/Lotus)
Subject:  Re: Null Attributes Break xsl:key?

Bill,

>Is a null attribute legal?  As in, for example:
>
>          <some-element some-attribute=""/>
>
>If so, then the following looks like a Xalan bug.  I would love
>to find out otherwise, or be given a workaround for the problem.

A null attribute is legal, and having tested your XML & XSL in SAXON, it
handles it absolutely fine, so it does look like a Xalan bug.

You could try:

  <xsl:copy-of select="/group/person[id[@code='1672']]" />

instead for now.

Cheers,

Jeni


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread