Transformer/XPath Broken after importing nodes into the DOM

I'm trying to combine nodes from several documents and then transform them.
I parse the document with a namespace aware document builder without a hitch, and then import the nodes from the other documents (parsed the same way).
Then I try to apply a transformer to the document and it only transforms the nodes that were in the original document. XPath also fails to see the nodes.
The weird thing is, that if I write the document out to a buffer as XML and then parse that back in, everything works fine.
So what the heck is going on?

I don't see the XML or the XPath expression you're
asking about. So I am going to take a wild guess and
say that your problem is one that is popular lately,
namely that XPath can't find elements that are in the
default namespace.
If your DocumentBuilder was not namespace-aware then
the XPath would work (no default namespace applying)
but if the Transformer was namespace-aware then the
XPath would not work.
Or it could very well be something else.You are correct. I discovered this about an hour after posting my question...
If I make my DocumentBuilder namespace aware, the behavior is consistent.
I can then solve my problem by specifying a NamespaceContext...
Now my question is... should I make my DocumentBuilder namespaceAware?
Since the XML Documents I'm dealing with only ever use one namespace,
I don't see the harm in leaving namespaceAware off. Then I don't have to mess
with a NamespaceContext. Am I missing something? When should
namespaceAware be set to true?
-Rob

Similar Messages

  • No response when trying to Importing Metadata into the DAC Repository

    Hello,
    I just installed OBIEE and OBIAPP as well as Informatica and am now trying to login to DAC client to import metadata into the DAC repository. So Tools->DAC Repository Management>Import. After I checked Universal and Siebel 8.0 and clicked OK button, there is nothing happening. I can actually still click on the Cancel button to close the Import window.
    Has anyone experienced this before? Really appreciate some help here.
    Thanks,
    Harry

    I have exactly same problem. did you manage to solve it?

  • Creative Zen's clock gets reset after being plugged into the w

    I bought the wall recharger for my Creative Zen 8 GB, as I had another MP3 player (SanDisk Sansa e260) die mysteriously after being plugged into the computer's USB port.
    The only complaint I have is that if I leave the Zen plugged in, after it finishes recharging, the screen goes blank and when I unplug it and turn it on, the clock and calendar are reset to their default (March 7, 2008).
    I am on a Vista Home Premium computer (no service pack). I have the latest the firmware on the player and use the latest version of Media Explorer.
    Does this happen to anyone else who uses the wall charger?

    Hello, I read your post & am replying to it because I too am having a clock syncronization issue but mine is not related to plugging it into a wall charger. My date AND time resets too to April 7, 2008 for some reason. I reset it yesterday to the correct date and time for yesterday (May 8, 2008) and now it is reset back to the previous date I mentioned. It couldn't even keep the time/date accurate for 24 hours! My battery was already charged however several days ago and is no where near being finished (it says half full). My firmware version is .2.0.
    Anyhow I know this doesn't help you at all, but at least you're not alone on this issue...mine doesn't originate with charging it though...maybe that will help you at the very least.
    Drew

  • My MacBook pro mid 2012 doesn't seem to have a "save as" function, so I can't seem to save multiple page pdf's together after moving thumbnails into the sidebar. It only saves the first page. I can't figure out the rename function either. Help?

    My MacBook pro mid 2012 doesn't seem to have a "save as" function, so I can't seem to save multiple page pdf's together after moving thumbnails into the sidebar. It only saves the first page.
    I do have a 2008 version of Microsoft Office installed to save money, but that shouldn't affect things. I can't figure out the "rename" function either. Help?

    Oh, and I also reset my NVRAM, my computer hasn't frozen again yet, so I'm not sure if it has made a difference.

  • HT3805 I just installed Aperture 3 from a CD. i also imported my photos from my Iphoto library. After importing most of the photos imported are blurry and it tells me the program is "processing" and it never stops. What do I do?

    I just installed Aperture 3 from a CD. i also imported my photos from my Iphoto library. After importing most of the photos imported are blurry and it tells me the program is "processing" and it never stops. What do I do?

    I just installed Aperture 3 from a CD. i also imported my photos from my Iphoto library. After importing most of the photos imported are blurry and it tells me the program is "processing" and it never stops. What do I do?

  • Importing pictures into the item master data

    Hello, everyone,
    I want to import pictures into the items master data - does anyone know which size the picture should have?
    The problem is - i just tested it with some pics of 640x480, but the placeholder in the item data must be smaller, so the picture is scaled down and as result of that it doesn't look good (the colors are falsified and there are also some artifacts). If I double-click the picture and it's opened in an own window in its original resolution - everything is fine..but i want a good quality of the picture in the item data already.
    So my first idea was to make pictures of the resolution of that placeholder in SBO, but i don't know how to get this. Any ideas?
    Best Regards,
    Leon Detzel

    Hi Ulrich
    The picture size does not matter, but rather a setting in Administration > System Initialization > General settings > Display TAB. On this tab you will find a setting with a drop down called "Ext. Image Processing". Set this to full and the full quality of any pictures will be used, but of course resized to fit the field. Bear in mind that images are not embedded in the tables but only the file name of the image is stored in the table.
    Kind regards
    Peter Juby

  • Fragmented Thumbnails after importing these to the elements organiser

    Hello,
    I just bought a new computer with Windows 8 and an SSD-Harddrive and installet the Photoshop Elements 12 trial version. I copied my RAW-files via LAN to the SSD-Harddiskdrive. Now when I import these into the organiser some pictures are fragmented. Has anybody an idea what the problem is? If I check the pictures in the windows explore with the RAW-codec the particular picture is alright. See also pictures below:

    Hello Andaleeb,
    The format of the raw files is .CR2 and I use a Canon 60D as a camera.
    Do you have an idea what is going wrong?
    On my older computer I have Windows 7 and Photoshop Elements 9 and everything is fine. I also installed Photoshop Elements 9 on the new computer with Window 8, but the same fragmented pictures occured.

  • Import photo into the emulator

    Hello all,
    When I launch the iPhone emulator, and then the default "photos" application, I am not able to browse the photos because ... there's no photo available
    Please could someone tell me if it's possible to import photo into the emulator ?
    Have a nice day,
    Nico.

    hi,
    i have tried a similar kind of stuff..,
    check the link_Import data in excel to database table for the process and steps..,
    for more information you can check the forums; http://forums.oracle.com/forums/thread.jspa?threadID=2206363&start=0&tstart=0
    i hope you get your solution there.
    Regards,
    Little Foot

  • IPhoto events view broken after import, images missing

    I'm running the latest iPhoto on a 10.8.2 Retina MacBook Pro and experience some strange import problems since the end of last month.
    My library holds more then 26.000 images right now and whenever I try to import some new images by dragging them from Finder to the iPhoto library the images (and videos) get imported... but when I try to view the event afterwards it doesn't open and the scrolling of the complete events view is broken. The scrollbar moves but thumbnails of events don't! I'm not able to use the events view anymore after a try to open such broken event.
    When I use the regular photos view (the 2nd item in the left menu) I can see and use these new images... until I quit and restart iPhoto. Afterwards many images are missing – see http://cl.ly/JrjF for an example. I can delete those broken events... but not empty the trash afterwards. It just hangs while purging all entries.
    Has anyone experienced this already?
    I'm importing iPhone images uploaded to the DropBox "Camera Uploads" folder. But I can't believe it has to do with anything related to this.
    I've also disabled the Photostream feature (not the shared ones) in iPhoto because I got tired of splitted events due to Photostream missing some images now and then. Maybe it has to do with that disabled feature. I'll try to reenable it after restoring my 5 days old backup (120GB) a second time now.
    Thanks for your help... let's hope I can solve this.

    This sounds like a damaged database.
    Try this test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    If it's not then back to your main Library:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • Winmail.dat attachments after importing PST into online archive

    Hi, we enabled the online archive feature on one of our Office365 exchange account. Later, we used the PST capture tool to import a PST file into the archive. Now after importing, the user came back saying he sees winmail.dat files as attachments. Prior
    to uploading the PST to the online archive the attachments were visible normally. The PST file belongs to the same user. Its an old PST file attached to his mailbox since a long time. We then subscribed to the online archive plan for his account and used the
    PST capture tool for importing the emails. To isolate the cause of the issue we tried dragging an email with an attachment from themailbox to the online archive from within Outlook. The moved email appeared correctly with attachment in his archive. We have
    not tried importing the whole PST from within outlook, as the size of the PST is too large (32 GB). Could someone please help resolve the issue.
    Thanks in advance.

    I recommend that you post this in the Office 365 Exchange Online Forum: 
    http://community.office365.com/en-us/forums/158.aspx
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • I am trying to create a Form that will act as a list.  I want to import data into the form from exce

    My table has a list of names with product information in corresponding columns.  I want to create a form that I can import this into where every row makes a new part of the form list I create.  Is this possible?
    Example of what I have in excel:
    Name
    Product 1
    Product 2
    Product 3
    Total
    a
    1
    2
    3
    6
    b
    0
    3
    4
    7
    c
    1
    3
    4
    8
    d
    1
    3
    5
    9
    Example of what I want in Form:
    Customer a    1     2     3     6
    Customer b    0     3     4     7
    etc.
    I want to put this info into a form to make it more presentable.  Can anyone help me with this?

    Look at the Import/Export form data functionalities already built-in into Acrobat.

  • Export - No audio after 1 minute into the film

    Hi,
    a few days ago I started working on a project in Final Cut Pro X (Trial).
    The project is about 3 minutes long and contains audio throughout, which is perfectly audible within Final Cut Pro.
    The problem comes with the export. After 1:10 minutes into the film, the complete audio fades out (1 sec. fade) and does not come back.
    I have tried 5 different export settings already and it does not make any difference.
    I have searched the whole timeline for a clue, but it looks absolutly normal. And as stated above, the music is audible throght the film in the preview.
    I even tried to export a completly new project with another audio file. There was no problem there.
    It seems to be a problem within my project. But I simply can not figure out whats wrong.
    Some quick help would be greatly appreciated, as I am kind of in a hurry to export this movie...
    Has anybody already had the same problem?

    Well, I may have been a bit harsh with my statement. But on the other hand - This program is not completely new. It's actually one year old and has had something like 5 updates.
    And there are many features that are definatly not professional. The whole timeline and the way it behaves is just totally irritating. And it's not like, I am the only one who is complaining. And to be called a professional programm, there are just too many uncountable features that are missing.
    I mean, this was a really small and short project. But instead of being faster or as fast as in any other program, I was slower and was constantly trying to figure things out, that should have been super easy to find and understand. If I already encountered speed problems (on a very powerful Mac Pro by the way) , numerous bugs and export problems in a project this small, I don't wanna work on anything bigger with this "Pro" application.
    @Tom Wolsky
    I can post a screenshot as soon as I am back at our workplace. Probably tommorow.

  • In IE I used different levels of folders for my favourites. After importing I miss the bookmarks of folders within folders within folders etc.

    In Internet Explorer it is possible to organize favourites with folders as in firefox. In these folders you can make new folders and within those new folders. Can this tree structure be used in Firefox? After importing most of my favourites are gone, I can find no folders within folders within folders etc. So most of my favourites are not imported from IE.

    Thanks for the helpful thoughts LarryHN. I'm having a Mac guy look at my MacBook Pro in the next day or so to see what he can find out. I described the issue on the phone... and like you, he said that saving my documents to a thumb drive shouldn't affect my iPhoto library.
    One reason I bought the thumb drive was to back up my iPhoto library, but the time I got to that, it was already gone. I've thought of getting Time Machine (and have checked out other systems), but the reviews are so mixed, I'm dragging my feet on coughing up the cash right now.
    When I launch iPhoto, I only see the last few weeks' worth of photos. Oddly, photos I imported 3 weeks ago appear, but are in a folder dated November 2012--when I know I took those and imported them in January 2013. So that's weird...
    When I got to iPhoto Library, I have an Auto Import folder with nothing in it. "My Pictures" folder has nothing as well. I did hold down the option key while opening up iPhoto, but only my recent library (a few weeks' worth of photos) appears. I'm using iPhoto 2011 (6.2.3). I can only hope my Mac guy can help...

  • Sliced Images are Broken after Converting HTML into a PDF

    I am trying to create a PDF of a webpage and after Acrobat converts it, the page is broken apart in multiple pieces. I noticed that this is happening to images that are sliced. Does anyone know how to prevent this from happening?
    Thanks!

    Just to clarify, I only want a PDF image of the web page -no functionality of it. The equivalent of a "print-screen" of the page without the IE window/toolbar etc. I need to have it in PDF format for printing purposes.
    ASP code is also appearing in the PDF and I don't want this to occur.
    Ver: Adobe Acrobat Professional
    OS: WinXP Professional

  • Can't drag/delete files from C Drive after moving them into the D Drive

    Like many others, I have depleted my C Drive space and needed to move my iTunes folder into mt D Drive. I got these instructions from iTunes which tell me that after I have moved the files into the D Drive to find the old files in my C Drive and just drag them into the recycle bin. When I try that it tells me it can't be done because of copywrite protection issues. I need to free up that C Drive space by getting rid of those files. Can anyone help with this? I'd preferr an e-mailed answer if you could. Thanks.

    When I try that it tells me it can't be done because of copywrite protection issues.
    What is the exact error message that you're getting?

Maybe you are looking for