Re: [xml-dev] Relax NG annoyances
by Rick Jelliffe other posts by this author
Jul 3 2003 10:39AM messages near this date
Re: [xml-dev] Defining non-WXS datatypes
|
[xml-dev] Defining non-WXS datatypes
From: "Jimmy Cerra" <jimbolist@[...].com>
> Why isn't there a more complete datatyping language?
Answer 1.
Yes, there is: Schematron. James' latest version of Jing provides
RELAX NG, Schematron and the NRL language which allows them
to be used together nicely.
Of course, Schematron is aimed more at validation rather than
datatyping, but then so is RELAX NG. Schematron lets you
take apart expressions (using Xpath's string functions): this
is not so good for lists but good for multipart values, for constraints
such as "The part number of a widget must begin with the string
'WG'".
Answer 2.
Because you haven't developed it yet.
RELAX NG (and Schematron) was made with the view that
W3C XML Schemas, though excellent in many ways, got it
really wrong in being un-modular. This will show up over time
as it becomes very difficult to make any kinds of changes.
So RELAX NG does not attempt to make its own datatyping
language, it allows you to invoke some other. If you don't like the W3C
primitives that Jing uses, yall can put up an alternative set.
Personally, I think it is high time for people who don't like the W3C
datatypes to band together to make a concrete alternative.
Cheers
Rick Jelliffe
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
Jimmy Cerra
Bob Foster
Jeni Tennison
Rick Jelliffe
Jeni Tennison
Rick Jelliffe
Jeni Tennison
James Clark
Robin Berjon
Jeni Tennison
Robin Berjon
Amelia A. Lewis
Berend de Boer
=?ISO-8859-1?Q?Bill_de_h=D3ra?=
|