Re: [xml-dev] Announce: XML Schema,

From
John Cowan <>
To
Date
2002-06-27T00:57:44Z
ID
<>
Thread
Re: [xml-dev] Announce: XML Schema,
Dare Obasanjo scripsit:

> > Sure, but that doesn't make façade *wrong*.  Are you going to 
> > say that <text>His attitude is a mere façade</text> must not 
> > validate against a database library with a "text-en" datatype?
> 
> What database has a "text-en" datatype and exactly how can it tell... Spellcheck? 

I meant to say "datatype library", of course.  And the context here
is of a string that contains only English-language characters,
whatever those may be.  If the datatype library is RNG-compatible, then one
can write a schema like:

datatypes orth = "http://www.orthography.not/ns/datatype"
element text { orth:en }

-- 
John Cowan <>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_