[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
bryan rasmussen wrote:
okay, the limitation I was thinking of is that XML Schema's regex are anchored (sort of sick so don't want to go find the spec and hunt up the correct wording) and XSL-T not necessarily Precisely. Which is explained under 7.6.2 of XPath 2 spec (most of 7.6 explains the differences with XML Schema Regexes): Unless the metacharacters ^ and $ are used as anchors, the string is considered to match the pattern if any substring matches the pattern. But if anchors are used, the anchors must match the start/end of the string (in string mode), or the start/end of a line (in multiline mode). Wish you well! -- Abel Braaksma
|
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
|