Next in thread → Next in month →

Re: [xml-dev] Tools that generate sample XML instance documents from an XML Schema?

From
Mukul Gandhi <>
To
Hans-Juergen Rennau <>
Date
2020-05-20T10:41:18Z
ID
<CABuuzNN2u=>
Thread
Re: [xml-dev] Tools that generate sample XML instance documents from an XML Schema?
On Tue, May 19, 2020 at 4:41 PM Hans-Juergen Rennau <[email protected]> wrote:
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

Nice articulations above.

An open source version of your work about this, would definitely be useful to look at by us involved with XML.


 

--
Regards,
Mukul Gandhi
Next in thread → Next in month →