Skip to content

Missing output namespace declaration #165

@github-nilsson

Description

@github-nilsson

Using the following XSLT

  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:q="urn:Q" version="1.0">
    <xsl:template match="/">
      <q:text>Out</q:text>
    </xsl:template>
  </xsl:stylesheet>

The resulting output from xmlParse on a document is the incomplete XML <q:text>Out</q:text> while the same code results in <q:text xmlns:q="urn:Q">Out</q:text> using XSLTProcessor.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions