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] limits of the generic

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Re: [xml-dev] limits of the generic
  • From: Eric van der Vlist <vdv@dyomedea.com>
  • Date: 01 Oct 2002 09:21:31 +0200
  • In-reply-to: <57373577606.20020930235226@jenitennison.com>
  • References: <E17w94B-0001LT-00@malatesta.local> <57373577606.20020930235226@jenitennison.com>

Hi Jeni,

On Tue, 2002-10-01 at 00:52, Jeni Tennison wrote:

> >> <dt:datatype name="my:UKDate">
> >> <!-- a date in the format DD/MM/YYYY -->
> >> 
> >> <dt:components>
> >>   <dt:component name="day" select="substring(., 1, 2)" />
> >>   <dt:component name="month" select="substring(., 4, 2)" />
> >>   <dt:component name="year" select="substring(., 7, 4)" />
> >> </dt:components>

If you allow the plug, this looks rather parallel to what I am proposing
with xvif (see for instance in my strawman [1] the test cases spilting
dates as a list of tokens [2] or elements [3] which you can also try

I am currently trying to define the basic building blocks of xvif, but
at a later stage, dt:compents(s) could be good candidates as shortcuts.

Xvif doesn't support a test like you've shown, but I am wondering if it
shouldn't support variables in such case this kind of test should be
possible to express...

And of course, as already mentioned, there is no reasons why xvif
couldn't be used either standalone or in other host languages than Relax
NG in which case XSLT would be the number one candidate!

[1] http://downloads.xmlschemata.org/python/xvif/xvif.html

Rendez-vous  Paris.
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema


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

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