Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Datatypes Repository?

From: Boris Kolpackov <boris@---------.--->
To: Ian Brandt <ian@---------.--->
Date: 4/27/2006 7:35:00 PM
Hi Ian,

Ian Brandt <ian@i...> 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 RFC82=
2.

    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@c... mailing list.


hth,
-boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open Source Cross-Platform C++ XML Data Binding


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent