OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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




--On 30 January 2003 10:41 +0100 Eric van der Vlist <vdv@dyomedea.com> 
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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC