[DFDL-WG] Fw: Action 148: pattern based lengths - suggested revised language

Steve Hanson smh at uk.ibm.com
Mon Sep 26 13:47:53 CDT 2011


On the call last week, it was agreed that a conservative approach to 
pattern based lengths was sufficient for DFDL 1.0.  Revised text for 
12.3.5.1:

12.3.5.1        Pattern-Based Lengths  - Scanability

dfdl:lengthKind 'pattern' may be specified for 
·       elements of simple type with representation 'text'
·       elements of complex type 

For an element of complex type:
all simple child elements must have representation 'text' and have the 
same encoding as the parent complex element, and
all complex child elements must themselves follow 1 and 2 (recursively). 

Similar wording to apply to dfdl:assert testKind="pattern".

Regards

Steve Hanson
Architect, Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20110926/73ca434d/attachment-0001.html 


More information about the dfdl-wg mailing list