- From: Tim Mills <tim@cbcl.co.uk>
- Date: Wed, 29 Aug 2012 14:56:51 +0100
- To: public-xml-processing-model-comments@w3.org
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