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

Subject: RE: Error 80004005 eof - Microsoft XML Parser (September Drop)
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 20 Oct 2000 13:30:27 +0100
Andy,

At 04:47 PM 10/19/00 -0700, you wrote:
The loophole exists in the XPath BNF:

[4] Step ::= AxisSpecifier NodeTest Predicate* | AbbreviatedStep

[12] AbbreviatedStep ::= '.' | '..'

The AbbreviatedStep may not have a predicate after it, unlike a regular
NodeTest Step.  I can't think of a reason why this shouldn't be allowed, so
I assume it was an oversight by the W3C committee.  Maybe it will be fixed
in Errata or in a future version of XPath.

Thanks for this. It could turn up as a gotcha anytime. "No predicates after abbreviated steps . or .."


So Ben, .[ancestor::sublist[1]] should be rejected by a conforming processor.

Regards,
Wendell

======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
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



Current Thread