Project

Profile

Help

Bug #2088

closed

Namespace argument not used

Added by O'Neil Delpratt almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2014-06-12
Due date:
% Done:

100%

Estimated time:
Found in version:
0.2
Fixed in version:
0.3.1
Platforms:

Description

The namespace argument of setParameter is currently not be used.

In general parameters can have qualified names with a namespace and a

local name so the first parameter is likely the namespace URI, in case

you would define

<xsl:param name="pf:param-name" xmlns:pf="http://example.com/"/>

you would set

setParameter("http://example/com/", "param-name", value)

Actions #1

Updated by O'Neil Delpratt almost 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

As recommended by Mike Kay. I have gone with the JAXP solution. Where we use a single parameter in the form "{uri}local" in the case where the name is namespaced.

Therefore we will have the following in the Saxon/C API:

setParameter("{http://example/com/}param-name", value)

If the case where parameter is not namespaces it is as follows:

setParameter("param-name", value)
Actions #2

Updated by O'Neil Delpratt almost 10 years ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 0.3.1

Bug fixed in Saxon/C bete release 0.3.1

Please register to edit this issue

Also available in: Atom PDF