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

Re: Question for implementors: XPath model and CDATA sections

From: Joseph Reagle <reagle@w3.org>
Date: Wed, 20 Feb 2002 14:43:26 -0500
Message-Id: <200202201943.OAA19473@tux.w3.org>
To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>, plh@w3.org
Cc: w3c-ietf-xmldsig@w3.org
This sounds like it is what Philippe recommends.

On Friday 15 February 2002 17:43, Christian Geuer-Pollmann wrote:
> I do the following: My c14n eats a NodeList which is a list of all (DOM)
> Nodes which are to be serialized. Then I traverse the DOM tree using a
> TreeWalker and if the current node is in the list, I output it. Now the
> tweak: when I encounter a Text/CDATA node which is in the list, I output
> all next-siblings of type Text/CDATA without checking whether they are in
> the list.
> Any ideas whether this is correct?


Joseph Reagle Jr.                 http://www.w3.org/People/Reagle/
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/Signature/
W3C XML Encryption Chair          http://www.w3.org/Encryption/2001/
Received on Wednesday, 20 February 2002 14:43:29 GMT

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