W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > February 2010

[closed] Re: p:label-elements

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 11 Feb 2010 11:54:22 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m21vgr67cx.fsf@nwalsh.com>
Innovimax SARL <innovimax@gmail.com> writes:

> Label is defined as p:option name="label"
> select="'concat("_",$p:index)'"/>      <!-- string -->
> but the prose said it is an XPathExpression

Right. It should be an XPathExpression. Fixed.

> This part of the declaration surprises me too
> <p:option name="attribute" select="'xml:id'"/>                <!-- QName -->
>      <p:option name="attribute-prefix"/>
> <!-- string -->
>      <p:option name="attribute-namespace"/>
> <!-- anyURI -->
>
> probably attribute-prefix should be defaulted to "xml" and
> attribute-namespace to "XML Namespace"
> http://www.w3.org/XML/1998/namespace

Nope, you can't specify prefix and namespace if the attribute name
contains a colon.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Wherever they burn books they will
http://nwalsh.com/            | also, in the end, burn human beings.--
                              | Heine

Received on Thursday, 11 February 2010 16:54:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 11 February 2010 16:54:56 GMT