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

Sebastian Rahtz sebastian.rahtz at computing-services.oxford.ac.uk
Mon Jan 12 20:47:37 ICT 2004


David Tolpin wrote:

>>However, we couldn't generate DTDs. Trang refuses to generate them. 
>>    
>>
>
>How exactly does it express it (the refusal)? My experience has been
>that trang's general a more permissive DTD if it cannot match exactly.
>  
>
I can get fatal errors easily:

/home/rahtz/TEI/P5/p5odds.rng:49: error: sorry, wildcards are not supported
/home/rahtz/TEI/P5/p5odds.rng:47: error: sorry, cannot handle this kind 
of "choice"
error: sorry, wildcards are not supported
/home/rahtz/TEI/P5/p5odds.rng:58: error: sorry, cannot handle overrides 
inside "include"
/home/rahtz/TEI/P5/p5odds.rng:63: error: sorry, cannot handle overrides 
inside "include"
/home/rahtz/TEI/P5/rng/tagdocs.rng:26: error: sorry, wildcards are not 
supported/home/rahtz/TEI/P5/rng/tagdocs.rng:24: error: sorry, cannot 
handle this kind of "choice"
/home/rahtz/TEI/P5/rng/tagdocs.rng:22: error: sorry, wildcards are not 
supported/home/rahtz/TEI/P5/rng/tagdocs.rng:959: error: sorry, cannot 
handle this kind of "choice"

which are all examples of things that can be done in RelaxNG, but which 
trang cannot handle

Sebastian Rahtz


More information about the relaxng-user mailing list