Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


datatype functionality I'd like to see

From: bry@------.---
To: XML Developers List <xml-dev@-----.---.--->
Date: 7/8/2004 9:20:00 AM
I was just thinking about this, having switched over from coffee to tea this
morning. It struck me as sort of weird. 

Let us suppose that one had a datatype defined for social security number, this
would essentially be a regular expression specifying how a SSN should be
written. 

now a ssn has more information implicit in it than just the SSN. There is
information that one could use to find out what state issued the number for
example, in the prefix.
Let us suppose then that we had a definition for a structure which splits the
SSN into two elements. The combined strings of both elements matches the
datatype, this is something I would like to be able to specify. 

Why not specify just a type that says a SSN type has two elements? 

because in some formats that would be overkill. 

Perhaps I am uninformed however, can anyone think of any particular schema
language one can do this in, and if you are the person who knows of such a
language can you give me an example if possible. (not that it's something I
need
to do, just something I thought would be extremely useful to be able to do at
some point)


transparent
Print
Mail
Like It
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