[DFDL-WG] Action 086 Nils and Default processing - draft 8

Steve Hanson smh at uk.ibm.com
Wed Jul 7 06:17:32 CDT 2010


Hi Alan

I started to make comments but decided that it was easier to make changes 
directly, so that is what I did. Comments that remain are for things that 
need discussion (there's only a couple).

I made a lot of changes including sorting out your bullet numbering but 
the main changes were: 

a) The 'If ... Else If' logic had gone badly astray, because of combining 
the non-initiator and initiator cases. It's not as compact as we thought 
but still better combined I think.

b) "If 'is nil' with the content region as the empty string"  - the 
content region clause is redundant.  Your separate definition of 'is nil' 
combined with being in a 'missing element' branch of the logic, means just 
saying 'is ni' is sufficient.

c) Definition of nil when unparsing - does not need the useNilForDefaults 
clause - nil and mssing are mutually exclusive when unparsing. The 
useNilForDefault property comes into play via 'has default'.



Regards

Steve Hanson
Strategy, Common Transformation & DFDL
Co-Chair, OGF DFDL WG
IBM SWG, Hursley, UK,
smh at uk.ibm.com,
tel +44-(0)1962-815848



From:
Alan Powell/UK/IBM at IBMGB
To:
dfdl-wg at ogf.org
Date:
02/07/2010 15:34
Subject:
[DFDL-WG] Fw: Fw: Fw: Fw: Action 086 Nils and Default processing - draft 7
Sent by:
dfdl-wg-bounces at ogf.org




All 

Latest draft (v7 )of the nils and default document incorporating comments 
from this week. 

Please send comments before next WG call.

Still having problems with bulleted lists 
  

Regards 
  
Alan Powell 
  
Development - MQSeries, Message Broker, ESB 
IBM Software Group, Application and Integration Middleware Software 
------------------------------------------------------------------------------------------------------------------------------------------- 

IBM 
MP211, Hursley Park 
Hursley, SO21 2JN 
United Kingdom 
Phone: +44-1962-815073 
e-mail: alan_powell at uk.ibm.com


----- Forwarded by Alan Powell/UK/IBM on 02/07/2010 15:32 ----- 
From: 
Alan Powell/UK/IBM at IBMGB 
To: 
dfdl-wg at ogf.org 
Date: 
30/06/2010 13:05 
Subject: 
[DFDL-WG] Fw:  Fw:  Fw: Action 086 Nils and Default processing






All 

Latest draft of the nils and default document incorporating comments from 
last week. 

As you will see I have been having problems with bulleted lists in word 
which are still not correct but I assume I can fix for the spec. 



  
Regards 
  
Alan Powell 
  
Development - MQSeries, Message Broker, ESB 
IBM Software Group, Application and Integration Middleware Software 
------------------------------------------------------------------------------------------------------------------------------------------- 

IBM 
MP211, Hursley Park 
Hursley, SO21 2JN 
United Kingdom 
Phone: +44-1962-815073 
e-mail: alan_powell at uk.ibm.com



----- Forwarded by Alan Powell/UK/IBM on 30/06/2010 13:01 ----- 
From: 
Steve Hanson/UK/IBM 
To: 
Alan Powell/UK/IBM at IBMGB 
Date: 
25/06/2010 16:07 
Subject: 
Fw: [DFDL-WG] Fw:  Fw: Action 086 Nils and Default processing




Hi Alan - were you going to take the updates forward, or did you want me 
to make some changes first? 

Reviewed Steve's updates to the parsing and unparsing rules. 
- it might be possible to simplify the nil processing in the rules by 
having a defintion up front. 
-  'nil indicator set' need a definition 
- Discussion about whether 'usNilForDefaults' could be replaced by some 
way of defining a literal, out of band value for the default. 
- 'value' used when should be 'output value' 
- dfdl:emptyValueDelimietrPolicy description should be moved from 
defaulting section to initiator section. 
- 'text markup' used in section 14.2 of spec   

Regards

Steve Hanson
Strategy, Common Transformation & DFDL
Co-Chair, OGF DFDL WG
IBM SWG, Hursley, UK,
smh at uk.ibm.com,
tel +44-(0)1962-815848 
----- Forwarded by Steve Hanson/UK/IBM on 25/06/2010 16:00 ----- 
From: 
Steve Hanson/UK/IBM 
To: 
dfdl-wg at ogf.org 
Date: 
23/06/2010 11:18 
Subject: 
Re: [DFDL-WG] Fw:  Fw: Action 086 Nils and Default processing




Here's my latest updates.  As discussed I have reworked the 'Nils & 
Defaults on parsing/unparsing' sections. 

One question was thrown up.  On parsing when a required complex element is 
missing, we add it to the infoset as long as applying default processing 
to its missing children does not cause an error. You will see I have used 
the phrase 'Missing element processing is applied to all child elements.' 
to cover this.  But 'Missing element processing' as now spelled out in the 
same section includes 'nillable and empty string' processing when the 
child is simple. Does this apply here? 

[attachment "dfdl-nils-defaults-v5-SMH.doc" deleted by Alan Powell/UK/IBM] 


Regards

Steve Hanson
Strategy, Common Transformation & DFDL
Co-Chair, OGF DFDL WG
IBM SWG, Hursley, UK,
smh at uk.ibm.com,
tel +44-(0)1962-815848 

From: 
Steve Hanson/UK/IBM 
To: 
Alan Powell/UK/IBM at IBMGB 
Cc: 
dfdl-wg at ogf.org 
Date: 
16/06/2010 14:40 
Subject: 
Re: [DFDL-WG] Fw:  Fw: Action 086 Nils and Default processing




Hi Alan 

I've updated the document and added some comments. Still quite a bit to 
discuss. 



Regards

Steve Hanson
Strategy, Common Transformation & DFDL
Co-Chair, OGF DFDL WG
IBM SWG, Hursley, UK,
smh at uk.ibm.com,
tel +44-(0)1962-815848 


From: 
Alan Powell/UK/IBM at IBMGB 
To: 
dfdl-wg at ogf.org 
Date: 
02/06/2010 11:21 
Subject: 
[DFDL-WG] Fw:  Fw: Action 086 Nils and Default processing 
Sent by: 
dfdl-wg-bounces at ogf.org





I have updated based on last weeks call 


 
  
Regards 
  
Alan Powell 
  
Development - MQSeries, Message Broker, ESB 
IBM Software Group, Application and Integration Middleware Software 
------------------------------------------------------------------------------------------------------------------------------------------- 

IBM 
MP211, Hursley Park 
Hursley, SO21 2JN 
United Kingdom 
Phone: +44-1962-815073 
e-mail: alan_powell at uk.ibm.com



----- Forwarded by Alan Powell/UK/IBM on 02/06/2010 11:20 ----- 
From: 
Alan Powell/UK/IBM at IBMGB 
To: 
dfdl-wg at ogf.org 
Date: 
25/05/2010 17:27 
Subject: 
[DFDL-WG] Fw: Action 086 Nils and Default processing






All   

I have added unparsing and corrected some of the existing information in 
this latest version.   


 

I did attempt to write out the dfdl:nilValueDelimiterPolicy and 
dfdl:emptyValueDelimiterPolicy options in full but it became unreadable 
hence the 'as controlled by' short cut.   
  
Links still don't work   
Regards   
  
Alan Powell   
  
Development - MQSeries, Message Broker, ESB   
IBM Software Group, Application and Integration Middleware Software   
------------------------------------------------------------------------------------------------------------------------------------------- 
  
IBM   
MP211, Hursley Park   
Hursley, SO21 2JN   
United Kingdom   
Phone: +44-1962-815073   
e-mail: alan_powell at uk.ibm.com



----- Forwarded by Alan Powell/UK/IBM on 25/05/2010 17:22 -----   
From:   
Alan Powell/UK/IBM   
To:   
dfdl-wg at ogf.org   
Date:   
13/05/2010 17:28   
Subject:   
Action 086 Nils and Default processing






All   

Attached is an updated version of the nils and defaults sections of the 
specification. I have only completed the parsing section so far which you 
should be able to review while I am on vacation. If someone would like to 
add the unparsing section that would be great.   


  
Note that the cross references are not correct.   
Regards   
  
Alan Powell   
  
Development - MQSeries, Message Broker, ESB   
IBM Software Group, Application and Integration Middleware Software   
------------------------------------------------------------------------------------------------------------------------------------------- 
  
IBM   
MP211, Hursley Park   
Hursley, SO21 2JN   
United Kingdom   
Phone: +44-1962-815073   
e-mail: alan_powell at uk.ibm.com



 

 




 

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 
  



 


 

#### dfdl-nils-defaults v2.doc moved to MyAttachments Repository V3.8 (
Link) on 23 May 2010 by Alan Powell.   

 

 




 

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 
  



 



-- 
dfdl-wg mailing list 
dfdl-wg at ogf.org 
http://www.ogf.org/mailman/listinfo/dfdl-wg 

#### dfdl-nils-defaults v3.doc moved to MyAttachments Repository V3.8 (
Link) on 01 June 2010 by Alan Powell. 

 

 



 

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 




 



--
dfdl-wg mailing list
dfdl-wg at ogf.org
http://www.ogf.org/mailman/listinfo/dfdl-wg 

#### dfdl-nils-defaults v4.doc moved to MyAttachments Repository V3.8 (
Link) on 08 June 2010 by Steve Hanson. 





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 








#### dfdl-nils-defaults-v4-SMH.doc moved to MyAttachments Repository V3.8 
(Link) on 22 June 2010 by Steve Hanson. 




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 





[attachment "dfdl-nils-defaults-v6.1.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 





--
  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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20100707/7d1173bb/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dfdl-nils-defaults-v7.doc
Type: application/octet-stream
Size: 166912 bytes
Desc: not available
Url : http://www.ogf.org/pipermail/dfdl-wg/attachments/20100707/7d1173bb/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dfdl-nils-defaults-v8.doc
Type: application/octet-stream
Size: 160256 bytes
Desc: not available
Url : http://www.ogf.org/pipermail/dfdl-wg/attachments/20100707/7d1173bb/attachment-0003.obj 


More information about the dfdl-wg mailing list