You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Dzaebel, Marc" <Ma...@gft.com> on 2001/06/01 16:01:21 UTC
XPath: case insensitive?
while the W3C strives to find a solution, are there any efficient tricks in
Xalan to search insensitive or do I have to use translate(...)?
Thanks, Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: XPath: case insensitive?
Posted by Tom Bradford <br...@dbxmlgroup.com>.
Marc Dzaebel wrote:
> valuable comments, however, couldn't one adapt Code from Java's
> toLowerCase/toUpperCase, which is locale-dependant?
Sure, but that doesn't change the fact that the spec itself doesn't
provide facilities for case rolling. To provide it where the spec
doesn't define it will break compatibility.
--
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: XPath: case insensitive?
Posted by Marc Dzaebel <dz...@kdt.de>.
Hi Tom and Ari,
valuable comments, however, couldn't one adapt Code from Java's
toLowerCase/toUpperCase, which is locale-dependant?
Thanks, Marc
----- Original Message -----
From: K. Ari Krupnikov <ar...@cogsci.ed.ac.uk>
To: <xe...@xml.apache.org>
Sent: Friday, June 01, 2001 6:58 PM
Subject: Re: XPath: case insensitive?
> Tom Bradford wrote:
> >
> > "Dzaebel, Marc" wrote:
> > > while the W3C strives to find a solution, are there any efficient
tricks in
> > > Xalan to search insensitive or do I have to use translate(...)?
> >
> > Wrong list, but good question. That's something our users are
> > wondering, too. The problem with case sensitivity in the context of XML
> > is the issue of encodings. Case sensitivity only means something in a
> > minority of the world's languages.
>
> And within that minority, there are different views on case-floding. In
> some languages, both upper and lower case letters are accented, while in
> others, only lower-case ones are. So uppercase('ê') is locale-dependent.
>
> Ari.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: XPath: case insensitive?
Posted by "K. Ari Krupnikov" <ar...@cogsci.ed.ac.uk>.
Tom Bradford wrote:
>
> "Dzaebel, Marc" wrote:
> > while the W3C strives to find a solution, are there any efficient tricks in
> > Xalan to search insensitive or do I have to use translate(...)?
>
> Wrong list, but good question. That's something our users are
> wondering, too. The problem with case sensitivity in the context of XML
> is the issue of encodings. Case sensitivity only means something in a
> minority of the world's languages.
And within that minority, there are different views on case-floding. In
some languages, both upper and lower case letters are accented, while in
others, only lower-case ones are. So uppercase('ê') is locale-dependent.
Ari.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: XPath: case insensitive?
Posted by Tom Bradford <br...@dbxmlgroup.com>.
"Dzaebel, Marc" wrote:
> while the W3C strives to find a solution, are there any efficient tricks in
> Xalan to search insensitive or do I have to use translate(...)?
Wrong list, but good question. That's something our users are
wondering, too. The problem with case sensitivity in the context of XML
is the issue of encodings. Case sensitivity only means something in a
minority of the world's languages.
--
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org