RE: [xml-dev] RE: Schema vs Schema-free (was: RE: [xml-dev] XML Binary Characterization WG public list availabl)

From
Michael Kay <>
To
'Ed Day' <>, 'xml-dev' <>
Date
2004-04-14T18:21:15Z
ID
<20040414182053.VYOS1202.mta04-svc.ntlworld.com@Turtle>
Thread
RE: [xml-dev] RE: Schema vs Schema-free (was: RE: [xml-dev] XML Binary Characterization WG public list availabl)
> 
> You can use a pattern facet on a float, double, or decimal in 
> the same way
> you do on a string to enforce this sort of constraint.
> 

But it's a really bad idea to do so, because you can't expect software (such
as an XSLT processor) that's creating an instance document to read the
pattern and work out how to generate a number that matches it.

Michael Kay