RE: Error 80004005 eof - Microsoft XML Parser (September Drop)

Subject: RE: Error 80004005 eof - Microsoft XML Parser (September Drop)
From: Andrew Kimball <akimball@xxxxxxxxxxxxx>
Date: Thu, 19 Oct 2000 14:44:31 -0700

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

Because of a loophole in the spec, .[ancestor::sidebar[1]] is not a valid
XPath expression.  The July release allowed this syntax, but for the
September release I tightened MSXML's conformance.

Use self::node()[ancestor::sidebar[1]] instead.

~Andy Kimball

-----Original Message-----
From: Ben Skelton [mailto:Ben_Skelton@xxxxxxxxxxxxx]
Sent: Thursday, October 19, 2000 1:56 PM
To: XSL-List@xxxxxxxxxxxxxxxx
Subject: 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:when test=".[ancestor::sidebar[1]]">
  <xsl:when test=".[ancestor::sect4
  <h4><xsl:apply-templates /></h4>

On the September build gives the following

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
see a clear way of doing it unless I do something like this:


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
give me their experience with the stability of the two builds in a
environment. (Yeah, I know it is Beta code, but still...)

Thanks in advance,


Ben M. Skelton
Habanero Studios Limited

604.709.6201 ext. 107
Visit us on the web:

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

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread