W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2002

RE: here() context and comment nodes

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Tue, 07 May 2002 20:34:59 +0200
To: John Boyer <JBoyer@PureEdge.com>
cc: w3c-ietf-xmldsig@w3.org
Message-ID: <7278796.1020803699@crypto>
--On Dienstag, 7. Mai 2002 10:37 -0700 John Boyer <JBoyer@PureEdge.com> 
wrote:

> The expectation of comment infestation in the XPath element content was
> the biggest reason why we defined here() to return the element node
> parent when it didn't appear in an attribute.  Here's the one that
> originally shook my boots, so to speak:
>
> he<!-- Yikes -->re()/blah/blah/blah
>
> This is legal XML, so it has to be supported.  In general, take the
> 'string' corresponding to the Xpath element content, which concatenates
> all text nodes descendants.

Hi John,

OK, that's what I do. Interesting that the above is legal. Maybe we should 
include such an obfuscation into our interops ;-)

Thanks,
Christian
Received on Tuesday, 7 May 2002 14:30:57 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:15 GMT