[DFDL-WG] Spec bug: WSP* should not be allowed for textStandardZeroRep

Mike Beckerle mbeckerle.dfdl at gmail.com
Fri Aug 16 14:24:18 EDT 2013


I can find only one place in the spec where this applies which is
textStandardZeroRep.

I am updating errata 2.42 with this clarification also.


On Mon, Aug 12, 2013 at 11:03 AM, Steve Hanson <smh at uk.ibm.com> wrote:

> 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* <http://www.ogf.org/dfdl/>
> IBM SWG, Hursley, UK*
> **smh at uk.ibm.com* <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* <http://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
>



-- 
Mike Beckerle | OGF DFDL Workgroup Co-Chair | Tresys Technology |
www.tresys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130816/5d72e692/attachment.html>


More information about the dfdl-wg mailing list