LPX-00202 error

The problem applies to Oracle XML Oracle XML Parser 9.0.1.0.0 (C++) on Windows platform.
The problem can be reproduced by using the xml.exe utillity in the product:
C:\Projects\PrintServer\oracle\bin>xml class.xml
C:\Projects\PrintServer\oracle\bin>xml .\class.xml
LPX-00202: could not open file ".%5Cclass.xml"
As seen parsing is done ok in the first run without a .\ un the file. The second gives this LPX-00202 error.
I'am pretty sure that it has worked on my machine - some setting (environment) must have changed ?
We have tried with different encoding - it dosen't seems to work.
null

Seems like a bug to me. I've filed a bug report with the development team.

Similar Messages

  • LPX-00216 error help

    Hi all,
    We have been getting hundreds of thousands of xml files (through AQ) from our partner (IBM Websphere MQ) for almost two years now and never had a problem. But on this Tuesday we got 6 xml files from our partner that failed due to this error:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 0 (0x0)
    Error at line 1
    According to the Oracle doc,
    Cause: An invalid multibyte character was found.
    Action: Use only characters allowed by the XML specification
    I googled this error and searched it on this forum. But other people who encountered this problem was because they seemed to have different NLS_LANG settings, whereas here we are both on Windows (servers and clients).
    The strange thing is this: I asked our partner to email me the xml file and I copied it into a test procedure where the text is cast into an xml type and there is no problem whatsoever.
    Could anyone help me on this? We are on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 running on Windows 2003 server.
    Thanks a lot.
    Ben

    similar issue is in metalink note 603415.1
    there's also a patch for that.

  • XML LPX-00209 Error

    I have one clob field with xml content and i want to use them
    with
    l_parser := dbms_xmlparser.newParser;
    dbms_xmlparser.parseClob(l_parser,p_xml);
    without this value <?xml version="1.0" encoding="UTF-8"?>
    What the simplest way.
    Thaks.

    Having the XML declaration on the XML is optional and Oracle will attempt to convert the text to XML regardless of whether it exists or not.
    Doing a google search on LPX-00209 returns a lot of his, including from these forms. Without seeing your XML it is hard to say what is wrong with it.
    On another note, skip the parser and go straight into a DOMDocument via
    l_domdoc := dbms_xmldom.newDomDocument(l_doc);
    or an XMLType via
    l_xmltype := XMLTYPE(l_doc);

  • R12 Vision Demo install issues

    Hey all,
    I've just installed R12 on OEL5 however when it gets to the Validate System Configuration screen the following show as not starting properly: HTTP, Help Page, Virtual Directory, JSP, Login Page.
    If I used adpacctl.sh to start apache, I get
    adapcctl.sh: exiting with status 204
    If I used opmnctl to start I get:
    LPX-00202: count not open "<long path under inst to>/opmn.xml" (error 200)
    XML parse failed: error 202
    opmnctl: ompn.xml validation failed.
    If I do a find for opmn.xml, I find it under
    <Long Path>/ora/10.2.3/opmn/conf/opmn.xml
    If I copy that file to the directory above in LPX-00202 error messsage, the services still don't start up.. I get alot of :
    Communcati onerror with the OPMN server local port.
    Check the OPMN log files.
    I did review 402310.1 for required packages. I have at least the version specified and for openmotif I installed the absolute version reqiured. I also found Note:414414.1 which contains the same 204 error when starting up apache but the workaround isn't valid.
    Any ideas?

    Even though its not officially supported you can get past that error by following the following link
    http://boulayp.free.fr/articles.php?lng=fr&pg=287
    for the record that link sez;
    There is actually a compatible library already installed as part of the gdbm-1.8.0-xx.x.x install, which is available for RHEL/OEL/CentOS 5. All you need to do is add a symlink:
    ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
    so install the gdb stuff make the symbol link .. you might have to reinstall r12 but definitely try restarting the http server after making the link

  • Oracle App Server error

    hi all,
    I am tried to create new OC4J instance from App Server Control. Now OPMN is not starting. I get following error
    iguration information
    Running in C:\product\10.1.3.1\OracleAS_1
    Operation mode:Startup, App Server, No Enterprise Manager, Single Instance
    Oracle home:C:\product\10.1.3.1\OracleAS_1
    Oracle home name:Unnamed
    Instance name:oracleAS.psmtech
    Instance type:allProducts
    Version:10.1.3.1.0
    Uses infrastructure:false
    Not an infrastructure instance, no infrastructure information available
    Components:[j2ee, orabpel, oraesb, owsm, Wsil]
    2007-05-17 04:45:19.328--Begin log output for Mid-tier services (oracleAS.psmtech)
    2007-05-17 04:45:19.328--Processing Step: starting OPMN
    2007-05-17 04:49:35.921--End log output for Mid-tier services (oracleAS.psmtech)
    OPMN has thrown an unknown exception
    oracle.appserver.startupconsole.model.ConsoleException: OPMN has thrown an unknown exception
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:108)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    Caused by: oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
         at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
         at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
         ... 6 more
    Exception caused by
    Error starting opmn server: 2
    oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn server: 2
         at oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)
         at oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)
         at oracle.appserver.startupconsole.control.OPMNController.doStart(OPMNController.java:90)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.control.GroupController.doStart(GroupController.java:47)
         at oracle.appserver.startupconsole.control.Controller.start(Controller.java:69)
         at oracle.appserver.startupconsole.view.controller.ControllerAdapter.start(ControllerAdapter.java:30)
         at oracle.appserver.startupconsole.view.controller.MasterControlAdapter.run(MasterControlAdapter.java:94)
         at oracle.appserver.startupconsole.view.Runner.main(Runner.java:39)
    I tried to validate opmn.xml file, shows following error
    C:\product\10.1.3.1\OracleAS_1\opmn\bin>opmnctl validate opmn.xml
    LPX-00202: could not open "opmn.xml" (error 200)
    XML parse failed: error 202.
    opmnctl: opmn validation failed!
    we have Oracle App Server on Windows server 2003, new installation.
    plz help me with this problem.

    Not sure why you exeucute opmnctl validate, but
    C:\product\10.1.3.1\OracleAS_1\opmn\bin>opmnctl validate opmn.xml
    LPX-00202: could not open "opmn.xml" (error 200)opmn.xml isn't in $OH/opmn/bin directory. It's in $OH/opmn/conf.
    This is quite difficult to debug from this forum. Check the logs in $OH/opmn/logs and see if that helps. Also try to shut everything down (and check that all processes are gone) and then try to restart.
    Regards,
    Martin

  • Error starting opmn

    I recently installed the Oracle Apache Server and APEX 2.2 on a new box. I am attempting to set this box up to look like my current production environment, so that I can test the upgrade to APEX 3. When I attempt ./opmnctl startall, I get the error opmnctl: opmn start failed. I am not getting any entries in the files in opmn/logs.
    I then attempted ./opmn and I am getting the error:
    LPX-00202: could not open "/u01/app/oracle/product/10gR2/opmn/conf/opmn.xml" (error 200)
    XML parse failed: error 202.
    This is not the directory where the product is installed, which is why it can not find it. How do I tell it to look in the correct directory? I tried opmnconfig and I tried modifying ORACLE_HOME but I keep getting the same error message.
    Can you help point me in the right direction?

    I recently installed the Oracle Apache Server and APEX 2.2 on a new box. I am attempting to set this box up to look like my current production environment, so that I can test the upgrade to APEX 3. When I attempt ./opmnctl startall, I get the error opmnctl: opmn start failed. I am not getting any entries in the files in opmn/logs.
    I then attempted ./opmn and I am getting the error:
    LPX-00202: could not open "/u01/app/oracle/product/10gR2/opmn/conf/opmn.xml" (error 200)
    XML parse failed: error 202.
    This is not the directory where the product is installed, which is why it can not find it. How do I tell it to look in the correct directory? I tried opmnconfig and I tried modifying ORACLE_HOME but I keep getting the same error message.
    Can you help point me in the right direction?

  • DBMS_XMLSTORE.UpdateXML error when node is empty

    We are using Oracle version 11.2.0.1.0.
    We are using DBMS_XMLStore.UpdateXML to directly update from XML and are having an issue when an empty node is passed within the XML.
    If I pass this xml to updateXML to clear out field C1 I get an error.
    <ROWSET table="My_Table">
    <record>
    <M_ID>47</M_ID>
    <C1></C1>
    <C2>999998</C2>
    <C3>2010-07-12T10:00:00</C3>
    <C4>Reason1</C4>
    </record>
    </ROWSET>
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00222: error received from SAX callback function
    ORA-00927: missing equal sign
    I've seen this issue listed back in 2007 and there claims to have been a fix for version 10.2.0.1.
    Is there a fix or a workaround for this?

    Hi,
    This works for me on 11.2.0.2 :
    SQL> create table my_table (
      2   m_id number,
      3   c1 varchar2(30),
      4   c2 number,
      5   c3 date,
      6   c4 varchar2(30)
      7  );
    Table created
    SQL>
    SQL> insert into my_table
      2  values(47, 'TEST', 999999, null, null);
    1 row inserted
    SQL>
    SQL> DECLARE
      2 
      3   ctx dbms_xmlstore.ctxHandle;
      4   doc xmltype := xmltype('<ROWSET table="My_Table">
      5  <record>
      6  <M_ID>47</M_ID>
      7  <C1></C1>
      8  <C2>999998</C2>
      9  <C3>2010-07-12T10:00:00</C3>
    10  <C4>Reason1</C4>
    11  </record>
    12  </ROWSET>');
    13 
    14   res number;
    15 
    16  BEGIN
    17 
    18   ctx := dbms_xmlstore.newContext('MY_TABLE');
    19   dbms_xmlstore.setRowTag(ctx, 'record');
    20   dbms_xmlstore.setKeyColumn(ctx, 'M_ID');
    21   dbms_xmlstore.setUpdateColumn(ctx, 'C1');
    22   dbms_xmlstore.setUpdateColumn(ctx, 'C2');
    23   res := dbms_xmlstore.updateXML(ctx, doc);
    24 
    25  END;
    26  /
    PL/SQL procedure successfully completed
    SQL> select * from my_table;
          M_ID C1                 C2 C3          C4
            47                999998

  • ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L

    Hi There,
    I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <ID>13</ID>
    <TYPE_SEQ>8</TYPE_SEQ>
    <TYPE>B749</TYPE>
    <TYPE_DESC>B758</_TYPE_DESC>
    <EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
    <EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
    <CREATED_BY>958344</CREATED_BY>
    <CREATED_ON>2099-01-01</CREATED_ON>
    <UPDATED_BY>172283</UPDATED_BY>
    <UPDATED_ON>2099-01-01</UPDATED_ON>
    </ROW>
    </ROWSET>
    It throws the following error.
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    Can any one advice the solution please.
    -Sudheer.

    Hi Sudheer,
    This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
    Check it with this code:
    SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
    Check it with:
    SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
      ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
    Rutger

  • XML parsing error where none should be...please help!

    From Oracle 10g, I am calling web service running in ASP.NET 1.1 on IIS 6.0 to print a document and return a simple 'PRINTED' message via soap.
    The SOAP message I'm back from the web service is simply this:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <PrintBOLResponse xmlns="http://tempuri.org/">
    <PrintBOLResult>PRINTED</PrintBOLResult>
    </PrintBOLResponse>
    </soap:Body>
    </soap:Envelope>
    And the code and XPATH I am using to extract the message is:
    -- Remove the <?xml version="1.0" encoding="utf-8"?> header
    soap_respond := SUBSTR (soap_respond, 39, 10000);
    -- Create an XMLType variable containing the Response XML
    resp := XMLTYPE.createxml (soap_respond);
    -- Attempt to extract the message that should be returned by the web service
    resp := resp.EXTRACT ('/soap:Envelope/soap:Body/*/*/child::node()');
    And it gives me this error:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '/soap:Envelope/soap:Body/*/*/child::node()
    When I test it out here: http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm
    it parses just fine, and I cannot find any useful information on this LPX-00601 error.
    Please help?

    I'm sorry, the full response from the web service is:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    &#09;<soap:Body>
    &#09;&#09;<PrintBOLResponse xmlns="http://tempuri.org/">
    &#09;&#09;&#09;<PrintBOLResult>PRINTED</PrintBOLResult>
    &#09;&#09;</PrintBOLResponse>
    &#09;</soap:Body>
    </soap:Envelope>

  • Error when  importing xml data

    I am getting the following error when loading xml datafile to my Oracle XE database table. This data I exported from htmldb.oracle.com.
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    please help
    George

    George,
    I expect that this is simply an incompatibility with the date format that was used for XML Import/Export as part of XE Beta. This is a bug that has been fixed for XE production and you will be able to freely export from HTML DB 2.0 and import into XE and vice versa.
    Your NLS settings do not control this. The date format used for XML Export is fixed - a canonical date format is always used.
    If you want to be able to import into XE Beta, your date fields probably look like:
    <HIREDATE>2005-12-03T00:00:00.000</HIREDATE>Just remove the trailing .000 from your date entries.
    <HIREDATE>2005-12-03T00:00:00</HIREDATE>
    Note: This will only be necessary for XE Beta. You should not have to do this for XE Production.
    Joel

  • Error when loading data from xml file

    Hi,
    I'm trying to load data into a table from XML file using ApEx DATA UNLOAD/LOAD interfaces .
    ApEx version is 3.0.1 .
    I'm getting this error:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    How to find cause of the error ?
    Janus

    Tkank you for the simple but good advice :)
    unfortunately even google didn't find many answers :
    LPX-00222 + APEX ... NOTHING
    LPX-00222 + ORA- ... 2 pages of something like
    "Examine the additional error messages and take corrective action"

  • Escaped ampersand still causes LPX-00242 in xmltype.transform

    Running Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    Collecting input from web form, and fetching via SQLX functions to then transform into html and plain text documents. If the "&" is inputted... the SQLX functions does escape it to "&amp;"... but the LPX-00242 error is still raised when sending to xmltype.transform.
    A simple test case:
    set define off;
    declare
    l_xsl xmltype;
    l_xml xmltype;
    begin
    l_xsl := xmltype('<?xml version="1.0"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text"/>
    <xsl:template match="/">
    Hello <xsl:value-of select="//name"/>
    </xsl:template>
    </xsl:stylesheet>');
    l_xml := xmltype('<test><name>Jane&amp;John Doe</name></test>');
    dbms_output.put_line(l_xml.transform
                                        (l_xsl
                                        ).getclobval ());
    end;the above code raises this exception:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00241: entity reference is not well formed
    Error at line 3
    ORA-06512: at "SYS.XMLTYPE", line 138
    ORA-06512: at line 20If I rerun the above block... but change the xml string to <test><name>Jane &amp;amp; John Doe</name></test>
    I now get the following exception:
    Error at line 2
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00242: invalid use of ampersand ('&') character (use &amp;)
    Error at line 3
    ORA-06512: at "SYS.XMLTYPE", line 138
    ORA-06512: at line 20If I change the xml string to <test><name>Jane &amp;amp;amp; John Doe</name></test>.. no exceptions and displays the following:
    Hello Jane &amp;amp; John Doe
    any reason why the SQLX function escaping is not sufficient and I need to double-escape it? The working version is not ideal, since I now have to decode the entity reference back to it's character, otherwise the entity reference code is displayed in the content.
    Edited by: pl_sequel on Sep 7, 2011 2:12 PM

    Hi tsuji,
    Interesting discussion, really, but I fail to see how the way we're generating the XMLType instance in the first place is important for any subsequent transformation.
    You said :
    That part is well noticed. And that precisely poses problem.and,
    [6.2] But the working (at least for this sample) of the latter but not the former using xmltype() precisely pose the problem of either xmltype().transform() implementation contains bug [...]Could you explain again what you think works and what doesn't?
    I may be missing something but all these appear to work correctly :
    SQL> var xsldoc varchar2(4000)
    SQL> begin
      2   :xsldoc := '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      3  <xsl:output method="text"/>
      4  <xsl:template match="/">Hello <xsl:value-of select="//name"/>
      5  </xsl:template>
      6  </xsl:stylesheet>';
      7  end;
      8  /
    PL/SQL procedure successfully completed
    SQL> set define off
    SQL> select xmltransform(
      2           xmlelement("test", xmlelement("name", 'Jane&John Doe'))
      3         , :xsldoc
      4         ).getclobval() as result
      5  from dual
      6  ;
    RESULT
    Hello Jane&John Doe
    SQL> select xmltransform(
      2           xmltype('<test><name>Jane&amp;John Doe</name></test>')
      3         , :xsldoc
      4         ).getclobval() as result
      5  from dual
      6  ;
    RESULT
    Hello Jane&John Doe
    SQL> select xmltype(
      2           '<test><name>Jane&amp;John Doe</name></test>'
      3         ).transform(xmltype(:xsldoc)).getclobval() as result
      4  from dual
      5  ;
    RESULT
    Hello Jane&John Doe
    SQL> select xmlelement("test",
      2           xmlelement("name", 'Jane&John Doe')
      3         ).transform(xmltype(:xsldoc)).getclobval() as result
      4  from dual
      5  ;
    RESULT
    Hello Jane&John Doe
    In any case, you know well there is a something fishy going on, one way of looking at it or another.Yes, I agree. For sure, Oracle XSLT processors are not bug-free.
    For the case we're looking at now, the essence of the XMLType datatype is probably more to blame than the XSLT processor though.
    A little off-topic addendum about the method="html" output :
    SQL> select xmltransform(xmlelement("test",
      2           xmlelement("name", 'Jane&John Doe')
      3         ),'<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      4  <xsl:output method="html" encoding="iso-8859-15" indent="yes"/>
      5  <xsl:template match="/"><html><head/><body><p><xsl:value-of select="//name"/></p></body></html>
      6  </xsl:template>
      7  </xsl:stylesheet>').getclobval()
      8  as result
      9  from dual;
    RESULT
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html" charset="iso-8859-15">
      </meta>
    </head>
    <body>
      <p>Jane&#38;John Doe</p>
    </body>
    </html>
    Not perfect but the method seems supported too.
    Edited by: odie_63 on 11 sept. 2011 20:43

  • Error importing data via Apex

    Hi,
    I have an apex application on a 10g XE machine, and am in the process of migrating
    this to an 11g machine (same version of apex: 3.2.1).
    With a dozen or more "Apex" users, I first was a little disgruntled to find that there wasn't
    a readily-available tool to migrate all the users across (add that to the "wish list" presuming there
    isn't an easy user-migration mechanism, please).
    Then I took the DDL across to the new platform, which worked quite well.
    My next task was to move the data, in prior preparation for moving the applications.
    On the old machine I performed a "data unload" to a separate XML file on each of my three tables
    (its not a huge application).
    On the new machine, I tried a "data load" into one table, and all I got was the unimaginative
    error message shown below:
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function ORA-01008: not all variables bound ORA-24801: illegal parameter value in OCI lob function ORA-24801: illegal parameter value in OCI lob function
    Of course, all these error messages are really informative... I can work out (not) from the error message
    how to solve the problem... !
    The table I'm moving has a dozen rows in it. The table has two CLOB columns in it and two BLOB columns.
    If I cannot easily migrate the data, there's no point in moving the applications. Time to ask the forum for
    help please.
    Various attempts of backing up the whole schema with "exp" and "expdp" and even "SQL Developer" proved futile, now
    it looks that I can add "apex" to that list too.
    Any help appreciated; thanks in advance.
    Mungo

    Thankyou for your kind reply.
    flavioc wrote:
    First of all, apex users are migrated when you export and import the workspace.I'm guessing you have to be the Apex Administrator to do that? On my hosted source
    application the highest privilege I enjoy is a single Workspace Administrator - nothing higher.
    Hence the need to transfer the data "the long way".
    >
    Secondly, in my own experience XML data exports are good for simple cases, reasonable amount data (less than 100.000 rows) otherwise you may incur in a variety of problems like insufficient memory, table loading order because of failing constraints and trigger based rules.The XML file I am attempting to import is 928Kbytes in size, and comprises about twelve records with photographs stored in BLOBs
    to bulk out this file.
    >
    Thirdly, i do not see why exp or expdp should not work, i'm using them all the time, so may be you want to be more specific on this.
    As I understand it "expdp" needs a Directory object... that would require raising a ticket with the hosting company and asking for
    them to create one (a step too far, at the moment ;-)
    From failing human memory, the "exp" command seemed to store the tablespace where the tables were stored in. When I then went to
    import from the resultant exported file, the tablespaces were different on the new machine. So I gave up on "exp".
    I thought that the relatively new "SQL Developer" would come to my rescue, but it also has problems with CLOB and BLOB columns.
    All in all it seems to be more work than I had bargained for: all I want to do is "lift" the application off one machine and drop it on
    to the new machine, but Oracle seems to want me to spend at least three days to workaround all the silly "features".
    Comments borne on frustration; forgiveness requested...
    Mungo :-)

  • Error occured while inserting XML file data into table.

    Hello,
    I m trying to load xml data into table by following code.but getting below error
    Error at line 1
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00222: error received from SAX callback function
    ORA-06512: at "SYS.DBMS_XMLSTORE", line 78
    ORA-06512: at line 21
    DECLARE
      xmldoc   clob;
      insCtx   DBMS_XMLStore.ctxType;
      dname    varchar2(20) := 'MDIR';
      rows  number;
    BEGIN
        xmldoc := dbms_xslprocessor.read2clob(dname, 'try_xm3.xml');
        insCtx := DBMS_XMLStore.newContext('try1');
    dbms_output.put_line('1');
        DBMS_XMLStore.setRowTag(insCtx, 'cajas');
    rows := DBMS_XMLStore.insertXML(insCtx, xmlDoc);
    commit;
      dbms_output.put_line('INSERT DONE '||TO_CHAR(rows));
      DBMS_XMLStore.closeContext(insCtx);
    END;
    <?xml version="1.0" encoding="utf-8"?>
    <cajas xmlns="PBcion.Caja" fec="2011-03-02T14:20:14" codDeleg="093">
      <caj codPrev="80001223" fechaInicio="2011-03-02" fec="2011-09-02" couta="01" idPerio="1" caj="32"></caj>
    </cajas>can you please look into this?
    I m using oracle 10g

    SQL> create table try1
      2  (
      3  codPrev number,
      4  fechaInicio varchar2(25),
      5  fec varchar2(25),
      6  couta number,
      7  idPerio number,
      8  caj number
      9  );
    Table created
    SQL>
    SQL> insert into try1 (codprev, fechainicio, fec, couta, idperio, caj)
      2  select x.codprev, x.fechainicio, x.fec, x.couta, x.idperio, x.caj
      3  from xmltable(
      4         xmlnamespaces(default 'PBcion.Caja')
      5       , '/cajas/caj'
      6         passing xmltype(bfilename('TEST_DIR','try_xm3.xml'), nls_charset_id('AL32UTF8'))
      7         columns codPrev     number       path '@codPrev'
      8               , fechaInicio varchar2(25) path '@fechaInicio'
      9               , fec         varchar2(25) path '@fec'
    10               , couta       number       path '@couta'
    11               , idPerio     number       path '@idPerio'
    12               , caj         number       path '@caj'
    13       ) x
    14  ;
    1 row inserted
    SQL> select * from try1;
       CODPREV FECHAINICIO               FEC                            COUTA    IDPERIO        CAJ
      80001223 2011-03-02                2011-09-02                         1          1         32
    Since the two date attributes are coming in the W3C's xs:date format, you can directly define the corresponding columns as DATE and use a DATE projection in XMLTable :
    SQL> alter table try1 modify (fechainicio date);
    Table altered
    SQL> alter table try1 modify (fec date);
    Table altered
    SQL>
    SQL> insert into try1 (codprev, fechainicio, fec, couta, idperio, caj)
      2  select x.codprev, x.fechainicio, x.fec, x.couta, x.idperio, x.caj
      3  from xmltable(
      4         xmlnamespaces(default 'PBcion.Caja')
      5       , '/cajas/caj'
      6         passing xmltype(bfilename('TEST_DIR','try_xm3.xml'), nls_charset_id('AL32UTF8'))
      7         columns codPrev     number       path '@codPrev'
      8               , fechaInicio date         path '@fechaInicio'
      9               , fec         date         path '@fec'
    10               , couta       number       path '@couta'
    11               , idPerio     number       path '@idPerio'
    12               , caj         number       path '@caj'
    13       ) x
    14  ;
    1 row inserted
    SQL> select * from try1;
       CODPREV FECHAINICIO FEC              COUTA    IDPERIO        CAJ
      80001223 02/03/2011  02/09/2011           1          1         32

  • How do I use DTD's with XML DB ?

    Assume I have an XML document containing a DOCTYPE that looks like this...
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
         <key>Major Version</key><integer>1</integer>
         <key>Minor Version</key><integer>1</integer>
         <key>Application Version</key><string>6.0.5</string>
         <key>Features</key><integer>1</integer>
         <key>Music Folder</key><string>file://localhost/C:/My%20Documents/My%20Music/iTunes/iTunes%20Music/</string>
         <key>Library Persistent ID</key><string>08072423C5C39B39</string>
         <key>Tracks</key>
         <dict>
              <key>113</key>
              <dict>
                   <key>Track ID</key><integer>113</integer>
                   <key>Name</key><string>Speak to Me/Breathe in the Air</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>David Gilmour/Nick Mason/Richard Wright/Roger Waters</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>9500202</integer>
                   <key>Total Time</key><integer>237479</integer>
                   <key>Track Number</key><integer>1</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B48</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/01%20Speak%20to%20Me-Breathe%20in%20the%20Air.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>115</key>
              <dict>
                   <key>Track ID</key><integer>115</integer>
                   <key>Name</key><string>On the Run</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>David Gilmour/Roger Waters</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>8480282</integer>
                   <key>Total Time</key><integer>211983</integer>
                   <key>Track Number</key><integer>2</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B49</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/02%20On%20the%20Run.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>117</key>
              <dict>
                   <key>Track ID</key><integer>117</integer>
                   <key>Name</key><string>Time</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>David Gilmour/Nick Mason/Richard Wright/Roger Waters</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>17007482</integer>
                   <key>Total Time</key><integer>425168</integer>
                   <key>Track Number</key><integer>3</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B4A</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/03%20Time.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>119</key>
              <dict>
                   <key>Track ID</key><integer>119</integer>
                   <key>Name</key><string>The Great Gig in the Sky</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>Richard Wright</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>11484657</integer>
                   <key>Total Time</key><integer>287085</integer>
                   <key>Track Number</key><integer>4</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:06:59Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B4B</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/04%20The%20Great%20Gig%20in%20the%20Sky.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>121</key>
              <dict>
                   <key>Track ID</key><integer>121</integer>
                   <key>Name</key><string>Money</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>Roger Waters</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>15343842</integer>
                   <key>Total Time</key><integer>383582</integer>
                   <key>Track Number</key><integer>5</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B4C</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/05%20Money.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>123</key>
              <dict>
                   <key>Track ID</key><integer>123</integer>
                   <key>Name</key><string>Us and Them</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>Richard Wright/Roger Waters</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>18756812</integer>
                   <key>Total Time</key><integer>468897</integer>
                   <key>Track Number</key><integer>6</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B4D</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/06%20Us%20and%20Them.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>125</key>
              <dict>
                   <key>Track ID</key><integer>125</integer>
                   <key>Name</key><string>Any Colour You Like</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>David Gilmour/Nick Mason/Richard Wright</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>8225302</integer>
                   <key>Total Time</key><integer>205609</integer>
                   <key>Track Number</key><integer>7</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B4E</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/07%20Any%20Colour%20You%20Like.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>127</key>
              <dict>
                   <key>Track ID</key><integer>127</integer>
                   <key>Name</key><string>Brain Damage</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>Roger Waters</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>9219097</integer>
                   <key>Total Time</key><integer>230452</integer>
                   <key>Track Number</key><integer>8</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B4F</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/08%20Brain%20Damage.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>129</key>
              <dict>
                   <key>Track ID</key><integer>129</integer>
                   <key>Name</key><string>Eclipse</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>Roger Waters</string>
                   <key>Album</key><string>Dark Side of the Moon</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>5067312</integer>
                   <key>Total Time</key><integer>126667</integer>
                   <key>Track Number</key><integer>9</integer>
                   <key>Year</key><integer>1973</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:00Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:26Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B50</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Dark%20Side%20of%20the%20Moon/09%20Eclipse.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>157</key>
              <dict>
                   <key>Track ID</key><integer>157</integer>
                   <key>Name</key><string>Shine on You Crazy Diamond, Pts. 1-5</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>David Gilmour/Richard Wright/Roger Waters</string>
                   <key>Album</key><string>Wish You Were Here</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>32523642</integer>
                   <key>Total Time</key><integer>813061</integer>
                   <key>Track Number</key><integer>1</integer>
                   <key>Year</key><integer>1975</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B51</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/01%20Shine%20on%20You%20Crazy%20Diamond,%20Pts.%201-5.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>159</key>
              <dict>
                   <key>Track ID</key><integer>159</integer>
                   <key>Name</key><string>Welcome to the Machine</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>Roger Waters</string>
                   <key>Album</key><string>Wish You Were Here</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>17855766</integer>
                   <key>Total Time</key><integer>446380</integer>
                   <key>Track Number</key><integer>2</integer>
                   <key>Year</key><integer>1975</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B52</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/02%20Welcome%20to%20the%20Machine.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>161</key>
              <dict>
                   <key>Track ID</key><integer>161</integer>
                   <key>Name</key><string>Have a Cigar</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>Roger Waters</string>
                   <key>Album</key><string>Wish You Were Here</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>12320401</integer>
                   <key>Total Time</key><integer>307983</integer>
                   <key>Track Number</key><integer>3</integer>
                   <key>Year</key><integer>1975</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B53</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/03%20Have%20a%20Cigar.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>163</key>
              <dict>
                   <key>Track ID</key><integer>163</integer>
                   <key>Name</key><string>Wish You Were Here</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>David Gilmour/Roger Waters</string>
                   <key>Album</key><string>Wish You Were Here</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>13609931</integer>
                   <key>Total Time</key><integer>340218</integer>
                   <key>Track Number</key><integer>4</integer>
                   <key>Year</key><integer>1975</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B54</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/04%20Wish%20You%20Were%20Here.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
              <key>165</key>
              <dict>
                   <key>Track ID</key><integer>165</integer>
                   <key>Name</key><string>Shine on You Crazy Diamond, Pts. 6-9</string>
                   <key>Artist</key><string>Pink Floyd</string>
                   <key>Composer</key><string>David Gilmour/Richard Wright/Roger Waters</string>
                   <key>Album</key><string>Wish You Were Here</string>
                   <key>Genre</key><string>Rock</string>
                   <key>Kind</key><string>MPEG audio file</string>
                   <key>Size</key><integer>29708412</integer>
                   <key>Total Time</key><integer>742687</integer>
                   <key>Track Number</key><integer>5</integer>
                   <key>Year</key><integer>1975</integer>
                   <key>Date Modified</key><date>2006-03-09T22:07:14Z</date>
                   <key>Date Added</key><date>2006-08-24T05:24:33Z</date>
                   <key>Bit Rate</key><integer>320</integer>
                   <key>Sample Rate</key><integer>44100</integer>
                   <key>Persistent ID</key><string>08072423C5C39B55</string>
                   <key>Track Type</key><string>File</string>
                   <key>Location</key><string>file://localhost/C:/My%20Documents/My%20Music/Pink%20Floyd/Wish%20You%20Were%20Here/05%20Shine%20on%20You%20Crazy%20Diamond,%20Pts.%206-9.mp3</string>
                   <key>File Folder Count</key><integer>-1</integer>
                   <key>Library Folder Count</key><integer>-1</integer>
              </dict>
         </dict>
         <key>Playlists</key>
         <array>
              <dict>
                   <key>Name</key><string>Library</string>
                   <key>Master</key><true/>
                   <key>Playlist ID</key><integer>37</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B3A</string>
                   <key>All Items</key><true/>
                   <key>Playlist Items</key>
                   <array>
                        <dict>
                             <key>Track ID</key><integer>113</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>115</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>117</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>119</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>121</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>123</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>125</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>127</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>129</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>157</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>159</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>161</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>163</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>165</integer>
                        </dict>
                   </array>
              </dict>
              <dict>
                   <key>Name</key><string>90’s Music</string>
                   <key>Playlist ID</key><integer>40</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B3B</string>
                   <key>All Items</key><true/>
                   <key>Smart Info</key>
                   <data>
                   AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAA==
                   </data>
                   <key>Smart Criteria</key>
                   <data>
                   U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAEAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEAAAAAAAAB8YAAAAAAAAAAAAAAAAAAAAB
                   AAAAAAAAB88AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
                   </data>
              </dict>
              <dict>
                   <key>Name</key><string>My Top Rated</string>
                   <key>Playlist ID</key><integer>43</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B3C</string>
                   <key>All Items</key><true/>
                   <key>Smart Info</key>
                   <data>
                   AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAA==
                   </data>
                   <key>Smart Criteria</key>
                   <data>
                   U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABkAAAAQAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEAAAAAAAAADwAAAAAAAAAAAAAAAAAAAAB
                   AAAAAAAAADwAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
                   </data>
              </dict>
              <dict>
                   <key>Name</key><string>Party Shuffle</string>
                   <key>Playlist ID</key><integer>61</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B40</string>
                   <key>Party Shuffle</key><true/>
                   <key>All Items</key><true/>
                   <key>Playlist Items</key>
                   <array>
                        <dict>
                             <key>Track ID</key><integer>115</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>125</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>129</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>123</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>127</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>117</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>113</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>119</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>121</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>123</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>125</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>113</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>127</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>115</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>119</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>129</integer>
                        </dict>
                   </array>
              </dict>
              <dict>
                   <key>Name</key><string>Podcasts</string>
                   <key>Playlist ID</key><integer>64</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B41</string>
                   <key>Podcasts</key><true/>
                   <key>All Items</key><true/>
              </dict>
              <dict>
                   <key>Name</key><string>Recently Added</string>
                   <key>Playlist ID</key><integer>52</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B3F</string>
                   <key>All Items</key><true/>
                   <key>Smart Info</key>
                   <data>
                   AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAA==
                   </data>
                   <key>Smart Criteria</key>
                   <data>
                   U0xzdAABAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAIAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABELa4tri2uLa7//////////gAAAAAACTqA
                   La4tri2uLa4AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
                   </data>
                   <key>Playlist Items</key>
                   <array>
                        <dict>
                             <key>Track ID</key><integer>113</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>115</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>117</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>119</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>121</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>123</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>125</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>127</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>129</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>157</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>159</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>161</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>163</integer>
                        </dict>
                        <dict>
                             <key>Track ID</key><integer>165</integer>
                        </dict>
                   </array>
              </dict>
              <dict>
                   <key>Name</key><string>Recently Played</string>
                   <key>Playlist ID</key><integer>49</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B3E</string>
                   <key>All Items</key><true/>
                   <key>Smart Info</key>
                   <data>
                   AQEAAwAAAAIAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAA==
                   </data>
                   <key>Smart Criteria</key>
                   <data>
                   U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABcAAAIAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABELa4tri2uLa7//////////gAAAAAACTqA
                   La4tri2uLa4AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAA=
                   </data>
              </dict>
              <dict>
                   <key>Name</key><string>Top 25 Most Played</string>
                   <key>Playlist ID</key><integer>46</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B3D</string>
                   <key>All Items</key><true/>
                   <key>Smart Info</key>
                   <data>
                   AQABAwAAABkAAAAZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAA==
                   </data>
                   <key>Smart Criteria</key>
                   <data>
                   U0xzdAABAAEAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQBAAACAAAAAAAAAAAAAAAAAAAAAAAA
                   AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                   </data>
              </dict>
              <dict>
                   <key>Name</key><string>Videos</string>
                   <key>Playlist ID</key><integer>67</integer>
                   <key>Playlist Persistent ID</key><string>08072423C5C39B42</string>
                   <key>All Items</key><true/>
                   <key>Videos</key><true/>
              </dict>
         </array>
    </dict>
    </plist>For those who are interested it's a Libary.xml generated when you export your library from Apple's iTunes

    As the example below shows, when the database attempt to parse this document in order to create an XMLType the following error is returned.
    LPX-00202: could not open "http://www.apple.com/DTDs/PropertyList-1.0.dtd" (error 101)
    The cause of this error is that the XML Parser detects the presence of the DOCTYPE tag in the XML document and automatically switches into validating Mode. It then attempts to access the DTD at the specified URL. In this example there is a proxy server sitting between the database the outside world, so the XML Parser is unable to access the specified URL and the LPX-00202 is thrown.
    One solution to this is to configure database to use the Proxy Server. However
    However in general having to access content stored outside of the database when processing XML content inside the database is not a good idea. There are 2 main reasons for this.
    The first is performance, the time taken to access the external content will be much higher than the time taken to access content stored in the database.
    The second is security, it is possible for the URL to be spoofed meaning that the document returned by the HTTP operation may not be the correct document.
    etc going down or being spoofed..
    SQL> create or replace directory XMLDIR as 'c:\xdb\faq\example4'
      2  /
    Directory created.
    SQL> create table LIBRARY_XML of XMLType
      2  /
    Table created.
    SQL> insert into LIBRARY_XML values ( xmltype(bfilename('XMLDIR','Library.public.xml'),nls_charset_id('AL332UTF8')) )
      2  /
    insert into LIBRARY_XML values ( xmltype(bfilename('XMLDIR','Library.public.xml'),nls_charset_id('AL332UTF8')) )
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00202: could not open "http://www.apple.com/DTDs/PropertyList-1.0.dtd" (error 101)
    Error at line 2
    ORA-06512: at "SYS.XMLTYPE", line 295
    ORA-06512: at line 1
    SQL> declare
      2    res boolean;
      3  begin
      4    res := dbms_xdb.createResource('/public/Library.xml',xmltype(bfilename('XMLDIR','Library.public.xml'),nls_charset_id('AL32UTF8')));
      5  end;
      6  /
    declare
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    Error at line 2
    ORA-06512: at "SYS.XMLTYPE", line 295
    ORA-06512: at line 4

Maybe you are looking for

  • HT1918 HOW CAN I REMOVE MY CREDIT CARD FROM MY ITUNES ACCOUNT?

    i want to remove my credit card from my itunes account?

  • Queries on WPC

    Hello, I have a few queries on WPC, I have performed the initial configuration steps and things are working ok with WPC. however i didnt find the editor so user freindly so as to allow business user to create and manage complex html pages themsleves.

  • Checking a value...String OR int

    checking a value...String OR int how to check a given value whether it is a String OR int if(jTextField1.getText()...) is a String      System.out.println("String"); else //if it an int      System.out.println("int"); How can i check this... pls,tell

  • Does security filter work in ASO?

    Hi All - I'm having nightmare with security filters in ASO cube in v 9.3.1. When I create a write filter with only one dimension, it works ok. However, when I add multiple dimensions in the write filter, it always takes the first dimension & doesn't

  • Flex 2-14 Compatible M.2 SSD's

    Hello guys/gals, new Lenovo user here. I want to add an SSD to my Flex 2-14 which currently has the 500gb SSHD. I see that the space for the M.2 slot is quite small, so its only 42mm M.2 drives that will fit. Is this correct ? Next there is the issue