Data Format Description Language (DFDL) v1.0 Specification
OGF Proposed Recommendation GFD-P-R.174, January 31, 2011


13.1 Properties Common to All Simple Types

Property Name

Description

representation

Enum

Valid values are dependent on logical type.

Number: ‘text, ‘binary’

String: representation is assumed to be ‘text' and the representation property is not examined

Calendar: ‘text, ‘binary’

Boolean: ‘text, ‘binary’

Opaque: representation is assumed to be ‘binary’ and the representation property is not examined.

Annotation: dfdl:element, dfdl:simpleType

The permitted representation properties for each logical type are shown in following table Logical Type to Representation properties.

Logical type

dfdl:representation

Additional representation property

String

Assumed to be text

 

Float, Double

text

textNumberRep:standard

binary

binaryFloatRep: ieee, ibm390Hex

Decimal, Integer, nonNegativeInteger

text

textNumberRep:standard, zoned

binary

binaryNumberRep:packed, bcd, binary

Long, Int, Short, Byte, UnsignedLong, Unsignedint, Unsignedshort, UnsignedByte

text

textNumberRep:standard, zoned

binary

binaryNumberRep:packed, bcd, binary

DateTime, Date, Time

text

 

binary

binaryCalendarRep:packed, bcd, binarySeconds, binaryMilliseconds

Boolean

text

 

binary

 

HexBinary

Assumed to be binary

 
Table 19 Logical Type to Representation properties

 


Copyright (C) Open Grid Forum (2005-2010). All Rights Reserved.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the OGF or other organizations, except as needed for the purpose of developing Grid Recommendations in which case the procedures for copyrights defined in the OGF Document process must be followed, or as required to translate it into languages other than English.