1.1 Datatypes suggestion: Base types for IP addresses and domain names

I'd like to propose that a few more types are included in XML Schema 1.1 to save others from "reinventing" them.

I'd like to suggest ipv4Address (dotted decimal), ipv6Address (rfc2373), ipAddress (union of ipv4Address and ipv6Address), domainname (dotted name), and hostname (union of ipAddress and domainname).

These can all either derived or base types, I have a set of regular expressions for IP address that I am willing to share if that helps - I would hate for others to have to go through the trauma of constructing a valid regex for an IPv6 address unnecessarily.

Cheers,
Martin 
------------------------------------------------------------------------------------------------
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise private information.  
If you have received it in error, please notify the sender
immediately and delete the original.  Any unauthorized use of
this email is prohibited.
------------------------------------------------------------------------------------------------
[mf2]

Received on Wednesday, 5 October 2005 05:55:03 UTC