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]

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


Andy,

Could you point to the loophole? Either I missed it altogether, or I'm 
tired after a long squawk and can't remember it.

Regards,
Wendell

At 02:44 PM 10/19/00 -0700, you wrote:
>Ben,
>
>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
>MSXSL Dev
>
>
>-----Original Message-----
>From: Ben Skelton [mailto:Ben_Skelton@habaneros.com]
>Sent: Thursday, October 19, 2000 1:56 PM
>To: XSL-List@mulberrytech.com
>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: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
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


======================================================================
Wendell Piez                            mailto:wapiez@mulberrytech.com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
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:  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]