xsl-list
[Top] [All Lists]

exclude-result-prefixes

2003-01-16 09:33:09
Is the following stylesheet correct? It designates the default namespace as excluded without a declaration of the default namespace:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        version="1.0"
        exclude-result-prefixes="#default">
...
</xsl:stylesheet>

The xslt rec says: "It is an error if there is no namespace bound to the prefix on the element bearing the exclude-result-prefixes or xsl:exclude-result-prefixes attribute.", so I would expect its not correct.

I'm asking because Xalan and Saxon accept such a stylesheet.

regards,
Johannes


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>