Feature request: Relax NG sample instance generation
Posted: Thu Jul 03, 2008 4:57 am
Hi guys, I would really love it if you could add the ability to generate sample XML documents from Relax NG schemas. Kohsuke Kawaguchi wrote a program xmlgen.jar that is part of the MSV project that does a good job of this (downloadable at https://msv.dev.java.net). The latest build of xmlgen.jar is from 2006 and comes packaged with an older build of msv, but seems to work just as well with the newest 2/08 msv build.) It does some slightly funny stuff (like favoring japanese characters in random strings) but I'm sure this can be easily tuned. It has good documentation and very nice error messages. Also generates instances from dtd's and xmls's. Could you possibly build it into a future release of oxygen? John