W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2001

pattern question

From: Arigapudi, Shyam <Shyam.Arigapudi@ugs.com>
Date: Thu, 13 Dec 2001 17:05:36 -0500 (EST)
Message-ID: <07E98776DFF1BE448D9C9BA60A79ADA40172022C@amwntx1.ugsolutions.com>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Hi,
	I would like to restrict a string based on a pattern:
               (The string cannot have the set:    ?:,'<>/*\|= and " )
<xsd:element name="LayerName">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:minLength value="1"/>
					<xsd:maxLength value="255"/>
					<xsd:pattern
value="[^?:,'/\\\*&quot;&gt;&lt;|=]"/>  <!--Need suggestion here -->
				</xsd:restriction>
			</xsd:simpleType>
</xsd:element>

	Thanks for any info.

Regards,
Shyam Arigapudi
www.eds.com
shyam@ugs.com
Received on Wednesday, 19 December 2001 13:16:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:25 GMT