Re: calabash: redefining standard step

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 UTC