[DFDL-WG] Rules for resolving ambiguity in the in-scope terminating markup
Tim Kimber
KIMBERT at uk.ibm.com
Wed Feb 3 11:47:07 CST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/dfdl-wg/attachments/20100203/e4d44143/attachment.html
More information about the dfdl-wg
mailing list