[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xdi] Dollar word proposed for data types-$type
Cool idea. $type is already one of our "default dollar words" by
virtue of
being one of the XDI schema elements. And at first blush this seems
like a
good use of it. I also like the idea of making the fragment
identifiers in
the W3C Schema Datatypes spec the default.
I also
suggest we go with true hierarchy, i.e., slash. This is what we did
with $l
in the XRI Metadata spec - slash delineates the instances of the
type,
whereas * delegates to subtypes. For example with $l, the immediate
children
(i.e., if there is no delegated *name after $l) are defined to be
two-letter
language tags from (I forget the name of the RFC - see the spec
at
http://www.oasis-open.org/committees/download.php/11854/xri-metadata-V2.0-cd
-01.pdf).
For example:
$l/en
for
English
$l/fr
for French
So with the $type
space, we would specify (in the Service Dictionary spec)
that the default
child namespace under $type is the set of fragment
identifier in the W3C
Schema datatypes spec.
$type/string
$type/float
Then you could extend type definition to any other namespace
as follows:
$type*(=foo/mytypes)/custom.type
Sure meets the simplicity test.
Thoughts?
=Drummond
-----Original Message-----
From:
barnhill_william@bah.com [mailto:barnhill_william@bah.com]
Sent:
Wednesday, June 29, 2005 7:25 PM
To: xdi@lists.oasis-open.org
Subject:
[xdi] Dollar word proposed for data types-$type
$type-xxx where xxx is
the fragment identifier from the W3C schema datatype
or $type-yyy-xxx where
yyy is the ident for a type system other than W3C
schema
datatypes.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]