[relaxng-user] Converting Relax-NG to Schema and DTD

Eric van der Vlist vdv at dyomedea.com
Mon Jan 12 23:10:16 ICT 2004


On Mon, 2004-01-12 at 22:55, Sebastian Rahtz wrote:
> Eric van der Vlist wrote:
> 
> >>Once one has identified the troublesome part of the schema, sure.
> >>    
> >>
> >
> >When you have identified these troublesome parts, what about asking
> >James Clark if he can fix them?
> >  
> >
> Yes, of course. I just have to isolate the problems.
> 
> One them is
> 
>  include "foo.rnc" {
>       a = b
> }
> 
> which produces
> 
>      cannot handle overrides inside "include"
> 
> and I am not sure what James *should* do here.

No, that's a tricky one!

It doesn't deal with the expressive power of the language but with its
composition features.

>  I wish someone would write me
> a RelaxNG equivalent of "soelim", ie something which expanded all includes
> and activated the overrides.

If you were writing that by hand, what would you be using? Entity
parameters? Or splitting "foo.dtd" so that you can include everything
except the definition of a?

This one isn't obvious...

Eric

> Sebastian
-- 
Read me on XML.com.
                                            http://www.xml.com/pub/au/74
Upcoming XML schema languages tutorial:
 - Santa Clara  -half day- (15/03/2004)        http://masl.to/?J24916E96
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



More information about the relaxng-user mailing list