Peter B. West schrieb:
<SNIP ---- SNAP>

Werner,

It helped a great deal. I'm embarrassed at my misreading of the API.

I forgot about the xmlns *namespace* itself, possibly because
createElementNS has no need for its explicit expression.

Aside from the embarrassment though, it remains the case that the
serializer does not need the assistance of setAttributeNS; it does this
job itself. Is that unreasonable? What other interpretation of
createElementNS is possible?

I have no idea what a serializer does - however, the c14n serializer
does not include the xmlns:ds="...." attribute if it is not present
at the element. If you the try to parse the resulting XML doc the
parser complains regarding "namespace prefix not bound" (or something
simliar).

See the discussins I hat with Scott and Raul because of a modification
in xmlsec-1.4.2 where the KeyInfo object (element) was modified to omit
the namespace declaration for the ds: prefix. Which resulted in problems.

Regards,
Werner


Peter


Reply via email to