[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Unicode and XSL (was substring())

Subject: RE: Unicode and XSL (was substring())
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 8 Jun 1999 11:24:26 +0100
unicode 8482 in xsl
 
Mike Kay:
> > (The current definition [of translate()], of course, is hopelessly
> > informal).
>
James Clark: 
> It is informal, but I hope it is clear.  Strings are defined as
> sequences of UCS characters (ie character means the same as it does in
> XML).  Apart from the issue of what happens if the second and third
> arguments are of unequal lengths, it seems well defined to 
> me.  If there are other cases where the intended behaviour is not clear, 
> please report them to the XSL editors list.
> 
The conditions where behaviour is not obvious are:
- where arg2 and arg3 are unequal in length
- where the same character appears more than once in arg2

The areas where behaviour is not clearly specified, but fairly intuitive,
include:
- a definition of "corresponding" (a formal definition depends, I think, on
being able to enumerate the characters in a string, something that XSLT has
avoided doing)
- a reference to the rules for equality matching between characters (which
is defined elsewhere in XSLT, if not entirely satisfactorily).

Mike


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.