Errors in the XML-Signature spec. examples (Namespace defaulting for attributes)

Hi Joseph & Merlin,

while trying to verify Merlins signature examples with our implementation,
I detected the following problem, which applies to Merlins examples as
well as to the examples in the XML-Signature specification in chapter 2.

All the examples are constructed in the following way: A default namespace
attribute is declared in the Signature element (see line [s01] in chapter
2.1),
which should apply to all descendants as well.

The problem is, that a default namespace does not apply to descendant
attributes, but only descendant elements
(see http://www.w3.org/TR/REC-xml-names/#defaulting).

I suggest to assign the XML-Signature namespace via a explicit namespace
attribute (line [s01] could look like

  <XMLSignature:Signature
    XMLSignature:Id="MyFirstSignature"
    xmlns:XMLSignature="http://www.w3.org/2000/07/xmldsig#">

Regards, Gregor
---------------------------------------------------------------
Gregor Karlinger
mailto://gregor.karlinger@iaik.at
http://www.iaik.at
Phone +43 316 873 5541
Institute for Applied Information Processing and Communications
Austria
---------------------------------------------------------------

Received on Friday, 11 August 2000 06:20:40 UTC