Project

Profile

Help

Support #5870

closed

If the root element is html, indent=yes by default

Added by David Cramer about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2023-02-03
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

In Saxon 10.6 (e.g. using the debugger in XML Editor 24.1), if you do an identity transform of a document with a root element <html> (either in no namespace or in the xhtml namespace), the result document is treated as if you'd added <xsl:output indent="yes"/> unless you explicitly add <xsl:output indent="no"/> . In all other contexts that I'm aware of, <xsl:output indent="no"/> is the default. I believe this was the behavior in older versions of Saxon since a user found a regression where whitespace was being added from an XSLT that we've been using for some time.

Please register to edit this issue

Also available in: Atom PDF