[dsdl-discuss] Re: Datatypes

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Fri May 24 2002 - 13:41:40 UTC

Martin,

About DSDL string datatypes:

--------
2. DSDL Datatypes
The following datatypes are used to identify constructs that conform to
DSDL constraints:

NB: This list will need to be revised in the light of the development of
DSDL.
    
        * String after whitespace normalization (normalizedString)
        * String tokenized after whitespace normalization
          (tokenizedString)
        * String with no whitespace that conforms to DSDL naming rules
          (Name)
--------

I think that W3C XML Schema is especially messy here and that we should
not follow it :-) ...

To me, whitespace processing should not be a property of a datatype but
could rather be expressed in term of a transformation between the
"parsed space" (ie what is sent by the parser and includes line feed
processing and some whitespace processing for attributes) and the
lexical space.

The ability to define such a transformation is key IMO for localization
(for instance of date types) and could also take care of the whitespace
processing.

Also, ASN.1 [1] includes a datatype systems. I have *not* looked at it
yet, but this might be something to consider as an input.

[1] http://www.itu.int/ITU-T/studygroups/com17/languages/

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 Fri May 24 09:41:42 2002

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