[DFDL-WG] Rules for resolving ambiguity in the in-scope terminating markup
Steve Hanson
smh at uk.ibm.com
Thu Feb 4 09:53:12 CST 2010
Tim - can you clarify the last sentence please - is the terminating markup
that of the preceding peer element, or the enclosing parent?
Regards
Steve Hanson
Programming Model Architect, WebSphere Message Broker,
OGF DFDL WG Co-Chair,
Hursley, UK,
Internet: smh at uk.ibm.com,
Phone (+44)/(0) 1962-815848
From:
Tim Kimber/UK/IBM at IBMGB
To:
dfdl-wg at ogf.org
Date:
03/02/2010 17:47
Subject:
Re: [DFDL-WG] Rules for resolving ambiguity in the in-scope terminating
markup
Sent by:
dfdl-wg-bounces at ogf.org
These rules seem to work:
a) separators and terminators are collectively called 'terminating
markup'.
b) initiators are not 'terminating markup'
c) when two items of in-scope terminating markup have a common prefix, the
parser must give precedence to the longest item.
d) when two items of in-scope terminating markup have exactly the same
value, the parser must give precedence to the innermost ( most deeply
nested ) item.
e) when the separator and terminator on a group have exactly the same
value, the parser must give precedence to the separator.
If an initiated component can occur at the same point as an item of
terminating markup, the initiator takes precedence.
regards,
Tim Kimber, Common Transformation Team,
Hursley, UK
Internet: kimbert at uk.ibm.com
Tel. 01962-816742
Internal tel. 246742
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20100204/eccd3e1b/attachment.html
More information about the dfdl-wg
mailing list