|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT 2.0 matches function (Saxon)
Michael Kay wrote:
I'm just a newbie to XSLT. But you're of course right.
It does, but only twice. There are three elements here, so $before gets three values: [\.\?!]+ [\.\?!]+ and [\xff61\x3002\xff0e\xff1f\xff01]+ which is a ICU regular expression, and this seems to make Saxon complain (rightly). There's some garbage in here, you need to find out where it came from. \xff61 is not valid in an XPath regular expression. Thanks for pointing this out. I thought Saxon was evaluating the first expression when it complained about the escaped sequence. I'll need to build a Java API to use ICU regexps from the icu.jar library. But at first I wanted to check the design of the template with XPath regexps. Seems like I'd have to tweak the test data to build the first version of the template. Thanks again, Marcin
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








