<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
					xmlns:content="http://purl.org/rss/1.0/modules/content/"
					xmlns:wfw="http://wellformedweb.org/CommentAPI/"
					xmlns:atom="http://www.w3.org/2005/Atom"
				  >
<channel>
<atom:link rel="self"  type="application/rss+xml"  href="http://rulinux.net/rss_from_sect_4_subsect_6_thread_33755"  />
<title>rulinux.net - Форум - Development - [java] org.w3c.dom</title>
<link>http://rulinux.net/</link>
<description><![CDATA[Портал о GNU/Linux и не только]]></description>
<image><title>rulinux.net - Форум - Development - [java] org.w3c.dom</title>
<link>http://rulinux.net/</link>
<url>http://rulinux.net/rss_icon.png</url>
</image>
<item>
<title>[java] org.w3c.dom</title>
<link>https://rulinux.net/message.php?newsid=33755&amp;page=1#95701</link>
<guid>https://rulinux.net/message.php?newsid=33755&amp;page=1#95701</guid>
<pubDate>Fri, 24 Jun 2011 09:51:00 +0400</pubDate>
<description><![CDATA[<p>тип переменной tmp - org.w3c.dom.Element</p><p> реализация от org.apache.xerces.dom.ElementImpl :</p><p> org.w3c.dom.Element data = tmp.getOwnerDocument().createElement("bla-bla-bla");</p><p>org.w3c.dom.Node node = tmp.cloneNode(true);</p><p>data.appendChild(node);</p><p> приведённый код бросает эксепшн.</p><p>code:org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.</p><p>at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)</p><p>at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)</p><p>at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)</p><p> справшивается, какого херачто ему не нравится? </p>]]></description>
</item>
</channel>
</rss>