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

Interpretation issue regarding PI nodes

From: Lars Marius Garshol <larsga@ontopia.net>
Date: Thu, 06 Jan 2005 17:39:00 +0100
To: w3c-ietf-xmldsig@w3.org
Message-ID: <m3mzvmjyvv.fsf@ontopia.net>

I'm uncertain how PI nodes which are not included in the input node
set should be processed. As far as I understand the specification,
given the document

  <doc><a>Hey</a> <b>Ho</b></doc>

and a node set containing only the <a> element, the output of
canonicalization will be


which is fine.

However, given the document

  <doc><a>Hey <?a pi?></a> <b>Ho</b></doc>

and the same node set (still only the <a> node), what is the output?

Is it

  <a>Hey </a>


  <a>Hey <?a pi?></a>

Whether this merits an erratum I don't know, but I would certainly
appreciate knowing the answer. :)

Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50                  <URL: http://www.garshol.priv.no >
Received on Thursday, 6 January 2005 16:40:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:40 UTC