Re: Algorithm for merging the pattern facets in a base simpleType with a subtype?

> Since regular languages are closed under intersection,
> the result of a logical 'and' of two regexes is a regular
> language. And it will have an expression using XSD regular
> expressions.

Interesting. Is there a general algorithm for deriving that expression? 
In the absence of the "&&" and lookahead operators, it doesn't seem easy.

Michael Kay
Saxonica

Received on Friday, 22 April 2011 17:14:08 UTC