Generating test data from an XML Schema

Mark Thomas mark at thomaszone.com
Wed Sep 17 14:54:27 CEST 2008


On Sep 17, 5:29 am, Jonathan Fine <J.F... at open.ac.uk> wrote:
> Hello
>
> 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.

-- Mark.



More information about the Python-list mailing list