- From: James Clark <jjc@jclark.com>
- Date: Wed, 07 Jul 1999 19:58:03 +0700
- To: Kay Michael <Michael.Kay@icl.com>
- CC: "'xsl-editors@w3.org'" <xsl-editors@w3.org>
Kay Michael wrote: > > The spec for boolean(), number(), and string() says in each case: "if the > argument is omitted, it defaults to the current node". > > It isn't clear whether the intended default is "the value of the current > node" or "a node set containing the current node as its only member". The second. I'll clarify this. > for > boolean(), the first interpretation returns true iff the current node is > non-empty, while the second returns true if the current node exists (which > is always?). It would indeed be always true, which means the default is silly, so it's been removed. (The value for the default is always a node-set with the context node as its only member, converted to the appropriate argument type if necessary.) James
Received on Wednesday, 7 July 1999 09:01:12 UTC