W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2005

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

From: Thomson, Martin <Martin.Thomson@andrew.com>
Date: Wed, 5 Oct 2005 00:44:51 -0500
Message-ID: <AF9FCF3C02DB264EAF9872DFB6040FCC0CBBF21C@aopex5.andrew.com>
To: <www-xml-schema-comments@w3.org>
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.

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.
Received on Wednesday, 5 October 2005 05:55:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:04 UTC