Bug #3995

Undocumented and untested extensions to xsl:source-document

Added by Michael Kay over 1 year ago. Updated 6 months ago.

In Progress
Saxon extensions
Start date:
Due date:
% Done:


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


The 9.9 implementation of xsl;source document includes code to implement a number of extension attributes which appear (as far as I can tell) to be undocumented and untested. These include:

saxon:dtd-validation=yes|no - controls whether DTD validation takes place

saxon:expand-attribute-defaults=yes|no - controls whether attribute defaults defined in the schema or DTD are expanded

saxon:line-numbering=yes|no - controls whether line numbers are maintained for the document

saxon:xinclude - controls whether XInclude processing takes place

saxon:strip-space - controls the whitespace stripping that is applied

These extensions should either be properly documented and tested, or removed.


#1 Updated by Michael Kay over 1 year ago

  • Subject changed from Undocumented and untested extensions to xsl;source-document to Undocumented and untested extensions to xsl:source-document

#2 Updated by Michael Kay over 1 year ago

saxon:line-numbering now working and tested in xslt30extra/source-document

#3 Updated by Michael Kay over 1 year ago

saxon:strip-space now working and tested. Allowed values #all, #none, #ignorable, #default.

#4 Updated by Debbie Lockett 12 months ago

9.9.1 release included the code fixes to allow saxon:line-numbering and saxon:strip-space attributes. The documentation has (belatedly) now been updated, see xsl-elements/source-document and extensions/attributes.

Committed on 9.9 and 10.0 dev branches. 9.9 documentation updated online (XML and HTML versions).

#5 Updated by Michael Kay 6 months ago

  • Category set to Saxon extensions
  • Status changed from New to In Progress
  • Priority changed from Low to Normal

Contrary to the documentation, these extensions are currently working in Saxon-HE. In accordance with the general policy that Saxon extensions require PE or EE, this will be changed.

Please register to edit this issue

Also available in: Atom PDF