Project

Profile

Help

case insensitive xsl:analyze-string?

Added by Anonymous almost 18 years ago

Legacy ID: #3926558 Legacy Poster: curry (matek994)

Hi, I'm having problems doing case insensitive regex matching using the 'i' flag and the fn:matches() function. Is this a known issue? Thanks, Mats


Replies (5)

Please register to reply

RE: case insensitive xsl:analyze-string? - Added by Anonymous almost 18 years ago

Legacy ID: #3926560 Legacy Poster: curry (matek994)

Sorry, the title should read: "case insensitive fn:matches()?" /Mats

RE: case insensitive xsl:analyze-string? - Added by Anonymous almost 18 years ago

Legacy ID: #3927164 Legacy Poster: Michael Kay (mhkay)

No, I'm not aware of any issues in this area, please describe what you are doing and what problems you are having.

RE: case insensitive xsl:analyze-string? - Added by Anonymous almost 18 years ago

Legacy ID: #3937995 Legacy Poster: curry (matek994)

Ok, the following xpath expression returns 'false' with Saxon8b: fn:matches('A','a','i') Is this behavior correct? /Mats

RE: case insensitive xsl:analyze-string? - Added by Anonymous almost 18 years ago

Legacy ID: #3938002 Legacy Poster: curry (matek994)

I am using Saxon 8.8N (dot net version)!

RE: case insensitive xsl:analyze-string? - Added by Anonymous almost 18 years ago

Legacy ID: #3941500 Legacy Poster: Michael Kay (mhkay)

Thanks for reporting this. On investigation, I found two bugs: a small one that affects all platforms, and a major one that affects the .NET platform only. They are both now listed in the bug register, and source fixes are in Subversion. (I'm afraid that rebuilding the .NET product from source isn't very easy: I'll try to produce a patch release that includes this fix, but can't give a guarantee on timing).

    (1-5/5)

    Please register to reply