[dsdl-discuss] Re: Revised version of DSDL Part 8

From: Rick Jelliffe <rjelliffe@allette.com.au>
Date: Thu Jun 29 2006 - 09:20:48 UTC

Actually, I guess Eric if you are looking for material for best
practices for RELAX NG compact syntax, I would definitely say that

    any-attribute = attribute * {text} *
is less good than
    any-attribute = { attribute * {text}} *
(if that is indeed OK compact syntax). The first case is just wrong,
visually, because you naturally expect the occurrence indicator to
belong to the immediately previous thing. Yuck!

Cheers
Rick

Rick Jelliffe wrote:
> Yes, that is much clearer to me. The trailing * is really unclear.
>
> Rick
>
>
> Eric van der Vlist wrote:
>> Unless you prefer to move the trailing star to the reference:
>>
>> any-attribute = attribute * {text}
>> any-element = element * { any-attribute *, any-content }
>>
>> Eric
>>
>>
>
> --
> DSDL members discussion list
>
> To unsubscribe, please send a message with the
> command "unsubscribe" to dsdl-discuss-request@dsdl.org
> (mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
>

--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Thu Jun 29 11:21:04 2006

This archive was generated by hypermail 2.1.8 : Thu Jun 29 2006 - 10:53:03 UTC