Need help on xml parsing... no body replied at xml forum...plz help

it 's 10g
set serveroutput on
set line 2000
drop table emp;
CREATE TABLE EMP (
  EMPNO     NUMBER(10),
  ENAME     VARCHAR2(10),
  JOB       VARCHAR2(9),
  MGR       NUMBER(4),
  HIREDATE  DATE,
  SAL       NUMBER(7, 2),
  COMM      NUMBER(7, 2),
  DEPTNO   NUMBER(2));
DECLARE
  l_bfile   BFILE;
  l_clob    CLOB;
  l_parser  dbms_xmlparser.Parser;
  l_doc     dbms_xmldom.DOMDocument;
  l_nl      dbms_xmldom.DOMNodeList;
  l_n       dbms_xmldom.DOMNode;
  l_temp    VARCHAR2(1000);
  TYPE tab_type IS TABLE OF emp%ROWTYPE;
  t_tab  tab_type := tab_type();
BEGIN
  l_bfile := BFileName('ADMIN1_DIR', 'emp.xml');
  dbms_lob.createtemporary(l_clob, cache=>FALSE);
  dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
  dbms_lob.loadFromFile(dest_lob => l_clob,
                        src_lob  => l_bfile,
                        amount   => dbms_lob.getLength(l_bfile));
  dbms_lob.close(l_bfile);
  -- make sure implicit date conversions are performed correctly
  dbms_session.set_nls('NLS_DATE_FORMAT','''DD-MON-YYYY''');
  -- Create a parser.
  l_parser := dbms_xmlparser.newParser;
  -- Parse the document and create a new DOM document.
  dbms_xmlparser.parseClob(l_parser, l_clob);
  l_doc := dbms_xmlparser.getDocument(l_parser);
  -- Free resources associated with the CLOB and Parser now they are no longer needed.
  dbms_lob.freetemporary(l_clob);
  dbms_xmlparser.freeParser(l_parser);
  -- Get a list of all the EMP nodes in the document using the XPATH syntax.
  --l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'/EMPLOYEES/EMP');
l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'/ipdrIPDR');
  -- Loop through the list and create a new record in a tble collection
  -- for each EMP record.
  FOR cur_emp IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
    l_n := dbms_xmldom.item(l_nl, cur_emp);
    t_tab.extend;
    -- Use XPATH syntax to assign values to he elements of the collection.
--    dbms_xslprocessor.valueOf(l_n,'recordId/text()',t_tab(t_tab.last).empno);
    dbms_xslprocessor.valueOf(l_n,'recordId/text()',t_tab(t_tab.last).ename);
    dbms_xslprocessor.valueOf(l_n,'JOB/text()',t_tab(t_tab.last).job);
    dbms_xslprocessor.valueOf(l_n,'MGR/text()',t_tab(t_tab.last).mgr);
    dbms_xslprocessor.valueOf(l_n,'HIREDATE/text()',t_tab(t_tab.last).hiredate);
    dbms_xslprocessor.valueOf(l_n,'SAL/text()',t_tab(t_tab.last).sal);
    dbms_xslprocessor.valueOf(l_n,'COMM/text()',t_tab(t_tab.last).comm);
    dbms_xslprocessor.valueOf(l_n,'DEPTNO/text()',t_tab(t_tab.last).deptno);
  END LOOP;
  -- Insert data into the real EMP table from the table collection.
  -- Form better performance multiple collections should be used to allow
  -- bulk binding using the FORALL construct but this would make the code
  -- too long-winded for this example.
  FOR cur_emp IN t_tab.first .. t_tab.last LOOP
    INSERT INTO emp
     ename
    VALUES
     t_tab(cur_emp).ename
  END LOOP;
  COMMIT;
  -- Free any resources associated with the document now it
  -- is no longer needed.
  dbms_xmldom.freeDocument(l_doc);
EXCEPTION
  WHEN OTHERS THEN
    dbms_output.put_line('errrrrrrrr--->'||sqlerrm);
   dbms_lob.freetemporary(l_clob);
    dbms_xmlparser.freeParser(l_parser);
    dbms_xmldom.freeDocument(l_doc);
END;
/select * from emp;
this file works fine
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<ipdrIPDR>
<recordId>923622</recordId>
</ipdrIPDR>
but this is not . .. note my special charter in the tokens... i did change in the program too but does not work ...
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<ipdr:IPDR>
<recordId>923622</recordId>
</ipdr:IPDR>
I get error
errrrrrrrr--->ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00234: namespace prefix "ipdr" is not declared
Error at line 2
PL/SQL procedure successfully completed.

Hi,
Yes, I have tried the same method. will be ok.
But I have got another some records on the same column as follows.
I have tried with another one xmltable with outer join(+), still not getting the actual data (null record from the original(main) table) and extra records from the new xmltable.
Is it possible to make one or union with xmltable also can we check the node either /Item or /section exists something like that
<?xml version="1.0" encoding="WINDOWS-1252"?>
<section>
  <sectionmetadata>
    <object_id>317832</object_id>
    <asitype>Section</asitype>
    <instructornotes/>
  </sectionmetadata>
  <selection_ordering>
    <selection seltype="All">
      <selection_number>1</selection_number>
      <or_selection>
        <selection_metadata mdoperator="EQ" mdname="questionid">_155451_1</selection_metadata>
      </or_selection>
    </selection>
    <selection seltype="All">
      <or_selection>
        <selection_param pname="singleLink">true</selection_param>
      </or_selection>
    </selection>
  </selection_ordering>
</section>Thanks,

Similar Messages

  • XML Parse error while loading an XML file

    HI Folks,
    I was trying to load and XML file into BODS.. The XML file is well-formed and the same when tested in other tools  is getting loaded without any issues..
    I have created a XML-File format with the corresponding XSD..
    But here in BODS it is giving - Parse error
    1) when i try to view the data of the source XML in my dataflow ..it is giving "XML Parser Failed".. and not able to show data..
    2) When I run my job i get the same pares error - with details as under..
    ---> Error here is "Unable to recognize element 'TAB' " or some time is say " Element TAB should be qualified"
    Please guide with this if you have any info..thanks
    I'm pasting the XML source file format here for your reference:--
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
    - <TAB>
    - <items>
    + <CUSTOMER_RECORD>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <NAME_1>ABC</NAME_1>
      <NAME_2>OFM/COMMERCIAL ACCOUNTS</NAME_2>
      <STREET_1>31 CENTER DRIVE MCS2045</STREET_1>
      <STREET_2 />
      <CITY>BETHESDA</CITY>
      <STATE_CODE>MD</STATE_CODE>
      <POSTAL_CODE>20892-2045</POSTAL_CODE>
      <COUNTRY_CODE>US</COUNTRY_CODE>
      <ORDER_BLOCK />
      <ERP_CREATE_DATE>20040610</ERP_CREATE_DATE>
      <ERP_CREATED_BY>DGUPTA</ERP_CREATED_BY>
      <ERP_MODIFY_DATE>20120201</ERP_MODIFY_DATE>
      <ERP_MODIFIED_BY>LWOHLFEI</ERP_MODIFIED_BY>
      <INDUSTRY_CODE>0103</INDUSTRY_CODE>
      <ACCOUNT_GROUP_ID>0001</ACCOUNT_GROUP_ID>
      <SALES_NOTE />
      <ADDRESS_NOTE />
      <CUSTOMER_CLASSIFICATION_CODE>02</CUSTOMER_CLASSIFICATION_CODE>
      <GLN_NUMBER />
      <PREVIOUS_ACCT_NO />
      <ACCOUNT_TYPE />
      <GAG />
      <SDI_ID />
      <HOSP_ID />
      <HIN />
      <DUNS />
      <PO_BOX />
      <POB_CITY />
      <POB_ZIP />
      <PHONE_NUMBER>77777</PHONE_NUMBER>
      <EMAIL_DOMAIN />
      <REQUESTER />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </CUSTOMER_RECORD>
    - <SALES_ORG_DATA>
    + <item>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <SALES_ORG>0130</SALES_ORG>
      <CUSTOMER_GROUP>03</CUSTOMER_GROUP>
      <ORDER_BLOCK_CODE />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </item>
    + <item>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <SALES_ORG>0120</SALES_ORG>
      <CUSTOMER_GROUP>11</CUSTOMER_GROUP>
      <ORDER_BLOCK_CODE />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </item>
      </SALES_ORG_DATA>
      </items>
      </TAB>
      </asx:values>
      </asx:abap>

    Pierre,
    Depending on the object "myLastFile", the method openDlg might not even exist (if the myLastFile object is not a File object, for instance). And I do not see any need for the myLastFile anyhow, as you are presenting a dialog to select a file to open. I recommend using the global ChooseFile( ) method instead. This will give you a filename as string in full path notation, or null when no file was selected in the dialog. I am not sure what your ExtendScript documentation states about the return value for ChooseFile, but if that differs from what I am telling you here, the documentation is wrong. So, if you replace the first lines of your code with the following it should work:
    function openXMLFile ( ) {
        var filename = ChooseFile ( "Choose XML file ...", "", "*.xml", Constants.FV_ChooseSelect );
    While writing this, I see that Russ has already given you the same advice. Use the symbolic constant value I indicated to use the ChooseFile dialog to select a single file (it can also be used to select a directory or open a file - but you want to control the opening process yourself). Note that this method allows you to set a start directory for the dialog (second parameter). The ESTK autocompletion also gives you a fifth parameter "helplink" which is undocumented and can safely be ignored.
    Good luck
    Jang

  • IPad II stuck in recovery mode after an update...help, spent hours on this, none of the online forum has helped so far, t

    Please help, wasted so many hours trying to fix the IPad after an update, none of the online forums have helped so far with errpr 4005

    iOS: Restore errors 4005, 4013, and 4014
    http://support.apple.com/kb/TS5314
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can’t update or restore your iOS device
    http://support.apple.com/kb/ht1808
     Cheers, Tom

  • Some one plz help me i've done everything i could think of PLZ HELP!!!!!!!!!!!!!!

    Hey everyone last night my Zen touch froze up on me while i was listening to it so i hit the little restart botton and i thought everything was cool until i tried to do anything in recovery mode first i tried to do the clean up but nothing happened so i went down to format all and a sign popped up saying harddisk problem so i went to reload firmware and again the sign popped up saying harddisk problem so i went to reboot and that worked but it put me right back in to recovery mode and i just want to get out of recovery mode and listen to my music i have tried everything someone plz HELP ME!!!!!!!!!!!!!!!!!!!!!!!!

    i just got it though like 2 weeks ago so why would it be dying
    Hardware can be quite unpredictable at times. I ever bought a 20Gb hard disk and when I fix it on back at home, it just died. That is a case I never forget. Take back to shop and they do a on exchange. It is only for one day right out of the box fresh!!!! And sometimes the fault seem to be in that particular batch that is shipped in. So one got fault others all got the same fault.
    For your case maybe it is the same? :smileytongue:

  • Parsing parameter!!!!! Plz help!!!!

    I have a portlet define by OmniPortlet, and i also define another portlet by Database Provider (Form Portlet), now i want to parse parameter from OmniPortlet to Form Portlet, please tell me the way to do this! Please help me, this my final exam at school, it's very important.
    Thanks all of you!

    DOM will not be able to handle a file of that size - it will have to be SAX.
    The difference between the two (mainly) is that DOM sucks in the entire XML file and provides an object based representation that you can navigate around (random access).
    On the other hand, SAX read a line (or a few chars, dont know the specifics) of the XML file at a time and raises "events" to an event listener (eg when it reads an opening tag, it raises an event stating that a new tag was found). The advantage is that it is not as memory intensive as DOM, but the (major sometimes) downside is that you have no scope to traverse the XML in a random manner - you get sequential events and you need to write your logic to process them.
    The other downside with SAX is that it is cumbersome to modify/create XML docs using SAX, but that is probably not relevent to you.
    There are many many tutorials on the web on using SAX and DOM - just google one out.

  • Javax.xml.stream import problem???? plz help

    hi, i am looking into using stax to write to xml, however i believe i need some classes contained within javax.xml.stream.*; and this is not contained within j2se docs i know, i think it comes with the web services.
    what i wanted to know is as i am using netbeans what is the best way for me to use these packages as i still need the current ones contained within j2se for the rest of my app
    thanks
    Danny =)

    do i have to download another jre or can it be done using the one i currently have, j2se 1.9

  • I couldn find it in forum.Plz help on function module

    which is the function module to update data to tables of different system dynamically.
    Moderator message : Vague question, show the work you have already done.  Thread locked.
    Edited by: Vinod Kumar on Feb 1, 2012 2:58 PM

    Hello,
    This is a generic question please explain the requirement.
    You'll have to code your Function Module call this FM in your report Prg, and schedule the Prg.
    Regards,
    Abhishek

  • Issue of xml parser on WAS

    this is regarding using oracle xml parser on WAS. we are facing the same issue as was posted on this forum
    xmlparserv2.jar cause IBM WebSphere v5.1 down.
    what i need to know is has there been any other issue even after implementing those solution? plz do reply
    Best Regadrs

    the error that we get on the server is : -
    SystemErr R java.lang.IncompatibleClassChangeError\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.tree.AbstractElement.setAttributes(AbstractElement.java:505)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.io.SAXContentHandler.addAttributes(SAXContentHandler.java:916)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.io.SAXContentHandler.startElement(SAXContentHandler.java:249)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.dom4j.io.SAXReader.read(SAXReader.java:465)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.hibernate.cfg.Configuration.configure(Configuration.java:1098)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at org.imf.dmfs.dal.util.dao.HibernateUtil.<clinit>(HibernateUtil.java:34)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at java.lang.J9VMInternals.initializeImpl(Native Method)\par
    12/8/09 10:23:07:181 PKT 000086e2 SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)\par
    2. the applications is being depl in WAR.
    3. ClassLoader Policy : parent last
    deleting META-INF/services folder in oracle parser jar file has no effect.
    PLZ HELP ME OUT

  • Loading XML parser for PL/SQL

    I am working my way thru 'Building Oracle XML Applications' by Steve Muench.
    I am getting a problem when I try to install the XML parser for PL/SQL
    The following errors occur when I try to do
    loadjava -v -r -u xmlbook/xmlbook xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XMLByteReader
    creating : oracle/xml/parser/v2/XMLByteReader
    Error while creating class oracle/xml/parser/v2/XMLByteReader
    ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.XMLByteReader) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    loading : oracle/xml/parser/v2/PrintDriver
    creating : oracle/xml/parser/v2/PrintDriver
    Error while creating class oracle/xml/parser/v2/PrintDriver
    ORA-29545: badly formed class: User has attempted to load a class (oracle.xml.parser.v2.PrintDriver) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    resolving: oracle/xml/parser/v2/PrintDriver
    Error while resolving class oracle/xml/parser/v2/PrintDriver
    ORA-04043: object /a065289c_PrintDriver does not exist
    resolving: org/w3c/dom/html/HTMLAnchorElement
    Error while resolving class org/w3c/dom/html/HTMLAnchorElement
    ORA-04043: object /564607d_HTMLAnchorElement does not exist
    About 20 classes get loaded correctly. All the rest get ORA-29545 or ORA-04043 errors.
    I expect the ORA-04043 errors are a result of the earlier errors.
    The documentation seems to indicate that there is no need to do
    dbms_java.grant_permission to load into your own schema.
    I have NT4 (sp6)
    Oracle 8.1.7
    xmlparserv2.jar dated 24/8/2001 17:01 size 1,177,259
    xmlparserv2_2027.jar gives the same errors.
    Any help would be appreciated.
    null

    Was it definitely xmlparsev2.jar that you had to load?
    I recently started going through some of these examples as well and found that the standard xml parser was there but that I needed to load the xml parser for PL/SQL. I did this using loadjava from a subdirectory within the xdk directory and everything worked fine.

  • Caused by: oracle.xml.parser.v2.XMLParseException: '=' missing in attribute

    This is a Bursting problem under EBS 5.6.3. In production we have 5.6.2 and since our development system to 5.6.3 has been upgraded, the following error occurs on every single Burst being done using the Concurrent Manager only:
    Caused by: oracle.xml.parser.v2.XMLParseException: '=' missing in attribute.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
         at oracle.xml.parser.v2.NonValidatingParser.parseAttrValue(NonValidatingParser.java:1502)
         at oracle.xml.parser.v2.NonValidatingParser.parseAttr(NonValidatingParser.java:1408)
         at oracle.xml.parser.v2.NonValidatingParser.parseAttributes(NonValidatingParser.java:1350)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1180)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(BurstingProcessorEngine.java:1340)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:1297)
         at oracle.apps.xdo.batch.DocumentProcessor.process(DocumentProcessor.java:213)
         at xxwel.ebs.xmlp.XXWELBurster.processDocuments(XXWELBurster.java:143)
    I can run the same file through 5.6.3 ($JAVA_TOP) libraries mounted on my JDev with no problems. Also the same XML file runs fine on Production under 5.6.2 - no problems. I have also checked the XML file using a syntax checker. I know this is not a syntax issue even though it looks like it.
    Could someone point me in the right direction - explain what this means. Getting desperate as 5.6.3 will be going into production soon and all Bursting will fail with this error. I can't get the simplest XML File to Burst - NOTE this is only occurring on the EBS system (even running without the CM ie. a standalone java main it fails). I think this has something to do with the XML parser version and the EBS environment.
    Please help...

    Hi Tim, good thinking - wouldn't have thought to check this file. Anyway can confirm that the problem is happening with multiple burst control files so I haven't checked the files themselves as the problem seems systemic. anyway here is an example.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXWEL_BIP_UNI_INVOICES/LIST_G_CUSTOMER_NUMBER/G_CUSTOMER_NUMBER">
    <xapi:delivery>
    <xapi:email server="mailwa01" port="25"
    from="${ADMIN_EMAIL}" reply-to ="${ADMIN_EMAIL}">
    <xapi:message id="111" to="${ADMIN_EMAIL}" attachment="true" subject="Unigas Inv
    oice No: ${TRX_NUMBER}">
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="111">
    <xapi:template type="rtf" location="/u02/prod/prodappl/wel/11.5.0/interface/bip/templates/uni_invoice_template.rtf">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    I will start stripping the control files to make sure they are not the problem in the meantime.

  • Errors installing XML Parser for PL/SQL

    I tried to install the parser and get the following errors :
    D:\xml\lib\java>loadjava -user user/pwd -r -v xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XSLResultElement
    creating : oracle/xml/parser/v2/XSLResultElement
    Error while retrieving errors for oracle/xml/parser/v2/XSLResultElement
    ORA-00904: invalid column name
    loading : oracle/xml/parser/v2/XSLCopy
    creating : oracle/xml/parser/v2/XSLCopy
    Error while retrieving errors for oracle/xml/parser/v2/XSLCopy
    ORA-00904: invalid column name
    loading : oracle/xml/parser/v2/XMLByteReader
    creating : oracle/xml/parser/v2/XMLByteReader
    Error while retrieving errors for oracle/xml/parser/v2/XMLByteReader
    ORA-00904: invalid column name
    We have Oracle 8.1.5.0.0 running with JRE 1.1.8 installed.
    I updated loadjava.bat to call JRE 1.1.8 instead of JRE 1.1.7.
    Can't afford an upgrade to 8.1.6
    Any help appreciated

    Geoff Hicks (guest) wrote:
    : Problems being experienced trying to install the XML parser for
    : PL/SQL (zip file plxmlparser_v1_0_0_1_tar.gz).
    : We are on Oracle8i (8.1.5.0.0) (with JServer).
    : On installing the Oracle XML parser for PL/SQL the following
    : errors appear having run the loadjava command line tool for
    : xmlparser.jar:-
    : loading : META-INF/MANIFEST.MF
    : creating : META-INF/MANIFEST.MF
    : Error while creating resource META-INF/MANIFEST.MF
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : loading : xmlparser_1.0.1.4_production
    : creating : xmlparser_1.0.1.4_production
    : Error while creating resource xmlparser_1.0.1.4_production
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : Lots of the following resolver errors are returned:-
    : resolver :
    : Error while resolving class org/w3c/dom/html/HTMLDivElement
    : ORA-00904: invalid column name
    It looks like you have not initialized JServer in your 8.1.5
    database. This needs to be done first.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Adobe Designer 7.0 - XML parsing error when data connection to XML with UTF-16

    Hi all
    <br />
    <br />I need to change my data connection xml file to use UTF-16 instead of ISO-8859-1. When I connect the file with the UTF-16 encoding, I receive the following error
    <br />
    <br />Invalid XML: Xml parsing error: encoding specified in XML declaration is incorrect (error code 19) ..
    <br />
    <br />The XML declaration is:
    <br /><?xml version="1.0" encoding="utf-16"?>
    <br />
    <br />I am able to succesfully set the encoding to "UTF-8". UTF-16 should also be possible.
    <br />
    <br />Has anyone seen this error before ? How can I resolve this ?
    <br />
    <br />Thanks in advance
    <br />
    <br />Bilal Haniff

    Thank you, expert, for your quick reply.
    Described problem got solved: we noticed later that the extra text only appears for users using Adobe professional 7.0, 'normal' users with adobe 8.0 reader don't get the extra text, so that is ok for us.

  • XML Parser Limitations?

    I'm having problems using the XML Parser from
    Oracle. I've encountered this both in the
    transviewer beans as well as my own implemenatation of the parser.
    The problem occurs when I use an XSL document with a for-each declarative in it. Internet Explorer successfully parses an XML document using this XLS file, but when I use the Oracle Transviewer, the data from the XML document is not parsed into the output.
    Is this an error of mine or a limitation of XML Parser?
    Here are my XML and XLS docs:
    <?xml version = '1.0'?><?xml-stylesheet type="text/xsl" href="cd.xsl"?>
    <PatientSummary>
    <PATIENT>
    <PatName>JONES
    </PatName>
    <PatFirstName>FRED Z
    </PatFirstName>
    <PatGenderCode>M
    </PatGenderCode>
    <PatBirthDtm>06Jul1976
    </PatBirthDtm>
    <PatPrimAddressStreet>123 Main Street
    </PatPrimAddressStreet>
    <PatPrimAddressPost>498555
    </PatPrimAddressPost>
    <PatPrimAddressCity>Edmonton
    </PatPrimAddressCity>
    <PatPrimPhoneNum>6045374321
    </PatPrimPhoneNum>
    </PATIENT>
    <PATIENT>
    <PatName>JONES
    </PatName>
    <PatFirstName>FRED Z
    </PatFirstName>
    <PatGenderCode>M
    </PatGenderCode>
    <PatBirthDtm>06Jul1976
    </PatBirthDtm>
    <PatPrimAddressStreet>123 Main Street
    </PatPrimAddressStreet>
    <PatPrimAddressPost>498555
    </PatPrimAddressPost>
    <PatPrimAddressCity>Edmonton
    </PatPrimAddressCity>
    <PatPrimPhoneNum>6045374321
    </PatPrimPhoneNum>
    </PATIENT>
    </PatientSummary>
    <?xml version = '1.0'?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
    <xsl:template match="/">
    <html>
    <body>
    <xsl:for-each select="PatientSummary/PATIENT">
    <table border="2" bgcolor="yellow">
    <tr>
    <td>
    <xsl:value-of select="PatName"/>
    </td>
    </tr>
    <tr>
    <td>
    <xsl:value-of select="PatFirstName"/>
    </td>
    </tr>
    <tr>
    <td>
    <xsl:value-of select="PatGenderCode"/>
    </td>
    </tr>
    <tr>
    <td>
    <xsl:value-of select="PatBirthDtm"/>
    </td>
    </tr>
    <tr>
    <td>
    <xsl:value-of select="PatPrimAddressStreet"/>
    </td>
    </tr>
    <tr>
    <td>
    <xsl:value-of select="PatPrimAddressPost"/>
    </td>
    </tr>
    </table>
    </xsl:for-each>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>
    null

    Hi,
    For the XSL file, you need to use
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" version="1.0">
    instead of
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
    We were able to parse the file with this modification. If this does not solve your problem, please provide us with some description of the error that you are getting.
    Thank you,
    Oracle XML Team

  • XML Parser Problem

    am using XML parser for PL/SQL in Oracle9i Enterprise Edition Release 9.0.1.1.1
    When i run the sample xml program, i get error which is as follows. While compiling no errors. But while executing it reports error as given below.
    SQL> execute domsample('c:\xml', 'family.xml', 'errors.txt');
    begin domsample('c:\xml', 'family.xml', 'errors.txt'); end;
    ORA-20100: Error occurred while parsing: No such file or directory
    ORA-06512: at "COMMODITYBACKCONNECT.XMLPARSER", line 22
    ORA-06512: at "COMMODITYBACKCONNECT.XMLPARSER", line 79
    ORA-06512: at "COMMODITYBACKCONNECT.DOMSAMPLE", line 80
    ORA-06512: at line 1
    What need to be done to rectify the above problem.
    when i do the following validation check
    SQL>
    SQL> select substr(dbms_java.longname(object_name),1,30) as class, status
    2 from all_objects
    3 where object_type = 'JAVA CLASS'
    4 and object_name = dbms_java.shortname('oracle/xml/parser/v2/DOMParser')
    5 ;
    CLASS STATUS
    oracle/xml/parser/v2/DOMParser VALID
    oracle/xml/parser/v2/DOMParser VALID
    Please advice to how remove the following error:
    ORA-20100: Error occurred while parsing: No such file or directory

    Found the solution on metalink. There is a file under /$ORACLE_HOME/javavm/install/init_security.sql
    which needs to be run under username where you are installing xml parser.
    This step is not in readme.txt file provided as a part of download from the OTN website.

  • Why the oracle XML parser "parses" the DTD comments?

    Hi all,
    I always use the header
    <?xml version = '1.0' encoding='ISO-8859-1' ?>
    to be able to use foreign characters in the XML documents.
    The oracle xml parser handles this correctly.
    My problem is, when I write comments inside the DTD, the
    parser reports "Invalid UTF8 encoding".
    Why the parser "parse" the comments? (protected by <!-- and -->)
    How do I say that the DTD encoding is different from UTF, like
    ISO-8859-1?
    Example of a correct DTD and corresponding XML, reporting
    problems, related to the 2nd comment in the DTD specification,
    written with ISO-8859-1 characters.
    The DTD:
    <!-- valid.dtd -->
    <!ELEMENT valid ( B, C ) >
    <!-- valid represents the concept "Identificagco" -->
    <!ELEMENT B (#PCDATA) >
    <!ELEMENT C (#PCDATA) >
    The XML:
    <?xml version = '1.0' encoding='ISO-8859-1' ?>
    <!DOCTYPE valid SYSTEM 'valid.dtd'>
    <valid>
    <B>How are you, Conceigco</B>
    <C>I'm fine, thank you.</C>
    </valid>
    The parser output:
    [jgr@frontera test-dtd]$ java oracle.xml.parser.v2.oraxml -v
    valid.xml
    Error while parsing input sourcevalid.xml(Invalid UTF8 encoding.)
    Thank you for any help.
    Jorge Gustavo Rocha

    I was wrong in saying that the attributes are not added to the element.My main aim is to add a array of elements to the root node.
    Is there a efficient manner in adding the elements , rather than adding them individually with the help of appendChild method.
    Thanks in advance.
    null

Maybe you are looking for

  • Non PO invoices sent for Approval - getting error message - Tax Jurisdictio

    Hi Experts, Our clients have just upgraded from SAP 4.6C to ECC 6.0 and when the Non -PO invoices are sent for approval the user is getting the below error message. 'Specify a tax jurisdiction key' - Message no. F5566 Could any one suggest what the r

  • Select-option in Module Pool-Error-Include block not specified .........

    Hi, I am trying to define a select-option at Module Pool level. In the program SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN. SELECT-OPTIONS: V_BWTAR FOR MSEG-BWTAR. SELECTION-SCREEN END OF SCREEN 1010. In the Screen flow logic it is as follows

  • DATE field problem in JSF code

    Hi, I am a newbie on JSF and working with a JSF application development. I have a problem with a data type: DATE. Here is what had happened; I tried to write a new record to a table, in my "write" paragraphs I have the following codes: tabelOneDataPr

  • Sales Area determination in Shipping from MM PO

    Hi everyone Is there a userexit available to determine Sales Org (VKORG), Distribution channel (VTWEG) in the case of creating outbound deliveries for a return to vendor. Thanks in advance

  • Sending an Outlook 2003/2010 Meeting Request via CF

    Well, that about sums it up! OK, a few more details:  my application is sending out emails without any problems, but now the user wants to be able to receive appointment requests to the public calendar that she maintains instead of having to retype t