[dsdl-discuss] Re: Datatypes

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Mon May 27 2002 - 20:42:26 UTC

Hi Rick,

Rick Jelliffe wrote:
> Here is my stab at some ideas for datatyping.
>

<LongAndInterestingDevelopmentSkipped/>

>
> So the datatype mechanism should be in two parts:
>
> 1) Primitive datatype validation
> A Validator. Validate an element in the dsdl: namespace whose
> element name specifies the primitive type in the
> single canonical form. Such as <dsdl:integer>15</dsdl:integer>
>
> 2) Datatype canonicalization
> A Transformer. Transform an item from a given notation into
> an XML structure consisting of elements which the validator
> can understand. (Complex constraints between these items
> can be specified using a subsequent Schematron schema, or
> supplied by some built-in notation validators which can validate
> the canonical-form of some well-known types, such as date.)

This is what I have in mind with my proposal to bring the framework in
the schemas...

Now, a question may be to decide if we can rely on existing tools for
this canonicalization or if we need to invent something new. One aspect
which I have not mentioned in my strawman is the impact on the ability
to stream process the validation. This might lead to also mention
alternatives such as STX:

http://www.gingerall.cz/stx/index.html

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
------------------------------------------------------------------------
--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Mon May 27 16:42:30 2002

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:27 UTC