Skip to content

Infoset "[dataValue]" description very broken #82

Description

@mbeckerle

This is a very bad bug in the official published OGF GFD 204, and the ISO version.

The text was largely lost in this version (GFD 204), compared to the prior obsoleted version (GFD 207)

It is a fragment sentence,

[dataValue] member has no value, and for a complex element the [children] member has
no value. If this member is true, then the Infoset item is said to be nil or nilled.

but should be these paragraphs:

[dataValue] The value in the value space (as defined by XML Schema Part 2: Datatypes
[XSDLV1]) of the [datatype] member. In a complex element information item this member has no
value. If the [nilled] member is true, then this member has no value.

For information items of datatype xs:string, the value is an ordered collection of unsigned 16-bit
integer codepoints each having any value from 0x0000 to 0xFFFF. Where defined, these are
interpreted as the ISO646 character codes. Codepoints disallowed by ISO 10646, such as
0xD800 to 0xDFFF are explicitly allowed by the DFDL infoset. The codepoints of the string are
stored in 'implicit' (also known as logical), left-to-right bidirectional ordering and orientation.
DFDL's infoset represents Unicode characters with character codes beyond 0xFFFF by way of
surrogate pairs (2 adjacent codepoints) in a manner consistent with the UTF-16 encoding of ISO
10646. The value can have length 0, in which case the value may be referred to as an 'empty
string'

For information items of datatype xs:hexBinary, the value is an ordered collection of unsigned 8-
bit bytes each having value from 0 to 255. The length of this collection can be 0 in which case the
value may be referred to as an 'empty hexBinary'. 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions