-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
According to the XSLT (3.0) spec <xsl:namespace>
requires a name
attribute, but its value can be zero-length effectively to create a default namespace node.
The following XSLT causes the false error XSLT: Invalid XSLT name: ''
for the case described:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="#all" version="3.0">
<xsl:template match="/*" mode="#all">
<element>
<xsl:namespace name="" select="'urn:default-namespace'"/>
</element>
</xsl:template>
</xsl:stylesheet>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working