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]

Error 80004005 eof - Microsoft XML Parser (September Drop)




Hello All,

I am having a problem with the September drop of the Microsoft Parser.

In the stylesheet I have the following code, which works fine with the July
build of the parser but not the September build:


<xsl:template match="title">
  <xsl:choose>
<xsl:when test=".[ancestor::sidebar[1]]">
    <xsl:choose>
  <xsl:when test=".[ancestor::sect4
[1]]">
  <h4><xsl:apply-templates /></h4>
  </xsl:when>


On the September build gives the following
error...


msxml3.dll error '80004005'

Expected token 'eof' found '['. //-->[<-- ancestor::sidebar[1]]

/ofleet/default.asp, line 192


I think it is the way I have referenced the current node with the . but don't
see a clear way of doing it unless I do something like this:

../title[ancestor::sect4[1]]

Which seems a little clunky to me.


Can anyone please let me know of the correct syntax to use and why this build is
specifically choking on this piece of code. It would be great if anyone could
give me their experience with the stability of the two builds in a production
environment. (Yeah, I know it is Beta code, but still...)

Thanks in advance,

_Ben

---------------------------------
Ben M. Skelton
Habanero Studios Limited

604.709.6201 ext. 107
bskelton@habaneros.com
Visit us on the web: http://www.habaneros.com

Come visit us in the Microsoft booth at eWorld.
October 24-26, 2000
Vancouver Convention & Exhibition Centre



 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]