Subject: RE: running msxml3 from command line From: Andrew Kimball <akimball@xxxxxxxxxxxxx> Date: Mon, 31 Jul 2000 13:41:44 -0700 |
Chris, 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. 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. In the opinion of you and other list-dwellers: 1. Is this truly the conformant behavior? (in which case XT and Saxon have bugs) 2. Even if it is conformant, should processors enforce this, as it is quite inconvenient to work around? Maybe invalid whitespace-only nodes within instructions should just be ignored. ~Andy Kimball MSXSL Dev -----Original Message----- From: Chris Bayes [mailto:Chris@xxxxxxxxxxx] Sent: Monday, July 31, 2000 1:05 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: RE: running msxml3 from command line I can't say without seeing your docs but that is an error from the parser itself not the script. I just installed the july release and am getting odd errors on stylesheets that did run on the last one. See dirtoftp.xslt. Works fine in xt and saxon and the last release but spits the dummy with Keyword xsl:apply-templates may not contain PCDATA nodes. ho hum >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Sebastian Rahtz >Sent: 31 July 2000 12:11 >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: running msxml3 from command line > > >Chris Bayes writes: > > sheesh i can't type > > oh well it is friday evening and i should be down the pub > > http://www.bayes.co.uk/xml/index.xml?/xml/utils/translate.xml > > >does this work for anyone? the Microsoft IE5.5 + July update which I >just installed says that its an invalid XML declaration > >sebastian > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: MSXML namespace problem..., Julian Reschke | Thread | RE: running msxml3 from command lin, Chris Bayes |
MSXML namespace problem..., Gene Lake | Date | RE: running msxml3 from command lin, Chris Bayes |
Month |