In-scope namespaces and parameter values

On the last call, Alex asked about making sure that the in-scope
namespaces were kept with each p:parameter so that it would be
possible for steps to interpret QNames in values correctly.

I can't think of a good way to make this work.

In particular, I don't know of any APIs that allow you to do this.

Consider

  <p:xslt>
    <p:parameter name="foo" value="x:foo" xmlns:x="XXX"/>
    <p:parameter name="bar" value="x:bar" xmlns:y="YYY-NOT-XXX"/>
  </p:xslt>

Does anyone know of an XSLT engine which accepts a set of parameters
with different in-scope namespaces for each parameter?

If the *XProc processor* knows that the value of a parameter (or
option) is a QName, then it can do the right thing, but I don't think
we need to say anything special about that case.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Friday, 9 March 2007 19:59:12 UTC