[ 
https://issues.apache.org/jira/browse/DAFFODIL-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837357#comment-16837357
 ] 

Michael Beckerle commented on DAFFODIL-115:
-------------------------------------------

When parsing, if an element has a default value, that value will be created 
when the item is accessed.

However, if the element is nillable, and useNilForDefault property is yes, 
There is no implementation that establishes that element as nilled.

 

> Implement default values: Unparsing and Parsing
> -----------------------------------------------
>
>                 Key: DAFFODIL-115
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-115
>             Project: Daffodil
>          Issue Type: New Feature
>          Components: Back End, Compatibility, DFDL Language, Front End, 
> Middle "End"
>            Reporter: Michael Beckerle
>            Priority: Minor
>              Labels: ForInteroperabilityTest
>
> Defaulting when parsing.
> Uses the XML Schema default and fixed properties of element declarations, 
> depends on occursCountKind, minOccurs and maxOccurs. 
> emptyValueDelmiterPolicy, initiator, terminator are involved as an empty 
> representation is what triggers defaulting.
> Also useNilForDefault property for that specific case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to