xsl-list
[Top] [All Lists]

RE: [xsl] FW: XSLT 2.0 unit testing utility (Jeni Tennison's templates)

2006-03-21 05:12:43

Yes. But having said that, this isn't how I would check for an empty
sequence; I would use

test="empty($value)"

Partly just personal coding style; partly a horror of the type
empty-sequence(), which gets my brain in a twist because it has so many
supertypes, and I like to think in terms of types forming a hierarchy rather
than a lattice...

Michael Kay 

-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 
Sent: 21 March 2006 11:54
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] FW: XSLT 2.0 unit testing utility (Jeni 
Tennison's templates)


That's the thing about draft specifications; they change:-)

instance of void()"

They changed the name of the type associated with an empty 
sequence from
void()
to
empty-sequence()

http://www.w3.org/TR/xpath20/#id-log-050707  (item 7)

David

______________________________________________________________
__________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
______________________________________________________________
__________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>