- From: Eric van der Vlist <vdv@dyomedea.com>
- Date: Wed, 29 May 2002 13:43:06 +0200 (CEST)
- To: <ijs@decisionsoft.com>
- Cc: <vdv@dyomedea.com>, <xmlschema-dev@w3.org>
Ian Stokes-Rees said: > I meant this only in the sense that a many data types will have > difficulty being interpretted meaningfully on mixed content. For > example, imagine > > <A>start<B>middle</B>end</A> > > If the data type for A is any numeric data type, a date, or some > pattern, it will be very difficult to meaningfully apply. This is also what I meant :-) ... with Relax NG you can define what "start", "middle" and "end" look like. And this is so simple that it's surprising that other schema languages may stumble on this issue: <element name="A"> <data type="TypeOfStart"/> <element name="B"> <data type="TypeOfMiddle"/> </element> <data type="TypeOfEnd"/> </element> What you can't do with Relax NG alone is to say for instance that the string value of "A" is a date, but this will be made possible by the DSDL interoperabily framework (which BTW, should enable W3C XML Schema to do so as well). Eric -- See you in San Diego. http://conferences.oreillynet.com/os2002/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com http://xsltunit.org http://4xt.org http://examplotron.org ------------------------------------------------------------------------
Received on Wednesday, 29 May 2002 07:43:42 UTC