OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] DTDs, W3C Schemas, RELAX NG, Schematron?

[ Lists Home | Date Index | Thread Index ]

Don Box scripsit:

> > Wow! I was knocked out by this one. What good are datatypes if one can
> > work in terms of the value space of the type rather than the lexical
> > form?
> In case it wasn't obvious, that sentence should have read "What good are
> datatypes if one CANNOT work in terms of the value space..."

Oh, one definitely can.  To express "nonzero integer" properly,
the Right Thing is:

	xsd:integer - (xsd:integer "0")

Just because I can't always think of the R.T. on the fly, doesn't
mean it doesn't exist!

John Cowan <jcowan@reutershealth.com>     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_


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS