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

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

A more wordy reply...


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

|        |          Wendell Piez   |
|        |          <wapiez@mulberr|
|        |>     |
|        |                         |
|        |          10/19/2000     |
|        |          10:12 AM       |
|        |          Please respond |
|        |          to xsl-list    |
|        |                         |
  |                                                                            |
  |       To:     xsl-list@xxxxxxxxxxxxxxxx                                    |
  |       cc:                                                                  |
  |       Subject:     Re: Error 80004005 eof - Microsoft XML Parser (September|
  |       Drop)                                                                |


I can't speak to the MSXML, but....

.[ancestor::sidebar[1]] expands to


which translates into English as

"Are you a node with an ancestor sidebar that's your first sidebar ancestor?"

This could be simplified as


which translates as

"Do you have an ancestor named sidebar that's the first sidebar ancestor?"

But of course, if there are any sidebar ancestors, there's a first one: why
not just ask

ancestor::sidebar "Do you have any sidebar ancestors?"

Now, you may actually mean


which is XPath for

"Is your first ancestor element a sidebar?"

Or even better:


"Do you have a parent 'sidebar'?"

Yet, to my eye there's nothing syntactically wrong with
".[ancestor::sidebar[1]]". So MSXML may have a bug, even if it's easy to
avoid in this case.

Someone else may be able to speak to differences between the MSXML builds.

Hope that helps!

At 01:55 PM 10/19/00 -0700, you wrote:
>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:when test=".[ancestor::sidebar[1]]">
>     <xsl:choose>
>   <xsl:when test=".[ancestor::sect4
>   <h4><xsl:apply-templates /></h4>
>   </xsl:when>
>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 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:

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
   Mulberry Technologies: A Consultancy Specializing in SGML and XML

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread