- From: Boris Kolpackov <boris@kolpackov.net>
- Date: Thu, 27 Apr 2006 17:35:25 +0200
- To: Ian Brandt <ian@ianbrandt.com>
- Cc: XML Schema Dev <xmlschema-dev@w3.org>
- Message-ID: <20060427153525.GA24724@karelia>
Hi Ian, Ian Brandt <ian@ianbrandt.com> writes: > 2) Are there any open source projects providing schemas defining > standard datatypes, analogous to EXSLT providing standard XSLT > function implementations for example? I'm thinking of things such as > enumerations for ISO country codes, string types for various phone > number formats, etc. I think this is an excellent idea. Since there does not seem to be anything like this, I started XSSTL - XML Schema Standard Type Library: http://codesynthesis.com/projects/xsstl/ The first release of the library includes the following types: EmailAddress Email address IPv4Address IPv4 address in the dotted-decimal notation Port Port number IPv4Endpoint IPv4 address and port pair IPv4EndpointStruct Structured IPv4 address and port pair ISO3166CountyCode Two-letter (alpha-2) ISO 3166-1 country code Percentage Percent value in the range [0, 100] PhoneNumber Full international telephone number PhoneCountryCode Telephone country code PhoneAreaCode Telephone area code PhoneSubscriberNumber Telephone subscriber number PhoneExtensionNumber Telephone extension number PhoneNumberStruct Structured full international telephone number RFC822DateTime Date and time formatted according to the RFC822. USStateTerritoryCode 50 states + 9 territories USStateCode 50 states + District of Columbia USTerritoryCode 9 territories - District of Columbia USContinentalStateCode USStateCode - Hawaii USContiguousStateCode USContiguousStateCode - Alaska The library is distributed under the terms of the BSD license. Bug reports, contributions or any other feedback are welcome at xsstl-users@codesynthesis.com mailing list. hth, -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open Source Cross-Platform C++ XML Data Binding
Received on Thursday, 27 April 2006 20:23:32 UTC