You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2005/01/11 11:53:19 UTC
DO NOT REPLY [Bug 33039] New: -
renameNode without Namespaces declarations
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33039>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33039
Summary: renameNode without Namespaces declarations
Product: Xerces-J
Version: unspecified
Platform: PC
URL: http://xml.apache.org/xerces2-
j/javadocs/xerces2/org/apache/xerces/dom/CoreDocumentImp
l.html
OS/Version: Windows 2000
Status: NEW
Keywords: Xerces2
Severity: normal
Priority: P1
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: rushtorahul@gmail.com
I need to rename a Node. I have set the parser option
parser.setFeature ("http://xml.org/sax/features/namespaces",0)
An "org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR" is thrown back.
The renameNode docs at http://xml.apache.org/xerces2-
j/javadocs/xerces2/org/apache/xerces/dom/CoreDocumentImpl.html says that
it's "DOM Level 3 WD - Experimental"
Is there a right direction to rename a Node with the parser set to skip
attributes used for Namespace declarations, and optionally do not report
original prefixed names.
Tia
Rahul
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org
Re: DO NOT REPLY [Bug 33039] New: - renameNode without Namespaces
declarations
Posted by Joseph Kesselman <ke...@us.ibm.com>.
>Is there a right direction to rename a Node with the parser set to skip
>attributes used for Namespace declarations, and optionally do not report
>original prefixed names.
The obvious solution: Generate the new node, move the old node's
children/attributes to the new node, replace the old node with the new
node.
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org