| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED]
| Behalf Of Jeroen Breedveld
| Sent: dinsdag 15 januari 2002 16:26
| To: [EMAIL PROTECTED]
| Subject: Bug with insert attributes with namespaces
|
|
| Hi,
|
| I found a bug in InsertAtttribute.java when inserting attributes with
| namespaces:
Solved this bug by replacing line 90:
contextNode = ((Element)contextNode).setAttributeNode(
attribute );
with:
((Element)contextNode).setAttributeNode( attribute );
and line 94 (namespaces case):
contextNode = ((Element)contextNode).setAttributeNodeNS(
attribute );
with:
((Element)contextNode).setAttributeNodeNS( attribute );
greetings,
Jeroen Breedveld
--
X-Hive Corporation
e-mail: [EMAIL PROTECTED]
phone: +31 10 7108622
http://www.x-hive.com
----------------------------------------------------------------------
Post a message: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Contact administrator: mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------