You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by tom john <cy...@yahoo.com> on 2002/04/04 16:06:44 UTC
Error importing node with rdf
hi,
i need to import a node to a new document. but gives
error if a node contains 'rdf' tags.
can anyone help me with this problem?
here is how i am doing now.
'node' - a node i have to import
Document newDoc = new DocumentImpl();
newDoc.importNode(node, true);
ERROR MSG i get
org.w3c.dom.DOMException: DOM003 Namespace error
at
org.apache.xerces.dom.AttrNSImpl.<init>(AttrNSImpl.java:125)
at
org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(CoreDocumentImpl.java:1355)
looks like i have to specifiy namespace... how can i
do that?
thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org