Re: Minor comments on the spec

From
Kohsuke KAWAGUCHI <>
Date
2001-07-17T17:44:28+00:00
ID
Thread
Re: Minor comments on the spec
> > > <name>string</name> 
> > > 
> > > should read
> > > 
> > > <name>QName</name> 
> > 
> > really?
> > 
> > Do we really want to allow QNames for <name>?
> 
> I would like to allow them, since global attributes (e.g., xml:lang) require <name> always.
> Yet another QName ....  Ouch!

"<name>xml:lang</name>" would be certainly easy to write,
and consistent to the name attribute, since the name attribute allows
QName.

But from another point of view, you can always write as

<name ns="http://www.w3.org/1998/XML">lang</name>

to achieve the same result.


regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems