← Prev in month ← Prev in thread

Re: [relax-ng] Are following annotations forbidden after value andparam ?

From
James Clark <>
Date
2003-01-30T10:01:56+00:00
ID
3983430610.1043946162@[192.168.0.68]
Thread
Re: [relax-ng] Are following annotations forbidden after value andparam ?
--On 30 January 2003 10:41 +0100 Eric van der Vlist <> 
wrote:

> Can you confirm that:
>
>       element born {
>          xsd:date {
>           pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}"
>           >> xhtml:p [ "Add new parameters here to define a range." ]
>         }
>       }
>
> is forbidden?

Yes.  See
http://www.oasis-open.org/committees/relax-ng/compact-20021121.html#nt-para
ms

> Of course, it would be equivalent to:
>
>       element born {
>         xsd:date {
>           [
>             xhtml:p [
>               "Add new parameters here to define a range."
>             ]
>           ]
>           pattern = "[0-9]{4}-[0-9]{2}-[0-9]{2}"
>         }
>       }
>
> but it would seem useful to allow it as an alternative.

Why?

James
← Prev in month ← Prev in thread