RE: [xsl] Collapsing run-on tag chains not working in saxon or xalan

Subject: RE: [xsl] Collapsing run-on tag chains not working in saxon or xalan
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 2 Nov 2004 09:38:12 -0000
> XSLT 1.0 is 100% clear on this.
> 
> Microsoft are in violation of the standard.

Sorry, but that's not 100% clear.

The conformance rules require an XSLT processor to transform a source tree
into a result tree. They don't require the source tree to be constructed
from source XML in any particular way. There is specific mention in the XSLT
1.0 spec of the possibility of starting from a DOM, and the question of
whether or not the DOM retains whitespace that was in the original XML
source (if there was an original XML source) is completely outside the scope
of the XSLT spec.

Yes, on the face of it, Microsoft aren't doing what the spec suggests: but
there is wriggling room in the small print.

Michael Kay
http://www.saxonica.com/

Current Thread