[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: check the type of the $pattern argument to a regul
Hi,
I think I was probably imprecise in my earlier post. matches and the other regular expressions functions can raise errors (either static or dynamic, from my reading of the spec) if the pattern parameter of the function does not conform to the syntactical rules for Regular Expressions. This is basically a typing problem. Other common typing problems in XSLT 2 are solved by using castable, but regular expression patterns are not castable the way dates or integers are (also by reading of spec, but it seems pretty clear cut they wouldn't be), thus I cannot check if a regular expression pattern actually conforms to syntactical expectations before performing the check. I was wondering if anyone had any suggestions around this problem, or if my reading of the problem was incorrect (which it certainly may be) Cheers, Bryan Rasmussen On 4/14/07, Philip Vallone <philip.vallone@xxxxxxxxxxx> wrote: Hi Bryan,
|
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
|