Mike, the parsing and unparsing behaviour
is not round trippable in this circumstance. While your Result gives rise
to your Data, the same is not true the other way round.
Regards
Steve Hanson
Architect, Data Format Description Language (DFDL)
Co-Chair, OGF
DFDL Working Group
IBM SWG, Hursley, UK
smh@uk.ibm.com
tel:+44-1962-815848
From:
Mike Beckerle <mbeckerle.dfdl@gmail.com>
To:
Steve Hanson/UK/IBM@IBMGB
Cc:
dfdl-wg@ogf.org
Date:
11/09/2012 18:46
Subject:
Re: [DFDL-WG]
minor spec correction Appendix 33
Ok I found language which makes this clear. I'll add the
example row to the Appendix table.
The answer is that the / is removed.
So a row needs to say Data = "........................"
Result = "............/........."
...mike
On Tue, Sep 11, 2012 at 1:30 PM, Mike Beckerle <mbeckerle.dfdl@gmail.com>
wrote:
I'd like to confirm understanding of a particular simple
case of escape sequences.
Suppose the escape character is "/"
Suppose the delimiter is ";".
If the data stream contains abcd/efgh then does the logical data retain,
or remove the escape character? (or cause an error?)
This is the case where the escape character isn't escaping anything, so
the question is whether its special status as escape character is therefor
ignored, treating it as a constituent character, or it is some sort of
error we detect.
I was surprised to not find this as row 2 of the table in Section 31.1.
...mike
On Tue, Sep 11, 2012 at 1:22 PM, Steve Hanson <smh@uk.ibm.com>
wrote:
Agree. Please make an editorial change.
No need to raise an errata.
Regards
Steve Hanson
Architect, Data Format Description Language (DFDL)
Co-Chair, OGF
DFDL Working Group
IBM SWG, Hursley, UK
smh@uk.ibm.com
tel:+44-1962-815848
From: Mike
Beckerle <mbeckerle.dfdl@gmail.com>
To: dfdl-wg@ogf.org
Date: 11/09/2012
15:28
Subject: [DFDL-WG]
minor spec correction Appendix 33
Sent by: dfdl-wg-bounces@ogf.org
These tables are awesomely useful, but very badly labelled.
Columns Data and Result should be labeled "Logical Data" and
"Physical Data".
...mikeb
--
Mike Beckerle | OGF DFDL WG Co-Chair
Tel: 781-330-0412
--
dfdl-wg mailing list
dfdl-wg@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
--
Mike Beckerle | OGF DFDL WG Co-Chair
Tel: 781-330-0412
--
Mike Beckerle | OGF DFDL WG Co-Chair
Tel: 781-330-0412
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