Actions
Feature #5082
open![Author: Air Quick](https://www.gravatar.com/avatar/c086cf0b5452cc2d82976346ecfc8d5d?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
inherit-namespaces="no" not setting xmlns="" (Saxon Bug #4696)
Status:
In Progress
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2021-09-07
Due date:
% Done:
0%
Estimated time:
Applies to JS Branch:
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
https://saxonica.plan.io/issues/4696 is reproduced on Saxon-JS 2.3.
$ cat test.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet exclude-result-prefixes="#all" version="3.0" xmlns:x="x"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output indent="yes" />
<xsl:template as="element(x:description)" name="xsl:initial-template">
<xsl:element inherit-namespaces="no" name="description" namespace="x">
<x:scenario>
<e />
</x:scenario>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
$ npx xslt3 -it -xsl:test.xsl
npx: installed 4 in 1.226s
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="x">
<x:scenario xmlns:x="x">
<e/>
</x:scenario>
</description>
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page