[DFDL-WG] Simplified EscapeScheme proposal

Mike Beckerle mbeckerle.dfdl at gmail.com
Wed Apr 15 08:04:40 CDT 2009


Attached with my comments.
 
 
 

Mike Beckerle | OGF DFDL WG Co-Chair | CTO | Oco, Inc.
Tel:  781-810-2125  | 100 Fifth Ave., 4th Floor, Waltham MA 02451 |
<mailto:mbeckerle.dfdl at gmail.com> mbeckerle.dfdl at gmail.com 

 

  _____  

From: dfdl-wg-bounces at ogf.org [mailto:dfdl-wg-bounces at ogf.org] On Behalf Of
Alan Powell
Sent: Thursday, April 02, 2009 12:06 PM
To: dfdl-wg at ogf.org
Subject: [DFDL-WG] Simplified EscapeScheme proposal



While working through the previous generalized proposal for escape schemes
it became obvious that it was becoming overly complicated for what are
believed to be a small number of escaping mechanisms. It had become
particularly difficult to define the rules for when escaping should be used
'when needed' 

The attached proposal is much simplified and covers just three variants of
escaping mechanisms. 

-        The use of a single escape character to cause the next character to
be interpreted literally. The escape character itself is escaped by the
escape escape character. 

-        The use of a pair of escape strings to cause the enclosed group of
characters to be interpreted literally. The ending escape string is escaped
by an escape escape character. 


-        The use of a pair of escape strings to cause the enclosed group of
characters to be interpreted literally. An alternate pair of escape strings
is used when the data contains the first ending escape string.



I have also introduced an extraEscapedCharacters property which is a list of
additional single characters which must be escaped as a get out for other
mechanisms 





Alan Powell

MP 211, IBM UK Labs, Hursley,  Winchester, SO21 2JN, England
Notes Id: Alan Powell/UK/IBM     email: alan_powell at 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 









-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20090415/698804eb/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ggf-dfdl-simplified-escape-scheme-v1 0 1 (2).doc
Type: application/msword
Size: 179712 bytes
Desc: not available
Url : http://www.ogf.org/pipermail/dfdl-wg/attachments/20090415/698804eb/attachment-0001.doc 


More information about the dfdl-wg mailing list