Hi, > <xs:simpleType name="USERPRIVILEGES"> > <xs:restriction base="USERPRIVILEGESLIST"> > <xs:maxLength value="7"/> > <xs:minLength value="1"/>
You have not given the full schema but this looks a little suspicious to me. Is maxLength referring to the length of the strings in the enumerations? If so then both of your examples are longer than 7. Check this out by putting a value that is actually less than 7 in there. Gareth -- Gareth Reakes, Managing Director +44-1865-811184 Parthenon Computing http://www.parthcomp.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]