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,

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