
Suman Kalia IBM Toronto Lab WebSphere Message Broker Toolkit Architect and Development Lead WebSphere Business Integration Application Connectivity Tools http://www.ibm.com/developerworks/websphere/zones/businessintegration/wmb.ht... Tel : 905-413-3923 T/L 969-3923 Fax : 905-413-4850 T/L 969-4850 Internet ID : kalia@ca.ibm.com ----- Forwarded by Suman Kalia/Toronto/IBM on 10/13/2010 11:09 AM ----- From: Suman Kalia/Toronto/IBM To: Steve Hanson/UK/IBM@IBMGB Cc: Alan Powell/UK/IBM@IBMGB, Tim Kimber/UK/IBM@IBMGB Date: 10/12/2010 11:17 AM Subject: Re: comments on DFDL spec v.43 Steve - We would also need to update the table on page 81 section 13.1, 13.7 to include binary as the enumeration for Decimal, Integer and nonNegativeInteger. Section 22 "Property precedence" would also need to be updated for this change.. Suman Kalia IBM Toronto Lab WebSphere Message Broker Toolkit Architect and Development Lead WebSphere Business Integration Application Connectivity Tools http://www.ibm.com/developerworks/websphere/zones/businessintegration/wmb.ht... Tel : 905-413-3923 T/L 969-3923 Fax : 905-413-4850 T/L 969-4850 Internet ID : kalia@ca.ibm.com From: Steve Hanson/UK/IBM@IBMGB To: Suman Kalia/Toronto/IBM@IBMCA Cc: Alan Powell/UK/IBM@IBMGB, Tim Kimber/UK/IBM@IBMGB Date: 10/12/2010 11:07 AM Subject: Re: comments on DFDL spec v.43 Hi Suman 1. Agree. 2. Yes I'd flagged this too, needs a rewrite. Regards Steve Hanson Strategy, Common Transformation & DFDL Co-Chair, OGF DFDL WG IBM SWG, Hursley, UK, smh@uk.ibm.com, tel +44-(0)1962-815848 From: Suman Kalia/Toronto/IBM@IBMCA To: Alan Powell/UK/IBM@IBMGB Cc: Steve Hanson/UK/IBM@IBMGB, Tim Kimber/UK/IBM@IBMGB Date: 12/10/2010 15:29 Subject: comments on DFDL spec v.43 I read the spec over the weekend but mainly focused on the changes for V.43. 1. I think there is an omission of property dfdl:binaryDecimalVirtualPoint when the dfdl:binaryNumberRep enumeration binary . The COBOL type PIC 99V99 COMP has an implied decimal point position 2 but it's physical representation is binary integer.. The logical representation for this type is decimal but physical representation is binary integer. The dfdl:binaryNumberRep enumeration binary is the closest match but it does not have property dfdl:binaryDecimalVirtualPoint. - "S99V99 USAGE COMP" case, The serialized value for 123 would be binary value (i.e. x'007B'), since 99v99 COMP means binary integer 2. Section 18 External Control of DFDL processor This section was written long ago. With the changes in scoping rules and no support for selectors in DFDL V1.0 of spec, we cannot support multiple physical representation for the same logical model and the following text needs revision. Note we cannot disambiguate among multiple dfdl:format annotations if specified at the schema level as we do not selectors.
A DFDL Schema can contain more than one format definition. For example, both a binary and a text format definition can be provided so that the same logical data can be described both ways within >> the same DFDL schema. DFDL Schemas can also be parameterized by external variables,. To allow one to associate a format definition with a top-level element declaration at run time DFDL allows the top-level element declarations to omit a dfdl:format annotation.
Suman Kalia IBM Toronto Lab WebSphere Message Broker Toolkit Architect and Development Lead WebSphere Business Integration Application Connectivity Tools http://www.ibm.com/developerworks/websphere/zones/businessintegration/wmb.ht... Tel : 905-413-3923 T/L 969-3923 Fax : 905-413-4850 T/L 969-4850 Internet ID : kalia@ca.ibm.com