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: QNames



> Can I rather suggest, to be 100% clean:
>
> <grammar nsprefix="e=http://www.example.com/e" proxy="yes">
>  <start>
>  <element name="addressBook" ns="e">
>    <zeroOrMore>

Barf!  Structured attributes are evil.

> or better IMHO:
>
> <grammar proxy="yes">
>  <prefix name="e" uri="http://www.example.com/e"/>
>  <start>
>  <element name="addressBook" ns="e">
>    <zeroOrMore>

But what if you don't have a <grammar> element?

And what about order dependency?  If you require <prefix> declarations
before the use of a prefix, then you've lost the order independence of the
children of <grammar>.  If you don't, then I think implementation will be
tricky.

> Or any other way to define a prefix without using the namespace prefix?

Such as...

James




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


Powered by eList eXpress LLC