OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: [relax-ng] converting relax ng schema to w3c schema?


On Wed, 2002-06-19 at 23:35, Michael Fitzgerald wrote:
> Future plans for Trang [http://www.thaiopensource.com/relaxng/trang.html]
> include an output module for XML Schema.
> 
> Mike

The problem with this approach is that Relax NG is more "free style"
than W3C XML Schema and that many Relax NG schemas cannot be easily
translated into WXS.

I have been thinking for a while to define a mockup layer on top of
Relax NG which would have a semantic closer to WXS than the current
Relax NG patterns.

I am not sure if there is a real benefit for the users, though!

It's unfortunate, but the best thing to do if you need to be able to
define both a WXS and a Relax NG schema for a new vocabulary is to start
designing it with WXS since you will allways be able to derive a Relax
NG schema while the opposite is not true.

In other words, if you want to be compatible with both technologies, WXS
will be the limiting factor and you need to take it into account first.

Eric
-- 
See you in San Diego.
                               http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC