[DFDL-WG] Action 167: textNumberPatterns with P, V, # - allowable combinations
Steve Hanson
smh at uk.ibm.com
Wed Mar 21 06:42:52 EDT 2012
Last week we agreed that disallowing text number patterns that contained a
# symbol and either a P or V symbol was too restrictive. Accordingly the
following rules are proposed to control when # may be used in the same
pattern as P or V to ensure an unambiguous pattern.
a) Pattern must not have # symbols to the right of the V symbol.
b) If pattern has P symbols at the left end, then there must be as many 0
symbols adjacent to the rightmost P symbol as there are P symbols.
c) If pattern has P symbols at the right end, there are no restrictions.
If a) or b) are violated it is a schema definition error.
Regards
Steve Hanson
Architect, Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848
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/20120321/6292bb1d/attachment.html>
More information about the dfdl-wg
mailing list