[DFDL-WG] Spec bug: WSP* should not be allowed for textStandardZeroRep
Steve Hanson
smh at uk.ibm.com
Wed Aug 14 05:45:47 EDT 2013
Agreed to take an errata to disallow %WSP*; on its own in places where it
is currently allowed but %ES; is not allowed.
Regards
Steve Hanson
Architect, IBM Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848
From: Steve Hanson/UK/IBM
To: Mike Beckerle <mbeckerle.dfdl at gmail.com>,
Cc: dfdl-wg at ogf.org, dfdl-wg-bounces at ogf.org
Date: 12/08/2013 15:53
Subject: Re: [DFDL-WG] Spec bug: WSP* should not be allowed for
textStandardZeroRep
Mike
%WSP*; is useful tacked onto the end of string literal properties that
don't allow %ES; so I think the correct restriction is that if a property
does not allow %ES; it should not allow %WSP*; on its own.
Regards
Steve Hanson
Architect, IBM Data Format Description Language (DFDL)
Co-Chair, OGF DFDL Working Group
IBM SWG, Hursley, UK
smh at uk.ibm.com
tel:+44-1962-815848
From: Mike Beckerle <mbeckerle.dfdl at gmail.com>
To: dfdl-wg at ogf.org,
Date: 10/08/2013 17:02
Subject: [DFDL-WG] Spec bug: WSP* should not be allowed for
textStandardZeroRep
Sent by: dfdl-wg-bounces at ogf.org
We don't allow %ES; for textStandardZeroRep. But we do allow character
class entities like %NL; %WSP; %WSP+; and... problematic: %WSP*;
I claim if you don't allow %ES; you should not allow %WSP*; because it
matches zero-or-more, allowing an empty-string to match in principle.
Leaving off WSP* only eliminates the zero-characters option, as WSP+ is
available.
There are probably other places in the spec that have this same issue.
Basically, anyplace that %ES is disallowed but the other character class
entities are allowed.
--
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
--
dfdl-wg mailing list
dfdl-wg at ogf.org
https://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
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/20130814/3e1763f0/attachment.html>
More information about the dfdl-wg
mailing list