[DFDL-WG] output value calc

Alan Powell alan_powell at uk.ibm.com
Wed Jun 24 03:09:19 CDT 2009


Mike

We originally decided that lengthUnit=characters wasn't allowed on 
sequence and choice because of complications with encodings etc. Then when 
we removed lengthKind from sequence and choice it moved up to the complex 
element. 
Remember that this is only to support the box use case and it seems 
unlikely you would specify the size of the box in characters.

Alan Powell

 MP 211, IBM UK Labs, Hursley,  Winchester, SO21 2JN, England
 Notes Id: Alan Powell/UK/IBM     email: alan_powell at uk.ibm.com 
 Tel: +44 (0)1962 815073                  Fax: +44 (0)1962 816898




From:
Mike Beckerle <mbeckerle.dfdl at gmail.com>
To:
Alan Powell/UK/IBM at IBMGB
Cc:
dfdl-wg at ogf.org
Date:
23/06/2009 19:07
Subject:
Re: [DFDL-WG] output value calc




I've viewed your comments and will incorporate them and resubmit.

One question is about complex types and text representation. 

You mentioned we don't allow lengthKind="characters" on complex types. 
Seems to me if representation="text" it is quite likely that everything is 
given in lengthUnits="characters".

I'm not sure why not, though I have vague recollection of this restriction 
being discussed. Can you remind me?

...mike

On Tue, Jun 23, 2009 at 7:06 AM, Alan Powell <alan_powell at uk.ibm.com> 
wrote:

Mike 

Comments from our review in attached doc 


Alan Powell

MP 211, IBM UK Labs, Hursley,  Winchester, SO21 2JN, England
Notes Id: Alan Powell/UK/IBM     email: alan_powell at uk.ibm.com  
Tel: +44 (0)1962 815073                  Fax: +44 (0)1962 816898



From: 
Mike Beckerle <mbeckerle.dfdl at gmail.com> 
To: 
dfdl-wg at ogf.org 
Date: 
19/06/2009 04:13 
Subject: 
[DFDL-WG] output value calc






New draft of output value calc stuff. based on prior review (last week) 
which simplified and clarified things somewhat. 

Examples are a simple and a complex type, with the same context - fits in 
a box that is rounded up in size to next multiple of 4 bytes.

There's some material in here also about bit strings and use of 
dfdl:length measured in bits. This was to cover truncation fully. It is 
not a comprehensive treatment of bit fields though. 

All mention of variables and/or parameters is gone.

See what you think.

....mike

Mike Beckerle | OGF DFDL WG Co-Chair | CTO | Oco, Inc.
Tel:  781-810-2125  | 100 Fifth Ave., 4th Floor, Waltham MA 02451 |
mbeckerle.dfdl at gmail.com[attachment 
"outputValueCalc-and-variables-003.doc" deleted by Alan Powell/UK/IBM] --
 dfdl-wg mailing list
 dfdl-wg at ogf.org
 http://www.ogf.org/mailman/listinfo/dfdl-wg 






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 














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/20090624/f234de96/attachment.html 


More information about the dfdl-wg mailing list