Hi,

I've come across a curious issue. I was wondering if anyone can shed some light on it.

I'm cloning a Document node using cloneNode(doc, true)
It seems to work fine unless I have added a node of the following form into the doc -

<Citation xlink:href="http://xml.apache.org"; xlink:role="Organisation" xlink:title="Apache" xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink";>Apache XML</Citation>

when I get a DOMException NAMESPACE_ERR when it's cloning the Attributes. I've confirmed that the Citation node is of the correct form and that the xmlns:xlink attribute is present. It seems to be OK when I clone a Node other than the Document node.

I'm using the Xerces xml Parser API version 2_1_0.

Thanks,
Justin.


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

Reply via email to