[DFDL-WG] DFDL: Action 071 - modified

Steve Hanson smh at uk.ibm.com
Fri Jan 29 11:44:02 CST 2010


Updated below. Agreed on DFDL WG extra call on Fri 29th Jan.

Regards

Steve Hanson
Programming Model Architect, WebSphere Message Broker,
OGF DFDL WG Co-Chair,
Hursley, UK,
Internet: smh at uk.ibm.com,
Phone (+44)/(0) 1962-815848
----- Forwarded by Steve Hanson/UK/IBM on 29/01/2010 17:27 -----

From:
Steve Hanson/UK/IBM
To:
dfdl-wg at ogf.org
Date:
26/01/2010 12:52
Subject:
DFDL: Action 071


Changed unparsing behaviour - we must honour the property - the existing 
behaviour of always writing the initiator means we can not successfully 
re-parse if writing empty content and enum is 'suppress'.  When reading, 
assume that section 15.13 has been updated to include complex as well as 
simple elements. 
No change to enums.
missingValueInitiatorPolicy 
Enum 
Valid values ‘required', ‘prohibited' 
Specifies whether to expect an initiator when an element is missing. 
Ignored unless dfdl:initiator is specified and is not "" (empty string). 
'required'  - Indicates that the dfdl:initiator followed by empty content 
is the required syntax to indicate that the element is missing.   
'prohibited' - Indicates that empty content is the required syntax to 
indicate that the element is missing. The presence of an initiator implies 
that real content must follow. 
Use of ‘prohibited’ implies an ordered sequence. If used on an initiated 
element of an unordered group it is a schema definition error. 
If the element is required, defaulting occurs as defined above. 
This property also applies on unparsing, when the data to be written 
(after nil value and default value processing) is empty content. 
Annotation: dfdl:element
Unparsing. The branch of a choice output when a complex element is 
required but missing from the infoset is the first branch of the choice 
that does not result in a processing error. 

Regards

Steve Hanson
Programming Model Architect, WebSphere Message Broker,
OGF DFDL WG Co-Chair,
Hursley, UK,
Internet: smh at uk.ibm.com,
Phone (+44)/(0) 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












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/20100129/6609b580/attachment.html 


More information about the dfdl-wg mailing list