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] Relax NG annoyances

[ Lists Home | Date Index | Thread Index ]

From: "Jimmy Cerra" <jimbolist@hotmail.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





 

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

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