Hi, I'm looking for a definitive answer to the following question : Are the following restrictions equally valid using XML Schema ? Restriction 1: <restriction base="xsd:string"> <pattern value="[A-Z]{1,9}"/> </restriction> Restriction 2: <restriction base="xsd:string"> <pattern value="[A-Z]"/> <minLength value="1"/> <maxLength value="9"/> </restriction> We often have non-technical people looking at our restrictions - for them Restriction 2 is easier to decipher, but is it 'legal' ? regards Max ------------------------------------------------------------------------------------------------- Get the best from British Airways at ba.com http://www.ba.comReceived on Friday, 4 April 2003 06:06:21 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:44 GMT