[DFDL-WG] Standard way of expressing semantics of DFDL when scoped properties are involved

Mike Beckerle mbeckerle.dfdl at gmail.com
Wed Nov 12 09:30:58 CST 2008


(revised)
 
In the DFDL spec., the problem exists of how to express the behavior of a
construct in the situation where there are properties in scope surrounding
the construct. 
 
I believe this kind of syntax can be used in the spec. to make clear the
implications of scope:
 
 Properties in scope: lengthKind="implicit"
             representation="text" 

<sequence dfdl:separator="," dfdl:terminator=";" 
          dfdl:lengthKind="delimited">   // these are local
    <element name="f1" type="string" /> 
    <element name="f2" type="string" /> 
</sequence> 

 
I would suggest the above syntax for the DFDL spec as a way to discuss
property semantics. The only way properties can get in scope is by way of an
enclosing complexType definition; but using that syntax explicitly begs the
question of whether one means true lexical enclosure, can there be other
enclosing complexTypes also, etc. The above style eliminates these issues.
 
 
Mike Beckerle | OGF DFDL WG Co-Chair | CTO | Oco, Inc.
Tel:  781-810-2100  | 504 Totten Pond Road, Waltham MA 02451 |
<mailto:mbeckerle.dfdl at gmail.com> mbeckerle.dfdl at gmail.com 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20081112/5a1b7a72/attachment.html 


More information about the dfdl-wg mailing list