Error in 7.1.5 p:delete

The specification states that p:delete "cannot be used to remove 
namespaces. It is a dynamic error (err:XC0062) if the match option 
matches a namespace node. "

Unless I'm mistaken, this error code appears to be redundant becaise an 
XSLT pattern does not permit matching of namespaces (the namespace axis 
isn't available).  See:

http://www.w3.org/TR/xslt#patterns
http://www.w3.org/TR/xslt20/#patterns

The test case:

Test err:XC0062 #001
<p:pipeline version="1.0" xmlns:p="http://www.w3.org/ns/xproc">
       <p:delete match="namespace::test" />
</p:pipeline>

is therefore wrong because namespace::test is not a valid 
XSLTMatchPattern.  Perhaps this should be expecting err:XD0028.

Received on Wednesday, 29 August 2012 13:55:24 UTC