DOMException after XMLNode.appendChild() with xdk 9.2.0.5.0

Hi,
the XMLNode.appendChild(XMLNode)- method returns a DOMException (Message: Node doesn't belong to the current document. Code: 4) while using the Oracle XDK Java 9.2.0.5.0 Production. Tested on Oracle8 and 9i.
Changing to the older Version Oracle XML Parser 2.0.2.9.0 Production everything works fine!
Code:
import oracle.xml.parser.v2.XMLNode;
XMLNode subRoot = (XMLNode)((XMLNode)(subDoc.getDocumentElement())).cloneNode(true);
XMLNode targetNode = (XMLNode)doc.selectSingleNode(data.nodePath);
targetNode.appendChild(subRoot); => EXCEPTION
(Oracle JDeveloper9i Vers.9.0.3.1035)
Any suggestions?
Thanks,
Stefan

Found solution in Oracle Metalink (DOC 228834.1):
Use functions to detach the node from its owner document before using xmldom.appendChild:
xmldom.importNode - to make a copy of the node
xmldom.adoptNode - to move the node
See API for more details!

Similar Messages

  • Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing!

    Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing! I am desperate to get access to my itunes to get music on my phone and all of this just makes me want me to sell my iphone since there is no other way to add music to my phone. If things go get sorted soon you can say goodbye to my support.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • I'm using Iphone 5 .After updating it with the latest software i.e iOS 7.0.6 I'm not able to see the wats app and imsg on my notification until and unless i activate the "Show on Lock Screen" which was not same as in the earlier software version.Help plz

    I'm using Iphone 5 .After updating it with the latest software i.e iOS 7.0.6 I'm not able to see the wats app and imsg on my notification center when my phone is locked until and unless i activate the "Show on Lock Screen" under each application. which was not same as in the earlier software version.I dnt want my messages or watsapp msges to be displayed on home screen when locked but should be displayed on the notification center on lock condition.
    Please suggest a solution or @Apple please get a software release which can remove this bug .

    We aren't Apple, just users like you. Have you tried a reset? Hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • After I sync with iTunes my iPad Calendar is not updated from my computer where I keep my dates on Abacus. It used to do this. What's wrong?

    After I snync with iTunes my iPad Calendar is not updated from my computer where I keep my dates in Abacus. It used to do this.

    Follow the instructions of tt2 in: https://discussions.apple.com/thread/5822086

  • After a tryout with AdBlock, the videos on Facebook, on BBC and on some others websites stopped working and there's always a message asking me to install the latest version of the Flash Player. Even though it's already installed. How can I fix that?

    After a tryout with AdBlock, the videos on Facebook, on BBC and on some others websites stopped working and there's always a message asking me to install the latest version of the Adobe Flash Player. Even though it's already installed the situation remains the same since the last month.
    Can I fix that just doing the upgrade for the Yosemite?

    Well, after hours of trying to figure it out I gave up and un-installed and re-installed that last verion of Adobe Flash Player and now it seems I can play games again in Messenger. Everything else had been fine just that. I can only figure it was because it was having a hard time updating the first time and took me 3 tries. So even though it said it was installed, apparently it wasn't done correctly.
    Though when I couldn't figure out what was wrong at first I looked and checked to see all the things were enabled that were supposed to be and they were.
    I even tried to go to the Adobe site and download the last version I had and couldn't find it. Kept coming up with the new version. Others said if you download a particular older version it may not have all the security features in it.
    This really gets to be a bit much, especially when you're by yourself and have only a smattering of knowledge of technical things.
    Thanks fore responding to my question.
    DFelice

  • DVD authoring after editing project with FCP X

    FCP X has extremely limited DVD authoring options within it. Can't put more than one short movie on a disc, only two menu templates to choose from, etc. So my question is what do I use to author a DVD after editing projects with FCP X? I know I need to use Compressor to set chapter points, etc., but what do I use to build the DVD menu and burn the DVD? I certainly hope I am not limited to iDVD only, which is not really a pro application, and I gather that DVD Studio Pro is no longer being sold. Amazingly, I asked this question at a One-to-One session at an Apple Store and the guy there suggested Adobe Encore ... I was totally shocked! Does anyone have an answer to all this?

    Encore is very good, but you have to buy PPro to get it, you could look on eBay for a copy of DVDSP. It does look like Apple will not be offering a Pro Level DVD authoring package anymore, it's a shame as DVDSP works very well still and they could have just offered it as a standalone.

  • The boot camp manager keeps quitting after re-start with an error message, why? I've installed the latest updates for XP 32bit

    The boot camp manager keeps quitting after re-starts with an error message, why? I've installed the latest updates for XP 32bit

    Alveto wrote:
    The boot camp manager keeps quitting after re-starts with an error message, why? I've installed the latest updates for XP 32bit
    Are we supposed to guess what the error message is?

  • HT201210 The iPod "iPod" could not be restored. An unknown error occurred (1).This is my Ipod 32 GB, which is out of warranty and is 1G-A1213 and had gone kaput, after having issues with iTunes Software as it was not able to run Music on my IPod when conn

    The iPod "iPod" could not be restored. An unknown error occurred (1).This is my Ipod 32 GB, which is out of warranty and is 1G-A1213 and had gone kaput, after having issues with iTunes Software as it was not able to run Music on my IPod when connected.
    I have wasted my precious 2 days and nights and am lost all my hope...APPEAL TO ALL GEEKS TO RESOLVE MY ISSUE ON HUMANITARIAN GROUNDS ATLEAST WITH SOME VALID TIME OF YOURS.
    All mails can be sent to [email protected]
    Restore of Ipod back up is present...but is not getting restored due to some iTunes issue with playing my music files.It says restoring and extracts but failes in 1 min with the said error.

    Other users and reported error 1 but I have not seen a solution.
    Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar                          

  • My ipod shuffle (4th gen) don't works after hard reset with itunes

    My ipod shuffle (4th gen) don't works after hard reset with itunes, it don't reads too like USB by Windows.
    Before that i've seen error (-50) in iTunes, so i reset ipod.
    I've read all tips on this site, but nothing helps me.

    No, USB works good. I've tried reset on my friend's PC, and it saw my ipod and reset was done. But when i tried to load music, it wrote me, that i've installed incorrect software.

  • Iphone contacts "not available" to car phonebook after messing around with Outlook.pst file names and backups. Iphone4 connects to car though and other phones connect properly.

    iphone contacts "not available" to car phonebook after messing around with Outlook.pst files, names and backups, on my ms XP 2003 laptop. I substituted a much smaller new Personal Folder -Contacts File, with a smaller list of phone numbers (4 only as a test) which successfully synced to the iPhone 4. The iPhone connects to the Skoda Octavia HandsFreeSystem OK (Bluetooth works fine), but now iPhone wont load the new Contacts as it did originally. However a family Nokia (never messed with) can connect properly. So must be the iPhone or more likely an Outlook.pst \ Contacts problem. Ideas?

    After fiddling a little more, the following fixed my corrupted outlook.pst file:
    1) I made a backup
    2) In outlook under file, I exported the calendar to excel
    3) In outlook under file, I imported the calendar back to outlook
    And voila, it worked.

  • I'm a MB Pro beginner (after 25 years with PC). I have an Iomega ext HD, but how do get it indexed. I'm trying searches in Finder, and it says "searching Iomega drive" - but I don't think it's indexing. How do I force it to index?

    I'm a MB Pro beginner (after 25 years with PC). I have an Iomega ext HD, but how do get it indexed?, and it doesn't come up with any results I'm trying searches in Finder, and it says "searching Iomega drive" - but I don't think it's indexing. How do I force it to index?

    Well I'm leaning the other way. I think my present MBP will be the last Apple product I buy.
    With the way Apple is going, all New Mac computers are sealed unit that don't allow the user to upgrade them in any way. They are getting more expensive initially. They are impossible to fix, even by Apple. All the parts are either soldered to the Logic Board or glued inside the case parts. The add on warranty only covers manufacturing defects and is expensive. And to fix one out of waranty is close to if not more then a new system.
    The only thing different in a Mac, and most other products Apple sells, is the operating system and the cases they come in. As for the OS both have their glitches and at this time there are no viruses that infect OS X. There is more software available for Windows. More choices as to what hardware you can use or upgrade to at a later date.
    Mac computers are becoming large iPads or iPhones with built in keyboards.
    jeremy_from_rome wrote:
    And as for the question: PC or Mac, the consensus that I hear from colleagues and friends is just as you state it: stay with Mac, be patient, work at it, and you’ll never look back! Thanks again

  • HT1386 My phone can not activete to the server after updating it with ios 6.1.3 update

    Am using an apple 3g after updating it with ios 6.1.3 update it is failling to activete th the server.What should i do to have it work?

    John Bwalya wrote:
    Am using an apple 3g ...
    The iPhone 3G can Only update as far as iOS 4.2.1
    John Bwalya wrote:
    ... after updating it with ios 6.1.3 update it is failling to activete th the server....
    See this discussion.
    https://discussions.apple.com/message/21189708

  • Why the removed flag will be resumed after re-sync with MS Exchange server (2010)

    Dear Sir:
         I had a big problem using Lion mail application. I like the program since it's quite simple and useful. But this problem makes me not able to work with Lion mail program continaully.
         In Lion mail, I import my office mail account which based on MS Exchange server 2010. I just found some mails (sorry I cannot fina any rule) which ever be flagged, when I try to un-flag them. The flag status will come back after re-sync with mail server. But the status doesn't happen with all mails I had. One thing I can confirm is, the "specific" mail doesn't be marked with any status after I checked them using Outlook application (both Mac Office 2011 or Windows Office 2010). Have you ever received similar feedback? Please help me to resolve this issue ASAP. Thank you.
    -Joseph

    When the original message is accessed using IMAP, the reply method uses the information in the
    IMAP ENVELOPE to determine where to send the reply. It first looks for the Reply-To address
    in the ENVELOPE, then the From address.
    Interestingly, when not using IMAP, the getFrom method returns the Sender header if the From
    header is empty. The IMAP-specific code doesn't do that, although perhaps it should.
    It would be interesting to compare the ENVELOPE data from the protocol trace in the two cases.
    The ENVELOPE data will follow this syntax:
    envelope     = "(" env-date SP env-subject SP env-from SP
              env-sender SP env-reply-to SP env-to SP env-cc SP
              env-bcc SP env-in-reply-to SP env-message-id ")"
    So it's the first three address fields after the Subject that are relevant. If the From and Reply-To
    fields are NIL, but the Sender field has a valid address, let me know. I should probably fix the
    IMAP provider to fall back to the Sender field if the From field is missing.

  • Is there a update for adobe after effects compatible with the mac os x 10.9.5 ?

    is there a update for adobe after effects compatible with the mac os x 10.9.5 ?

    If you are using After Effects CS6 (11) or After Effects CC (12), then install the updates:
    http://adobe.ly/AE_CC_1201_Mavericks

  • Why after signing in with adobe ID won't my kobo book download ?

    WWhy after signing in with Adobe I D won't my kobo book download ?@

    Moved to Adobe Digital Editions

Maybe you are looking for

  • Formula field won't display

    Post Author: Richard bates CA Forum: General Sorry for the overly-generic subject, but I'm not exactly sure how to classify this problem.  I'm convinced it's a Crystal Reports bug but would be delighted to be convinced otherwise.  Here's the issue: W

  • Blu-ray Menus

    I posted a question earlier and it was answered well, but i thought I'd start a general Blu-ray menus topic cus i might have a few questions! The latest Blu-ray film I've tried is The Dark Knight. The initial pop up menu looks like an encore special

  • Question Related to a Comno Box field.

    Hi All, We have an access policy that will assign an AD group to the user. The rule that is determining this is like if new user = 1 and userid not null then true. After this rule satisfy the access policy triggers and the AD groups are provisioned.

  • EJBException in ejbStore() doesn't reach client

    Oracle 8.1.7 Entity Bean (Bean managed persistence) Transaction Attrib : Required I am trying to get any SQLException thrown in ejbStore() to be thrown to the client wrapped in an EJBException and somehow this doesnt happen. My ejbStore() method trie

  • ORA-12154 when connect to Ora10 using an odbc from visual C++

    Hello I have the follong problem , I have a machine that must access to an oracle database , I have made an Odbc Conection and if I make atest there is no one problem and the test is sucessfully . My problem is when I 'm trying to access using my vis