This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re: xpath2 functions returning ()


> A string is a list (sequence) of characters. The empty string
> is an empty such
> sequence. It is "no character" but it is still a string
> (sequence) -- the empty
> string (sequence).

If you modeled a string as a sequence of characters, then to have a sequence
of strings you would need to allow sequences of sequences; and then you
would need to distinguish between an empty sequence and a sequence whose
only member was an empty sequence. You can't get rid of the problem that
easily!

Mike Kay


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]