W3C home > Mailing lists > Public > xproc-dev@w3.org > December 2008

Re: calabash: redefining standard step

From: Dave Pawson <dave.pawson@gmail.com>
Date: Thu, 11 Dec 2008 16:08:08 +0000
Message-ID: <711a73df0812110808v7c3281adn36c1a433dc0d1efc@mail.gmail.com>
To: "XProc Dev" <xproc-dev@w3.org>

2008/12/11 Norman Walsh <ndw@nwalsh.com>:
> "Dave Pawson" <dave.pawson@gmail.com> writes:

>> Surely p:stepName and foreign:stepName should be
>> different by your previous logic?
>
> It's a string, but:
>
>   The step-type string must have the form of a QName; the QName is
>   expanded into a name using the namespace declarations in scope for
>   the expression.
>
> it's turned into a QName, so the prefix is irrelevant.

So p:step-available("Hello World") is valid?

Wouldn't the namespace be obtained from the environment in
which the function is called?

Stealing the text from 2.7.1

"The step-type string must have the form of a QName; the QName is
expanded into a name using the namespace declarations in scope for the
expression. "

I think that helps.

regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
Received on Thursday, 11 December 2008 16:08:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 11 December 2008 16:08:55 GMT