Generating test data from an XML Schema
Stefan Behnel
stefan_ml at behnel.de
Wed Sep 17 15:17:13 EDT 2008
Mark Thomas wrote:
> On Sep 17, 5:29 am, Jonathan Fine <J.F... at open.ac.uk> wrote:
>> I want to generate test data from an XML schema. I've had a quick look
>> at existing tools (such as minixsv and amara) but from what I've seen
>> they don't seem to help.
> ...
>> A tool that provides a nice Python interface to navigating the schema
>> would probably be quite helpful.
>>
>> Has anyone seen anything that might help generate test data from a schema?
>
> I'm unaware of anything in Python, but Eclipse can generate sample
> documents from a schema:
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.wst.xmleditor.doc.user/topics/tcrexxsd.html
>
> As can XML IDEs such as Stylus Studio and XML Spy.
There's also a Java tool called the "XML instance generator" by Sun that
supports XML Schema and RelaxNG. It's a bit tricky to find as most links to it
are broken by now.
Stefan
More information about the Python-list
mailing list