This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: running msxml3 from command line


Mike,

You're right, my interpretation was wrong.  I'm glad this came up.  I'll fix
this for the next release.

~Andy Kimball
MSXSL Dev

-----Original Message-----
From: Kay Michael [mailto:Michael.Kay@icl.com]
Sent: Tuesday, August 01, 2000 1:42 AM
To: 'xsl-list@mulberrytech.com'
Subject: RE: running msxml3 from command line


> The reason that your stylesheet is breaking is that the newest MSXSL
> processor is more strictly conformant.  xsl:apply-templates 
> instructions may not contain PCDATA nodes (only xsl:with-param or xsl:sort

> element nodes) according to the spec.

Interesting interpretation! Are you relying on Appendix B (which uses a
notation that is not formally specified) or Appendix C (which is
non-normative)? Or is there something in the text that I missed?

> Since the xsl:apply-templates instruction has an
> xml:space="preserve" attribute in-scope, the whitespace nodes 
> surrounding the xsl:with-param instructions are preserved, and thus the
error.

I can't see anything in the XML spec that says xml:space="preserve"
overrides the normal rule that an element with element content (as distinct
from mixed content) may validly contain whitespace between the child
elements.

Mike Kay

> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]