[DFDL-WG] escapeKind clarifications needed.
Steve Hanson
smh at uk.ibm.com
Fri May 31 15:01:02 EDT 2013
It should be ignored with a warning according to spec section 2.2 (with
errata applied).
o Property is not applicable because of another DFDL property setting.
Warning (optional). Example is binaryNumberRep when representation is
text.
Regards
Steve Hanson
Architect, IBM Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848
From: Mike Beckerle <mbeckerle.dfdl at gmail.com>
To: dfdl-wg at ogf.org,
Date: 31/05/2013 19:45
Subject: [DFDL-WG] escapeKind clarifications needed.
Sent by: dfdl-wg-bounces at ogf.org
When escapeKind='escapeBlock' we only use the escapeEscapeCharacter if
needed to escape the block end. We don't use the escapeCharacter at all.
So, is it an error if escapeKind='escapeBlock' and you define a value for
escapeCharacter in the same dfdl:escapeScheme?
Such property cannot be inherited by scope, so since escapeBlock kind
doesn't use the escapeCharacter, this can only be either an error, or
silently ignored, or ignored with a warning.
An error is the best choice from a language design perspective.
--
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
--
dfdl-wg mailing list
dfdl-wg at ogf.org
https://www.ogf.org/mailman/listinfo/dfdl-wg
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/20130531/89861bbc/attachment.html>
More information about the dfdl-wg
mailing list