- From: merlin <merlin@baltimore.ie>
- Date: Tue, 04 Jun 2002 16:44:08 +0100
- To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
- Cc: w3c-ietf-xmldsig@w3.org
Hi Christian, r/geuer-pollmann@nue.et-inf.uni-siegen.de/2002.06.04/17:20:13 >OK, I see. But what's up with attributes? We make exclusive c14n on a >nodeset where an attribute is in the document subset and the owner element >of the attribute is NOT in the document subset: > >Q: Do I output the attribute? Yes. Exclusive c14n is concerned with suppressing unnecessary namespace nodes which may be inherited from a changed document context; not attributes notes which are not. Merlin >Regards, >Christian > >--On Dienstag, 4. Juni 2002 15:52 +0100 merlin <merlin@baltimore.ie> wrote: > >> Hi Christian, >> >> Namespace nodes are not output if their parent element >> is not in the node set, unless their prefix is in >> IncusiveNamespaces.PrefixList. >> >> http://www.w3.org/Signature/Drafts/xml-exc-c14n.html >> Section 3, item 3 >> [A namespace node not in IncusiveNamespaces.PrefixList is ignored if] >> 1. Its parent element is not in the node set >> >> Merlin >> >> r/geuer-pollmann@nue.et-inf.uni-siegen.de/2002.06.04/16:19:56 >>> Hi Merlin, just a short question about exclusive c14n: >>> >>> In your (inclusive) c14n samples, you outputted attribute nodes and >>> namespaces if they are in the document subset while their owner element >>> is not. >>> >>> Q: Does the same apply for exclusive c14n? For example, the 'A' element >>> is not in the subset but it's namespace and attribute axis: ([] denotes >>> "in the document subset): >>> >>> input: >>> >>> <A [d:a="foo"] [xmlns:a="http://a"] /> >>> >>> output: >>> >>> xmlns:a="http://a" d:a="foo" >>> >>> >>> Is this correct? >>> >>> >>> Regards, >>> Christian >
Received on Tuesday, 4 June 2002 11:44:40 UTC