XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Tools that generate sample XML instance documentsfrom an XML Schema?

In case the generation of complex sets of documents with finely controlled variations is important to anybody, I mention a long-standing work which I have not yet open sourced - but could do so if interest should emerge. The concepts in short:

(1) Schema-guided document generation is a set of decisions of four kinds:
(a) maxOccurs>1: How many instances?
(b) minOccurs=0, maxOccurs=1: An instance or not?
(c) simple typed: Which text content?
(d) choice: Which branch?

(2) For every decision there is a default value; non-default decisions are specified by a config ("mockfig"); a decision includes (a) a decision target (typically selected by item name or (trailing) data path, supporting wildcards), (b) a decision value

(3) mockfig writing is supporting by code generation from underlying XSDs

(4) Numerous refinements supported (e.g. separation of common and specific settings and scenario-dependent decision values)

(5) Mockfigs are upgradable (XSD changes: automated adaptation where possible, manual adaptation supported by info messages)

Limitation: no support for mixed content.

As this little summary suggests, you can achieve any degree of control (from 0 to 100%), a degree correleted with the amount of configuration work. The framework is designed for large scale functional tests using 100s or 1000s of finely controlled message instances.

Cheers,
Hans-Jürgen

Anybody desiring more information is welcome to contact me in private. An extensive tutorial is available.

SmartBear SOAP UI can generate basic sample SOAP requests based on
WSDL and XML Schema.

On 4/1/20, Costello, Roger L. <costello@mitre.org> wrote:
> Hi Folks,
>
> These are the IDE (Integrated Development Environment) tools that I am aware
> of which can generate sample XML instances from an XML Schema:
>
> 1. Oxygen XML
> 2. XML Spy
> 3. Liquid Technologies
> 4. Stylus Studio
>
> Any others?
>
> These are online web sites that I am aware of which can generate sample XML
> instances from an XML Schema:
>
> 1. http://xsd2xml.com/
> 2. https://www.liquid-technologies.com/online-xsd-to-xml-converter
>
> Any others?
>
> Are there tools that aren't housed within an IDE and aren't used via an
> online web site? For instance, is there a Java tool that, when executed on
> the desktop it inputs an XML Schema and then outputs sample XML instance
> documents?
>
> /Roger
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

>
>

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS