Action 322 - embedded XML and JSON

Embedded XML and JSON Apache Daffodil seeing requests for embedded XML strings. z/TPF seeing requests for embedded JSON objects. This was something that was originally a candidate for DFDL 1.0 but was dropped. New action 322 raised to investigate for DFDL 2.0. Investigation has shown that dfdl:representation="xml" for String types was the way this was to be achieved. See table, taken from draft 033 of the spec (Dec 2008). Property Name Description representation String Valid values are dependent on logical type. Number: ‘text, ‘binary’ String: ‘text'(implied), ‘xml’ Calendar: ‘text, ‘binary’ Boolean: ‘text, ‘binary’ Opaque: ‘binary’ Note that for type String, the representation is always assumed to be 'text' so only the value 'xml' for representation has any effect on how String type elements are processed. Annotation: dfdl:element (all simple types) In draft 034, the 'xml' option had been struck through. I've trawled the WG call minutes from that time but can't find a mention of its removal. Regards Steve Hanson IBM Hybrid Integration, Hursley, UK Architect, IBM DFDL Co-Chair, OGF DFDL Working Group smh@uk.ibm.com tel:+44-1962-815848 mob:+44-7717-378890 Note: I work Tuesday to Friday 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
participants (1)
-
Steve Hanson