- From: <Mike_Leditschke@nemmco.com.au>
- Date: Mon, 14 Jan 2002 18:14:24 +1000
- To: xmlschema-dev@w3.org
If I have the following type definition <xsd:simpleType name="Fred"> <xsd:restriction base="xsd:string"> <xsd:pattern value="[\p{L}\p{N}\s]{1,30}"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="Fred" type=""Fred"/> Would a single space be legitimate content for Fred?, i.e. <Fred> </Fred> What I am trying to say is that any mixture of letters, numbers and whitespace from 1to 30 characters is allowed. XMLSpy says "the value does not match facet" but I'm struggling to see why. Any help appreciated. Regards Michael ------------------------------------------ This e-mail is confidential. If you are not the intended recipient, any use, disclosure or copying of this document is unauthorised and prohibited. If you have received this document in error, please delete the email and notify me by return email or by phoning the NEMMCO Helpdesk on 1300 300 295.
Received on Wednesday, 16 January 2002 03:15:06 UTC