Roman Rytov writes: >> Does a type for e-mail exist in "xsd" datatypes? >> If no is there any easyer way to define it >> comparing to the next definition: >> >> <xsd:simpleType name="ZEmail"> >> <xsd:restriction base="xsd:string"> >> <xsd:pattern value=".+@.+[.]+.+"/> >> </xsd:restriction> >> </xsd:simpleType> >> Not exactly what you're asking for, but there is a type for URI references which should be easily restrictable using a regular expression pattern to mailto: only. One might argue that to be a somewhat more web-centric solution, but I'm not sure it meets your needs. I'm not aware of anyone who has created a standard name for such a type in a type library, but it might be a good idea. ------------------------------------------------------------------------ Noah Mendelsohn Voice: 1-617-693-4036 Lotus Development Corp. Fax: 1-617-693-8676 One Rogers Street Cambridge, MA 02142 ------------------------------------------------------------------------Received on Sunday, 10 June 2001 19:41:08 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT