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

David Tolpin dvd at davidashen.net
Tue Jan 13 02:07:28 ICT 2004


> which produces
> 
>      cannot handle overrides inside "include"
> 
> and I am not sure what James *should* do here. I wish someone would write me
> a RelaxNG equivalent of "soelim", ie something which expanded all includes
> and activated the overrides.

this is called rng2srng, by Kohsuke KAWAGUCHI. It is a program in Java, which uses
Jing to simpligy RELAX NG and then dumps it as a single grammar.

If it is an option, then it is the way to go. However, it makes a grammar not human-readable.
In fact, includes are handled; overrides are not -- which means that included should
be not expanded, but multiplexeed with overrides applied.

David


More information about the relaxng-user mailing list