This change to Saxon was to implement a change (or correction) to the spec, discussed here:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15594

Michael Kay
Saxonica


On 19 Apr 2013, at 22:25, Gunther Rademacher wrote:

One of my tests has changed behaviour, because Saxon 9.5 now returns false() from
 
     xquery version '1.0';
     matches('
', '.')
 
where previous versions returned true(). I understand that 9.5 behaves correctly
according to the XQuery 3.0 spec, but for 1.0, functions and operators has this:
 
       "If the s flag is not specified, the meta-character . matches any character
       except a newline (#x0A) character."
 
Yet that somehow contradicts this:
 
       "The regular expression syntax and semantics are identical to those defined in
       [XML Schema Part 2: Datatypes Second Edition] with the following additions"...
      
where the additions are not about '.' matching, and XML Schema says that '.' is
equivalent to [^\n\r]
 
This is in no way important for me, I'll change my code to leave the doubtful area.
But I thought I'd mention it anyway.
 
Best regards
Gunther
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help