From: Christian G. <chr...@gm...> - 2012-11-10 21:35:06
|
Hi Adam, > I did have a quick look at the XML Schema Data Types spec on regular > expressions as you posted on twitter, but I didnt see anything there > immediately that would prevent [+-] and allow [-+], I think perhaps both > should be valid, what am I missing? Sorry for the lack of details.. It was rule 18 (seRange) of the specification that I referred to [1], which requires single characters and dashes to be followed by another character. > Also eXist and BaseX produce the same results for my test case (which isnt > surprising as for the second version I tool inspiration from your code), but > these are different to the results from Zorba. However we are producing the > same results as Saxon 9.4.0.4PE. Looks like a bug; it could possibly be posted on their bug tracker [2].. Christian [1] http://www.w3.org/TR/xmlschema-2/#charcter-classes [2] https://bugs.launchpad.net/zorba |