I found two problems, I think, with the specification of the pattern attribute. 1) The type of the 'value' attribute of pattern is 'anySimpleType.' [1] Should it not be 'string'? 2) The definition of 'atom' in the BNF for regular expressions [2] says atom ::= Char | charClass | ( '(' regExp ')' ) 'Char' says Char ::= [^.\?*+()|#x5B#x5D] Since '()' is included in 'Char', the status of these characters is, strictly speaking, ambiguous w.r.t. parsing an atom. - Roß [1] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#element-pattern [2] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#nt-atom --- Wife: a former sweetheart. -- H. L. MenckenReceived on Friday, 1 February 2002 11:45:08 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:00 GMT