Error 80004005 eof - Microsoft XML Parser (September Drop)

Subject: Error 80004005 eof - Microsoft XML Parser (September Drop)
From: "Ben Skelton" <Ben_Skelton@xxxxxxxxxxxxx>
Date: Thu, 19 Oct 2000 13:55:56 -0700

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@xxxxxxxxxxxxx
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


Current Thread