Oraclexe and loading file with .xml suffix
Using the Oraclexe utility to load an xml file it errors with xml error load, and that is all. I created a table (create table xmload of xmltype). Here is a snippet of the xml content. What needs to be done to "get there from here".
<Response RequestID="1000000080000" Client="PERMS" RequestStatus="Passed" SessionAuthToken="sessionAuthToken" TimeSlot="09:20:00 18:00:00">
<Soldier Status="Passed" NumberOfDocuments="53">
<SSN>123456789</SSN>
<SoldierName>Doe Jonnie</SoldierName>
<Site>M</Site>
<Document DocStatus="Passed" Pages="1">
<DocType>CRS RES/NR</DocType>
<DocDescription>COURSE COMPLETION CERTIFICATE (RESIDENT OR NONRESIDENT)</DocDescription>
<SID>G</SID>
<EffDate>2002/03/15</EffDate>
<AcceptDate>2002/04/29</AcceptDate>
<DocumentID>
<ScanSite>S</ScanSite>
<DocID>202804760</DocID>
</DocumentID>
</Document>
<Document DocStatus="Passed" Pages="2">
<DocType>679DA</DocType>
<DocDescription>US ARMY OFFICER EVALUATION REPORT</DocDescription>
<SID>A</SID>
<EffDate>2002/04/30</EffDate>
<AcceptDate>2002/09/14</AcceptDate>
<DocumentID>
<ScanSite>S</ScanSite>
<DocID>202932534</DocID>
</DocumentID>
</Document>
<Document DocStatus="Passed" Pages="1">
<DocType>CRS RES/NR</DocType>
<DocDescription>COURSE COMPLETION CERTIFICATE (RESIDENT OR NONRESIDENT)</DocDescription>
<SID>G</SID>
<EffDate>2000/04/14</EffDate>
<AcceptDate>2000/07/01</AcceptDate>
<DocumentID>
<ScanSite>S</ScanSite>
<DocID>202074950</DocID>
</DocumentID>
</Document>
</Document>
<Document DocStatus="Passed" Pages="2">
<DocType>679DA</DocType>
<DocDescription>US ARMY OFFICER EVALUATION REPORT</DocDescription>
<SID>A</SID>
<EffDate>1999/04/04</EffDate>
<AcceptDate>1999/07/26</AcceptDate>
<DocumentID>
<ScanSite>S</ScanSite>
<DocID>201773383</DocID>
</DocumentID>
</Document>
</Soldier>
</Response>
For those who are interested, the problem come from the differents drivers used for files :
In Sunopsis, by default :
- driver : com.sunopsis.jdbc.driver.FileDriver
- url jdbc : jdbc:snps:file
In ODI
- driver : com.sunopsis.jdbc.driver.file.FileDriver
- url jdbc : jdbc:snps:dbfile
Problem solved.
Similar Messages
-
HI
I want to load an xml file into a RDBMS table, using sunopsis xml driver.
I try to use an other xml file than the initial that is defined in the driver url.
I cannot run this instruction in a XML treatment before the interface :
LOAD FILE "C:/AXYUS/SURSAUD/entree/sosmed1.xml" WITH DTD "C:/AXYUS/SURSAUD/entree/sosmed.dtd" REPLACE READONLY AUTO_UNLOCK
the file doesn't change at alll and I always load the initial file ( sosmed.xml )
any idea ?Make sure that you issue your LOAD FILE command
- on the SAME Transaction (0, 1, 2, etc...) than the one used in the LKM,
- with the SAME logical schema as the source table logical schema
- and with the SAME Context (if you use the execution context - leave it unset).
This should do the trick, and the connection created in the procedure will be reused in the interface, provided that you chain both in a package.
Regards,
-FX -
I have a Macbook Pro running Leopard 10.5.8. I had a problem with my my operating system (my fault, I moved a file I shoudnt have) couldnt boot up but was able to boot up from a backup. I managed to repair my original system except now all the system folders, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac). For the most part the dupes are an exact copy, but not always. I want to remove them to free up space and cant imagine duplicate folders in the /system/library are not hindering my computer. But I dont know where to start and am afraid of doing irreparable damage. Any ideas
pacull,
Use iCal>View>Show Notifications to choose what to do with the notification. -
Files with the suffix .mts
Dear All,
I purchased some years ago the Adobe premier elements version 3.0.
I try to import video files with the suffix ".mts" but it didn't worked. I have some question in this regards:
1. Does this version (3.0) of Adobe Premier elements support those kind of files (with the suffix .mts)?
2. If the answer to the first question is positive - What is the way to import and worked with those kind of files? if the answer to the first quesion is negative - do the latest version (ver. 13) of Adobe Premier Elements support those kind of files?
Kind regards,
GUyHamtsani
Your files probably are ones that use AVCHD (MPEG4 AVC/H.264) video compression and the .mts file extension (which is referred to as a container format).
Putting the file extension aside for the moment, I believe it was not until Premiere Elements 7 that Adobe supported files that use AVCHD video compression.
AVCHD is a resource demanding format, and your Premiere Elements 3.0/3.0.2 is only a 32 bit application which has resource implications.
What is your computer operating system? Premiere Elements 13 does not support Windows XP or Vista. And, Premiere Elements 13 Windows is only a 64 bit application when it is run specifically on Windows 7, 8, or 8.1 64 bit. That has lots of resource implications.
I do not recall the Sharing opportunities in Premiere Elements 3.0/3.0.2, but you could consider converting what I believe to be your AVCHD.mts into a MPEG2.mpg file and then trying to import that into your Premiere Elements 3.0/3.0.2 project with the most appropriate project preset available.
Please review and consider.
Thank you.
ATR -
Bridge opening office files with xml converter
Adobe Bridge CS3 is opening all my excel files with xml converter and promting me to save as. How do I switch it to default to Microsoft Excel when opening these files?
These options are handled in the Bridge prefs under File Associations, but if I remember correctly this is somewhat limited in CS3 since it only handles Adobe files that install their associations. Any other file type is handled by whatever the opoerating system offers. Well, you can always look and give it a try...
Mylenium -
What does it means when you turn on the macbook and a file with a "?" mark flashes?
What does it means when you turn on the macbook and a file with a "?" mark flashes?
It usually means some system files are missing or corrupted. Reinstalling OS X is the fix:
Reinstall OS X without erasing the drive
Do the following:
1. Repair the Hard Drive and Permissions
Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
2. Reinstall Snow Leopard
If the drive is OK then quit DU and return to the installer. Proceed with reinstalling OS X. Note that the Snow Leopard installer will not erase your drive or disturb your files. After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/. -
How can I upload and download files with uiXML?
I want to implement upload and download files with uiXML. In some previouse topic I got answare to look in AbstractPageBroker class in JavaDOC. I did it but this is a very-very little resolution description for this problem. I think for developers YOU (UIX Team) must in very quick time to put some examples on the NET because this is a nice technology but with adecvate samplase and developers guide it will be dead very soon. I digging this forum for information. I see many many people have same problems about this technology. They like it and want to use and try but documentation is very very poor.
WE WANT EXAMPLES and separate forum for UIX. I think it deserve this.
If You have any more detailed documentation would be nice to put on the net. I have uixdemo.zip file but this is in very early fase of development. I downloaded it before fwe months. And now I can't find it anymore on youre site. What happend?Attila -
I went back and re-read the JavaDoc for AbstractPageBroker and MultipartFormItem and put together the following sample PageBroker based on the description from the JavaDoc:
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import oracle.cabo.servlet.BajaContext;
import oracle.cabo.servlet.Page;
import oracle.cabo.share.util.MultipartFormItem;
import oracle.cabo.servlet.xml.UIXPageBroker;
* An extension of UIXPageBroker which stores all uploaded
* files in the temporary directory.
public class UploadingPageBroker extends UIXPageBroker
* Override of AbstractPageBroker.doUploadFile() which saves
* all files to the temporary directory.
protected String doUploadFile(
BajaContext context,
Page page,
MultipartFormItem item) throws IOException
// Get the location of the file to create in the temp directory.
// Of course a real application probably wouldn't upload files to
// the temp directory - just using this contrived example to
// demonstrate basic uploading support.
File file = _getFile(context, item);
if (file != null)
// Create a FileOutputStream. Of course, a real application would
// probably want to buffer the output
FileOutputStream out = new FileOutputStream(file);
// Write out the file
item.writeFile(out);
// Close up the output stream
out.close();
// We can return a value here to add to the PageEvent
// if so desired.
return null;
// Gets the File for the item that we are uploading
private File _getFile(
BajaContext context,
MultipartFormItem item
// Get the file name
String name = item.getFilename();
// If we don't have a file, bail...
if (name == null)
return null;
// Get the path to the temporary directory
File dir = _getTempDir();
// Return the File object
return new File(dir, name);
// Returns the path to the temprary directory
private File _getTempDir()
// Get the temporary directory from the ServletContext
ServletConfig sConfig = getServlet().getServletConfig();
ServletContext sContext = sConfig.getServletContext();
return (File)sContext.getAttribute("javax.servlet.context.tempdir");
In this sample, each uploaded file is simply saved in the temporary directory. You'll want to replace the code that creates the FileOutputStream for the uploaded file to use whatever OutputStream makes sense for your application.
BTW - I used the following UIX page to test this out:
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://xmlns.oracle.com/uix/controller">
<content>
<pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
<contents>
<form name="uploadForm" usesUpload="true">
<contents>
<fileUpload name="uploadedFile"/>
<submitButton name="upload" text="Upload"/>
</contents>
</form>
</contents>
</pageLayout>
</content>
</page>
Hope this sample helps with the uploading part of your question. I'll see if I can provide a download sample in a later post. -
Load File with wildcards?
Hello,
how could I load files with this pattern:
ausw_[name]_[date].xls (without the brackets)
Workbook workbook = Workbook.getWorkbook(new File("C:\\extracts/ausw_[name]_[date].xls"));
Could it be work with Regular Expressions?
Has anyone an idee?
Greetings
MarcoCheck java.io.FilenameFilter and java.io.File.listFiles (FilenameFilter) or search the forum.
-
I just been looking in my preference file folder to throw away the preferences for Final Cut and there seems to be duplications of the preference files with the suffix “lock file". Is this normal in OS 10.7? I look forward to any advice.
Many thanks GeoffI ended up logging an SR on Metalink. Here's the answer I got back:
---<snip>---
Yes, 500 MB is normal for 11.1.0.7.
First, you are correct, there is a log rotation policy. This is done automatically by Oracle for the Crsd, Ocssd, Evmd logs .
The default size of the cssd log after which they would be recycled in previous versions was 10MB. This has changed in 11.1.0.7 such that the size after which the logs are recycled is 50MB. This means that customers may see an increase in the CRS_HOME required from 100MB to 500MB. Customers whose home size cannot accommodate this should move the old ocssd.l0* files to another destination. Please do not move the existing ocssd.log file.
---<snip>--- -
Cannot read version 4 fcp project and associated files with the new 5.1.2
I cannot read my fcp 4 version projects and associated files with the new 5.1.2 fcp.
Please help!I bought the Final Cut 5 studio to use for my company but I have project files from version 4, which I would like to update. My G5 is running Tiger and Final Cut recognizes the old files as Final Cut Documents (the media is already on the G5) but will not open them or their associated quicktime files. I have no problem loading version4 to export the Masters but I would like to be able to upgrade the project files so that I can use them in my addition Studio Pro applications and touch them up in Shake. Also, I don't want to go and find FCP4 on the internet because it may have other problems.
What do you suggest?
Can FCP4 files be updated to version 5.1.2?
Can I get a back dated version of FCP4 through Apple?
Thanks for your time. -
Revision: 7661
Author: [email protected]
Date: 2009-06-08 17:50:12 -0700 (Mon, 08 Jun 2009)
Log Message:
Change from charset=iso-8859-1" to charset=utf-8" and save file with utf-8 encoding.
QA Notes:
Doc Notes:
Bugs: SDK-21636
Reviewers: Corey
Ticket Links:
http://bugs.adobe.com/jira/browse/iso-8859
http://bugs.adobe.com/jira/browse/utf-8
http://bugs.adobe.com/jira/browse/utf-8
http://bugs.adobe.com/jira/browse/SDK-21636
Modified Paths:
flex/sdk/trunk/templates/swfobject/index.template.htmlsame problem here with wl8.1
have you sold it and if yes, how?
thanks -
My macbook won't strat and show file with question mark on it?
Hi
is there anyone can help me please my macbook can't boot and show file with "?"mark on it.Restart and hold command + R (both keys) down. The screen will show four options. Select Disk Utility. Next click on the name of your drive, and run Repair Disk.
After that is done, restart in the usual way. -
My mom helped me to create my iTunes account and load it with a 50$ gift card and now I wanted to purchase a one month subscription at the AYI dating web service but apple never let them take money from my account and I was declined,don't know why?
You have posted to the iTunes Match forum, which your question is not related to. I suggest you contact the web site from whom you wish to purchase the subscription.
-
Cache and Load Balancing with Oracle APEX Listener
Hi,
I intend to use only HTTP access.
How to implement a Cache and Load Balancing with the Oracle APEX Listener?
Is it possible to do with the the standalone running APEX Listener?
Thanks by advance for any tips/documentation/references.
Kind Regards.Hi,
I think this question is best asked in the APEX Listener forum:
ORDS, SODA & JSON in the Database
Kind regards
Sandro -
I have my camera (Canon 5D Mark 2) set to take both JPEG Large and Raw files with each shot. I uploaded the images from the card to my Pro (Aperture 3) and while the import info said 1500 images were uploaded, I can't find the RAW images. Aperture put about 700 images in an untitled project folder, but all the images are the JPEGs. What am I missing?
Thanks,
upsjdrisHave you checked your "Import" settings for "Raw&Jpeg" pairs in the "Import" panel?
You can set Aperture to import raw, jpeg, or raw&jpeg.
If you imported Raw&Jpeg, but have set Aperture to use the Jpeg as original, you will see the imported image as Jpeg image, not as a raw image, even if the raw has also been imported. You can switch between Raw and Jpeg originals for selected images from the Photos menu:
Photos > Use Raw as original.
Regards
Léonie
Maybe you are looking for
-
Posting document not created (Pricing Error)
Hello Everybody, I have a problem with a invoice. If i go to VF03, I can see a positing status as F Posting document not created (pricing error). The error message is showing as pricing error in item 000010 Message No. VF 073. Kindly help me how to u
-
Still not fixed in CS6: Undo problem after Text Type + Move
I have noticed this very annoying Photoshop problem still has not been addressed by Adobe. Breakdown: Type text Move text If you undo the move, it will not only undo the move - but the text you typed as well So technically it does 2 undos instead of
-
How can I stop Mail 5.2 changing my default font size in my signature in outgoing mail
I have my default font size for messages and signature in messages both set as Century Gothic 10. When I send an email the message and signature font both appear correct in my saved "sent" email. However the receiving computers receive my email with
-
Disabling document downloads while allowing for online editing.
With IRM I know that you can prevent documents from being downloaded as well as printed, but whenever I do so, it disables the ability to edit the document. Is it an integrated setting where I can only have both or neither? I am not concerned with
-
Itunes regonises ipod, says it loads new music but it dosent show on ipod.
hi .... this is my second ipod its a video one and i have had it for sixmonths had minor problems nothing that resetting didnt fix ...but now it will not load new music i have checked the free space which is amlost half yet it wont load...it even say