On 22/02/2008, David Olivier <[EMAIL PROTECTED]> wrote:

>  The short form of the question is:
>
>  Apart from trang, is there a way to convert a .rng file to .xsd?

If I read you right, you simply want to validate xml files to a schema?

>  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.

>  (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!)

I have some code (based on work by
http://hsivonen.iki.fi/validator-about/VerifierServlet.jar -- Henri Sivonen

which does rng validation in java.
I'm sure others do too.

What is the error reported when you try to validate?
Not a datetime issue by any chance?


regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Reply via email to