Hi to all. I'm new on this list, and, to be frank, I'm not very much an expert in Relax NG nor in schemas and XML in general, and I'm only here to ask a specific question (and hoping to have an answer :) ).
The short form of the question is: Apart from trang, is there a way to convert a .rng file to .xsd? I'll give a bit of background. I am a developer, in Java, and with some difficulty figured how to consume XML files and validate them. But I have only figured that out for XML Schema (.xsd) validation; I don't know how to do it directly with .rng files. The obvious solution might have been to write my XML constraints in .xsd, rather than in .rng. But the XML Schema language seems incomprehensible to me. So in the end I resorted to writing my files in RNG, and converting them to .xsd files with trang. But trang no longer works! Ever since I upgraded my Ubuntu linux to version 7.10, trang refuses to work. It seems that it is a documented bug. But I have no idea when a fix will come out. Hence my need to have some alternative converter. (Or if you could assure me that validating directly from RNG under Java and point me to some really clear way to do it, that would be even nicer!) Thanks if you can help. David -- http://david.olivier.name/
