XPath errors in specifications

The following XPath expressions are invalid according to XPath
1.0.  We can not add a predicate to '('...')'.

REC-xml-c14n-20010315:
2.1	(//. | //@* | //namespace::*)[not(self::comment())]
3.7	(//. | //@* | //namespace::*) 
[ 
   self::ietf:e1 or (parent::ietf:e1 and not(self::text() or self::e2)) 
   or 
   count(id("E3")|ancestor-or-self::node()) = count(ancestor-or-self::node()) 
] 

CR-xml-exc-c14n-20020212:
2.1	(//. | //@* | //namespace::*)[ancestor-or-self::n1:elem1]
2.2	(//. | //@* | //namespace::*)[ancestor-or-self::n1:elem2]


In general,
	(//. | //@* | //namespace::*)[expr]
must be
	(//.[expr] | //@*[expr] | //namespace::*[expr])

-- 
TAMURA Kent @ Tokyo Research Laboratory, IBM

Received on Wednesday, 6 March 2002 23:18:18 UTC