> The DOM is allowed to be in a state where there is no xmlns:ns="" 
> namespace declaration and "ns" is used as the prefix of an element or 
> attribute; the serialization code will handle this case by adding the 
> declaration on the fly (and renaming conflicting prefixes if bound to 
> different URIs in the same scope).

*Some* serialization code will do this. Some will not. None of them will
help me deal with signatures effectively, so relying on the behavior of a
serializer is not really an option in my case.

I guess what you're saying is that the DOM3 methods are really not general
purpose, but are intended to be used in conjunction with the DOMLS
serializer.

What seems odd to me is that in effect, the DOMLS code can't rely on these
methods to know when to declare namespaces. That seems kind of strange.

Anyway, I understand that it's intentional behavior, so I'll write my own.

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to