How to generate sample XML documents from their DTD or XSD?

前端 未结 19 1559
梦毁少年i
梦毁少年i 2020-11-22 10:11

We are developing an application that involves a substantial amount of XML transformations. We do not have any proper input test data per se, only DTD or XSD files. We\'d li

19条回答
  •  长发绾君心
    2020-11-22 11:08

    The camprocessor available on Sourceforge.net will do xml test case generation for any XSD. There is a tutorial available to show you how to generate your own test examples - including using content hints to ensure realistic examples, not just random junk ones.

    The tutorial is available here: http://www.oasis-open.org/committees/download.php/29661/XSD%20and%20jCAM%20tutorial.pdf

    And more information on the tool - which is using the OASIS Content Assembly Mechanism (CAM) standard to refactor your XSD into a more XSLT friendly structure - can be found from the resource website - http://www.jcam.org.uk

    Enjoy, DW

提交回复
热议问题