Problem loading xml with the method file

I use this method to insert in the xmltype table

INSERT INTO xml_table
VALUES (XMLType (bfilename ('XMLDIR', 'Test_xml.xml'),
nls_charset_id ('AL32UTF8')));

XML gives error
<? XML version = "1.0"? >
<!-<! DOCTYPE metadata SYSTEM "http://www.esri.com/metadata/esriprof80.dtd" >->
< metadata XML: lang = "fr" > < Esri > < MetaID > {299847D5-3DDC-4375-9469-607DC669DD6E} < / MetaID > < CreaDate > 20091029 < / CreaDate > < CreaTime > 12035600 < / CreaTime > < SyncOnce > FALSE < / SyncOnce > < SyncDate > 20091029 < / SyncDate > < SyncTime > 12054400 < / SyncTime > < ModDate > 20091029 < / ModDate > < $modtime > 12054400 < / $modtime > < / Esri > < idinfo > < native Sync = "TRUE" > Microsoft Windows XP Version 5.1 (build 2600) Service Pack 3; ESRI ArcCatalog 9.3.0.1770 < / native > < descript > < langdata Sync = "TRUE" > en < / langdata > < summary > REQUIRED: a brief narrative summary of the data series. < / Summary > < point > REQUIRED: a summary of the intentions with which all the data has been developed. < / purpose >

but when I delete
<!-<! DOCTYPE metadata SYSTEM "http://www.esri.com/metadata/esriprof80.dtd" >->

It runs successfully and the value is inserted of xmltype
Please suggest how can I insert original xml without error.

First see if you can access the document using HTTPURITYPE() or UTL_HTTP. Once you've taken the necessary step to access the scheam XML using these packages XDB should work. Note that becomes more complex 11.x

Tags: Database

Similar Questions

  • Satellite C660-28 d - problem "Load driver" with the new HARD drive

    I have a Toshiba Satellite C660-28 t.

    The hard drive has failed. I called Toshiba Support who send me a replacement.

    However in the meantime I was going to put in my spare hard drive and do a fresh install of another operating system that I have a spare for (Win 7) key.

    However, I can't past the screen "Loading Drivers" as the laptop came with driver disks.
    I can't find the drivers on the Toshiba site (I tried some drivers intel which I thought were good, but he says they were not signed and all comes down to the loading screen drivers).

    I have made the recovery discs, but obviously can not use them on the new hard drive as it doesn't have the recovery partition.

    Any ideas on where I can get the proper drivers from?

    Thank you

    > I made the recovery discs, but obviously can not use them on the new hard drive as it doesn't have the recovery partition.

    If you have a recovery disk using Toshiba preinstalled recovery media creator tool, you just have to boot from that disk to begin the installation.

    More info: all the recovery disk for Toshiba Europe, models of laptops can be ordered here:
    http://backupmedia.Toshiba.EU/landing.aspx

  • Demarshalling xml with the automatically generated class JAXB2.0 file does not work in jdeveloper 11.1.1.9

    I'm trying to familiarize themselves with JAXB in jdeveloper. I am facing some problems. There are a few test cases for which he works, for others it is not.

    Case 1:

    XML file is created manually. Respective java class to xmlelements is created manually. There is no ObjectFactory.java or jaxb.properties. Demarshalling this XML file works fine.

    Case 2:

    XML file is not created manually. All the respective java classes including ObjectFactory.java and jaxb.properties are generated using the widget ' JAXB 2.0 content XML Schema model "jdeveloper. I deleted ObjectFactory.java, jaxb.properties, and package - info.java. Demarshalling xml with this class file works fine.


    Case 3:

    Even in case 2, but this time I do not delete or change whatever it is generated and used as it is. It does not work. Get the following error.

    Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
    javax.xml.bind.UnmarshalException
     - with linked exception:
    [Exception [EclipseLink-25008] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A descriptor with default root element rss was not found in the project]
      at org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:816)
      at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:109)
      at com.example.jaxbintro.JAXBExampleClass.main(JAXBExampleClass.java:36)
    Caused by: Exception [EclipseLink-25008] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A descriptor with default root element rss was not found in the project
      at org.eclipse.persistence.exceptions.XMLMarshalException.noDescriptorWithMatchingRootElement(XMLMarshalException.java:129)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshallerHandler.startElement(SAXUnmarshallerHandler.java:208)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1598)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:455)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:401)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:239)
      at org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:157)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:688)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:271)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:258)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:218)
      at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:306)
      at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:106)
      ... 1 more
    

    The project is included in the annex to this issue. It is ready for use. More information in the commentary to the java code. The main class is JAXBExampleClass.java.

    What is the problem with case 3?

    OK, I've been messing around with codes generated a bit and found the solution. The problem is that the value of the XmlSchema namespace had error in package - info.java class. There is no specified XmlSchema namespace in the XML file. Thus, the given value in the package - info.java was wrong.

    @javax.xml.bind.annotation.XmlSchema (namespace = "http://www.example.org", value / / wrong, set it to an empty string or that of your xml file, if it has any)

    elementFormDefault =

    javax.xml.bind.annotation.XmlNsForm.QUALIFIED)

    package com.example.jaxbintro.xmlerror;

    After you set the namespace to the empty string, since my xml file do not have one, code ran very well.

    @javax.xml.bind.annotation.XmlSchema (namespace = "",)

    elementFormDefault =

    javax.xml.bind.annotation.XmlNsForm.QUALIFIED)

    package com.example.jaxbintro.xmlerror;

    The file package - info.java can also be removed and it will work. For more details on the package and XmlSchema annotated level, what information on the package class is for, be found in the following link.

    https://JAXB.Java.NET/NoNAV/jaxb20-FCS/docs/API/javax/xml/bind/annotation/XmlSchema.html

  • Problem loading xml using sql loader file

    I am trying to load data into the table test_xml (xmldata XMLType)

    I have an xml file and I want any file to load in a single column

    When I use the following control file and run from the command-line as follows
    sqlldr $1@$TWO_TASK direct control=$XXTOP/bin/LOAD_XML.ctl = true; :

    DOWNLOAD THE DATA
    INFILE *.
    TRUNCATE INTO TABLE test_xml
    XmlType (XMLDATA)
    FIELDS
    (
    tank fill ext_fname (100),
    XMLDATA LOBFILE (ext_fname) COMPLETED BY expressions of folklore
    )
    START DATA
    U01/appl/apps/apps_st/appl/XXTop/12.0.0/bin/file. XML

    the file is loaded in the table perfectly.

    Unfortunately I can't hard-code the name of file as file name will be changed dynamically.

    so I removed the block

    START DATA
    U01/appl/apps/apps_st/appl/XXTop/12.0.0/bin/file. XML

    control file and tried to run by giving the following command line path

    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl direct data=/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml = true;

    But strangely it attempts to load each line of the xml file in the table instead of the whole file

    Please find the log of the program with the error

    ------------------------------------------------------------------
    Loading XML through SQL * Loader begins
    ------------------------------------------------------------------
    SQL * Loader-502: cannot open the data file ' <? XML version = "1.0"? > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< root >' XMLDATA field table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < Type > forms < / Type > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < / ScriptFileType > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < Type > PLL < / Type > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file ' < / ScriptFileType > ' table field TEST_XML XMLDATA
    SQL * Loader-553: file not found
    SQL * Loader-509: System error: no such file or directory
    SQL * Loader-502: cannot open the data file '< ScriptFileType >' field XMLDATA table TEST_XML

    Please help me how can I load full xml in a single column using command line without Hardcoding in the control file

    Published by: 907010 on January 10, 2012 02:24

    But strangely it attempts to load each line of the xml file in the table instead of the whole file

    Nothing strange, that the data parameter specifies the file containing the data to load.
    If you use the name of the XML here, the control file will try to interpret each line of XML as being separate ways.

    The traditional approach this is to have the name of the file stored in another file, say filelist.txt and use, for example:

    echo "/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml" > filelist.txt
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=filelist.txt direct=true;
    
  • Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    Anyone know when will fixed the problem of material with the "IPAD PRO"? The question that keeps it from starting after the load.

    According to Apple, it has been addressed in the latest update of the iOS, iOS 9.2.

  • problem with the Finder - files and folders displaying incorrectly

    After acquiring a new iMac, I noticed a problem with the Finder - files and folders are displayed wrong (see table).

    This is what happens always after the files have been transferred from one folder to another. I was reminded of my days of using Mac OS in the 1980s when automatic setting of files was not so "automatic." I use Mac OS for decades and I don't remember the last time I had to think about GUI problems like that.

    Other problems in the graphical display of files and folders were introduced, such as when you have hundreds of files in a single folder, you end up deleting about 30 to 40 of them say in a particular section, and you end up with gaps of the ChartSpace where files used to be, that is the remaining files automatically rearrange themselves (fill in these gaps) - never. A week later, you open the folder, and the gap of GUI is still there.

    I decided to do a clean install of the operating system but nothing works.

    Is there some setting in Prefs I'm missing?

    Hi there highland99,

    Looks like your folder icons are not accommodating themselves automatically you plan to do. To me, this indicates that you have organize by the None value in the view menu. You can change the way files and folders are prepared automatically by clicking on view > reorganize by and selecting how you would like that fixed.

    Thank you for using communities of Apple Support.

  • Problem in creating several attributes XML with the same name of the attribute

    I am trying without success trying to create several attributes XML with the same name, as shown here in a Microsoft example configuration file:



      
         
         
         
      

    I'm calling the NewDocument GetRootElement functions and then "newelement" (appSetting), "newelement" (add)

    Then I call AddAttribute with add, key & Key0, then with add, value & 0.  This seems to work fine but when I try to add the second pair of key & Key1 and value attributes & 1 for item "Add" replaces ""and I find myself with"" only.

    I do something wrong or CVI is not able to create an XML of this type?

    Thank you

    Here's how you do it. I show not to keep things simple error checking.

    #include

    public static void CreateAddElement (mother of CVIXMLElement, const char * key, const char * value)
    {
    Add the CVIXMLElement;
    CVIXMLNewElement (parent, -1, 'Add', &add);)
    CVIXMLAddAttribute (add, "touch", key);
    CVIXMLAddAttribute (add, "value", value);
    CVIXMLDiscardElement (add);
    }

    void main (void)
    {
    CVIXMLElement root, and appSetting;
    Doc CVIXMLDocument.
     
    CVIXMLNewDocument ("configuration", &doc);)
    CVIXMLGetRootElement(doc, &root);)
    CVIXMLNewElement (root,-1, "appSetting", and appSetting);
    CreateAddElement (appSetting, "Key0", "0");
    CreateAddElement (appSetting, "Key1", "1");
    CreateAddElement (appSetting, "Key2", "2");
    CVIXMLDiscardElement (appSetting);
    CVIXMLDiscardElement (root);
    CVIXMLSaveDocument (doc, 1, "c:\\temp\\temp.xml");
    CVIXMLDiscardDocument (doc);
    }

  • Problem with the executable files

    Hello all, I need a help from you...

    I use LV 2009 SP1 Professional Development Suite on Windows Seven and I have a problem with the executable files, a problem that I have ever found with other versions of LV (8.x, for example) and I'm a little surprised...

    In the attachment you will find an example of what I mean.

    There are two base screws, the main one (prova) and a Subvi (provasubvi). The main vi launches the Subvi and the Subvi simply create a chart. As you can see on the screws works fine, without any kind of problem.

    I also created the exe file, without specifying that no particular option... and 'magic' of the application does not work as I want. In particular, it seems that the Subvi is running, but the front panel will not be accessible.

    I also try to play with the Subvi construction structure and options, but nothing change.

    Did you ever solve something like that?... I would say that I thank you in advance for any suggestion...

    Andrea

    Hello andrea,.

    Looking at your project I've heard that you do not include the Subvi during the build of the project. SO I slightly modified. Please find the attachments.

    Thank you and best regards,

    srikrishnaNF

  • Problems with the audit files!

    Hi friends,

    We are facing a problem with the audit files we have a runnning on oracle 10g server and being an Institute of teaching many ppl to connect to the server and too much work with SQL and PL/SQL. We have disabled the option to audit the database, but the audit files grow enormous in size. May I know what can be the problem and how to fix that there could be something that we would have missed.

    Kind regards
    Maury

    There is no setting of "verification". Display the values of

    AUDIT_FILE_DEST, AUDIT_SYS_OPERATIONS, AUDIT_TRAIL.

    I don't know 'NULL' as the value for each of these parameters.

    Werner

  • Unable to load data using the rules file

    Hi all

    I am facing a strange problem while loading data by using a rules file:

    1. I don't get any error/kick. It gives fair attention No. data values are modified by this data file loading. But nothing will load inside.

    2. I tried with Maxl and directly from EAS but gettting same warning.

    3 has tried to block sending n to entires in the data file and it does not work (so no Dynamics members etc..)

    4. rule file validates correctly.

    5. I tried with different types of different files (Csv, Xls, Txt, etc.) but no luck.

    Any suggestions / ideas of what could be bad?

    Don't know what exactly was the problem, but I recreated the rule files and it solved the problem... May be a case of corrupted file rule?

  • Problem loading XML content.

    Hello, when I open Dreamweaver CS6 I now get this message at the bottom right of the window and do not know what he's trying to tellme. Clicking on it does nothing.

    Meaasage is:

    Problem loading XML content.

    You have requested a language ("en_IL") that has no content available.

    In suggestions he shows English, United States.

    I don't know why this has happened. But I managed to get rid of this message on my computer. It seems "application.xml" file points to the incorrect language for content files folder.

    On my computer, the program is installed in C:\Program Files (x 86) \Adobe\Adobe Dreamweaver CS6. If you can navigate to this file using your file manager (in my case 'File Explorer', in point 8.1 of Windows), see the listed folders.

    On my installation, note that there is a record of language called "en_US", and there are a bunch of files that it contains. I think that this is where are stored the content files, for my installation. There is also a folder called "amt".

    Open the folder "amt". You will see that there is a load of files of the language, including en_IL and en_US. also note the files listed at the bottom of this issue, in particular the application file "." XML ". I edited this file by right clicking on it and choosing "Edit". However, when I tried to save the change, I got the message "access denied." I don't have permissions to edit and save the file. So, before editing the file once again, I changed the permissions of the file as follows.

    In the file Explorer, right click on the file "application.xml" and select "Properties". Click on the tab 'Security' "Edit" (to change the permissions). Select "users". In the lower window, click on "full control". Then click on 'Ok '. Then click 'Ok' again on the next page.

    Assuming that it worked, you should now be able to edit and save the file in the application ".» XML ".

    Then, right-click on the file name "application.xml" and choose "Edit". It's a text file, so I edited in the "Notepad". Halfway the page, you will see the term "en_IL". Change this to "en_US" (or whatever the name of the other folder is in your installation folder (see paragraph 3 above). Save the file.

    Open Dreamweaver and see if the message has disappeared, replaced by a tip.

  • Problem loading swfs to the server group.

    Hi all

    I have a SWF that has dependent files, and it does not load on the server so that it plays. It plays on my computer when I click on the index.html file that accompanies the swf file that I want to play, but not when I load it on the server for my web site.

    The file I was sent to load on the server includes

    a subfolder with the swf file that I need to play, but also

    an index.html file,

    a file menu.swf

    a file debug.swf

    a file exit.swf and

    an AC_RunActive Content.js file.

    Everything on the site, no matter what path I'm going to get there, loading appears a white screen. The files are there on the server, I can see them, and the size of the file is the same as on my local machine, so I think they have loaded correctly, they just don't play. The closest I've seen is when I make the path to the menu, but a progress bar appears for the menu and he never finishes loading.

    I don't do flash files myself, so I don't even think that I have the vocabulary to ask the right questions. Y at - there a name for this kind of grouping of files (as described above)?  How can I load it on the server so that it plays?

    I work in a Dreamweaver site. I don't know if the problem is how I do the path in Dreamweaver or how I'm loading the files on the server... or something else. I tried to ask this question in the Adobe Flash forum and they sent me here.

    Help!

    P.S. I have other .swf online files that work very well, but these are independent files that have all of these files are associated with them.

    The link in question is the BCBS button on this page

    http://skillbridgetraining.com/custom-training-Temp2.shtml

    Thanks in advance for your help.

    Too bad! It was a problem of capitalization in the code. Apparently, the one who built this ravises thing halfway through and had the menu in the Menu somewhere.

  • 30.0 Firefox is so slow since updated. IE &amp; Chrome not having problems loading pages, showing the blank pages, need two or more tests to open Web pages.

    30.0 Firefox is so slow since updated. IE & Chrome not having problems loading pages, showing the blank pages, need two or more tests to open Web pages. It seems to have something to do with the Visual data on the pages. My MSN homepage gets old and dies every time I open the page after the re-opening and closing of firefox. It takes forever! What is a memory drain? Each open page in a new session of firefox suffer the same fate.

    Start Firefox in Safe Mode {web link}
    While you are in safe mode;
    Press < Alt > or < F10 > to display the toolbar.
    Followed;

    Windows; Tools > Options
    Linux; Edit > Preferences
    Mac; name of the application > Preferences

    Then Advanced > General.
    Find and stop using hardware acceleration.

    Dig safe web sites and see if there is still a problem. Then restart.

  • My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    The problem is, Chkdsk will not fix this, and I can't access the file. This opens up a world of problems when I need to fix this error, so I can upgrade to Windows 7. Help, please!

    I just ran the scan again. He said of the errors found, but could not be repaired.

    This problem actually has nothing to do with internet explorer. It's the cookies folder that is corrupt in the Windows folder in roaming. The error file is in conjunction with the programs, that I try to run (AIM, Skype, so forth). Trying to enter the folder it says it's corrupt. I don't know what is the root of the problems or how to solve this problem, but these measures have not helped so far. Regarding the repair, I will try that next.

    http://Tinypic.com/view.php?pic=14mw4ly&s=4

    Here is a picture. This is the error of the lower right

    It's what the tool SFC to see system files corrupted and try to repair the system files.
    SFC could not fix it.

    Looks like you will need to do this:

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    Read the info on the link above.

    Good luck with it.

    Let us know how you go with it.

    See you soon.

    Mick Murphy - Microsoft partner

  • Distribute the data file with the cod file?

    Hi all

    My application runs from a file of database on camera flash memory.  While the application can transfer data from my server to complete the database, the first download is quite large and takes a long time to run (I'm working on it).

    It occurred to me that an alternative might be to provide a database of pre-populated with the app file, while the app will run straight out of the box without needing to first synchronization.

    Does anyone know if the App World store supports this - distribution of data, and the app?

    Thank you very much...

    You're right about the wasted space.  How about you always include a resource file, but make sure that if your program needs to read data from "base", read from the resource file, and if it's new data, read from the DB.  I don't know what your app does so I don't know if it's feasible or not, but if this is the case, that would solve your problem.  What do you think?

Maybe you are looking for