[DFDL-WG] checking on 'no recursion' restriction - are we sure we can live without it

Suman Kalia kalia at ca.ibm.com
Sun Apr 8 08:03:47 EDT 2012


I tried to search XML schema definition for JSON but could not find it.. 
If you have please attach.  You can build models without using recursion. 
Adding recursion to the spec will certainly increase complexity.



From:   Mike Beckerle <mbeckerle.dfdl at gmail.com>
To:     dfdl-wg at ogf.org
Date:   04/06/2012 05:49 PM
Subject:        [DFDL-WG] checking on 'no recursion' restriction - are we 
sure we can live without it
Sent by:        dfdl-wg-bounces at ogf.org




DFDL v1.0 spec currently disallows recursive types.

Are we sure we can live without this?

Seems to me there are many formats e.g., JSON, which are popular now, and 
which naturally require recursion to express.

There are a number of document-like formats - there's a fuzzy grey area 
where documents and data records overlap, and these will naturally be 
modeled using recursion.

Even formats like EDIFACT allow segment nesting, though I'm not sure about 
whether recursive definitions are allowed or precluded, a generic EDIFACT 
parser wouldn't know any specific segment types, and would want to have a 
recursively defined generic segment structure.

Comments?

...mikeb

-- 
Mike Beckerle | OGF DFDL WG Co-Chair 
Tel:  781-330-0412
--
  dfdl-wg mailing list
  dfdl-wg at ogf.org
  https://www.ogf.org/mailman/listinfo/dfdl-wg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20120408/6681e086/attachment.html>


More information about the dfdl-wg mailing list