Project

Profile

Help

copy-namespace mode no-inherit in pull mode

Added by Anonymous almost 18 years ago

Legacy ID: #3947235 Legacy Poster: marcvc (marcvc)

Michael, you might be interested knowing this. Using the -pull, consider the following query: declare copy-namespaces preserve, no-inherit; let $n := <a xmlns:a="a">a</a> return <aa xmlns:aa="aa">{$n}</aa>/a It evaluates to <a xmlns:a="a" xmlns:aa="aa">a</a> Looks like no-inherit doesn't behave properly in pull mode. Regards, Marc


Replies (1)

RE: copy-namespace mode no-inherit in pull mo - Added by Anonymous almost 18 years ago

Legacy ID: #3950923 Legacy Poster: Michael Kay (mhkay)

This is actually a known restriction, in the sense that there's a "TODO" comment in PullNamespaceReducer that says it isn't yet implemented. That doesn't make it an acceptable restriction, of course. In the short term I'll add a note of the restriction to the Conformance page in the documentation, which will automatically make it a high priority for fixing in the next release. I'll put the enhancement out as a patch if and only if I find that it's low-risk.

    (1-1/1)

    Please register to reply