Alan

Comments:

- I think escapeBlockStart and escapeBlockEnd are better names, that way you can immediately see they are for use with escapeBlock.

- escapeKind.  Clarification to escapeBlock parsing behaviour. "On parsing the escapeStartString is removed from the beginning of the data and escapeEndString is removed from end of the data and any escapeEscapeCharacters are removed when they precede any other occurences of the escapeEndString in the data."

- extraEscapedCharacters. Clarification: "A space separated list of single characters that must be escaped in addition to in-scope markup"

- generateEscape. The behaviour when escapeKind = escapeCharacter and value is 'always' is not defined. I would prefer that:
a) The descriptions of 'whenNeeded' behaviour are moved into the escapeKind property to keep all the rules in one place.
b) generateEscape is renamed generateEscapeBlock and only applies to escapeKind = escapeBlock, as that is only when it has an effect.

Regards

Steve Hanson
Programming Model Architect
WebSphere Message Brokers
Hursley, UK
Internet: smh@uk.ibm.com
Phone (+44)/(0) 1962-815848



Alan Powell/UK/IBM@IBMGB
Sent by: dfdl-wg-bounces@ogf.org

17/04/2009 15:22

To
dfdl-wg@ogf.org
cc
Subject
[DFDL-WG] Simplified Escape Scheme V3






Attached is the latest version of escape schemes. It includes Steve and Mike's comments (although not renaming properties), removed escapeBlock2 and added uses cases in section 5 which you might like to start with.



The uses cases confirm that the syntax works with some minor clarifications but highlights two questions:

1.        Should data containing the escapeEscapeCharacater cause escaping to be used if if so how should it be escaped.
2.        Should we only look for escapeStartString at the beginning of the data.

 

Alan Powell

MP 211, IBM UK Labs, Hursley,  Winchester, SO21 2JN, England
Notes Id: Alan Powell/UK/IBM     email: alan_powell@uk.ibm.com  
Tel: +44 (0)1962 815073                  Fax: +44 (0)1962 816898





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





--
 dfdl-wg mailing list
 dfdl-wg@ogf.org
 http://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