Oracle XML Packages to install in Oracle 8I

What Oracle packages needs to be installed in Oracle 8i in order to runs the DBMS_XMLQuery .
The application runs fine in 9i but not in 8I.
pLEASE RESPOND

DBMS_XMLQuery was introduced with Oracle 9i
as you can read here.
http://download-west.oracle.com/docs/cd/A91202_01/901_doc/appdev.901/a89852/pwnew.htm#969685
That means in order to use this functionality you need to upgrade your database to 9i

Similar Messages

  • Oracle 10g : XML* packages have become synonyms of DBMS_XML* paclages

    Hello,
    I noticed that old 9i XML* packages are now synonyms for DBMS_XML* packages.
    Those package in Oracle 9i were different from the DBMS_ packages.
    Now my application is not working anymore because we are now Is there a kit to install on 10g to get the old packages ?

    David
    The decsion to prevent access to the filesystem was taken as part of the general process of hardening the database for security reasons.
    I use XSL with includes in the following form without any problems
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:n1="http://www.w3.org/2001/XMLSchema" xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xfiles="http://xmlns.oracle.com/xfiles" xmlns:xr="http://xmlns.oracle.com/xdb/XDBResource.xsd">
         <xsl:output version="1.0" encoding="utf-8" omit-xml-declaration="no" indent="no" media-type="text/html" method="html"/>
         <xsl:include href="/cabo/XSL/XFilesCommon.xsl"/>
         <xsl:variable name="reverseSort">

  • Having trouble with xml package in "Building Oracle Xml Applications"

    I have modified the xml package found in Building Oracle XML Applications chapter 5 to exclude everything but the CLOB function, see Package below. When compiling the package body I am getting the following error.
    SQL> @xml_body
    35 /
    Warning: Package Body created with compilation errors.
    SQL> show errors
    Errors for PACKAGE BODY XML:
    LINE/COL ERROR
    19/5 PL/SQL: Statement ignored
    19/15 PLS-00382: expression is of wrong type
    SQL>
    The error occurs at this line in the xml_body package.
    retDoc := xmlparser.getDocument(parser);
    I am new to Oracle and any help would be appreciated.
    CREATE OR REPLACE PACKAGE xml AS
    -- Parse and return an XML document
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument;
    -- Free the memory used by an XML document
    PROCEDURE freeDocument(doc xmldom.DOMDocument);
    END;
    CREATE OR REPLACE PACKAGE BODY xml AS
    parse_error EXCEPTION;
    PRAGMA EXCEPTION_INIT(parse_error,-20100);
    -- Parse functions parse an XML document and return a handle to
    -- the in-memory DOM Document representation of the parsed XML.
    -- Call freeDocument() when you're done using the document returned
    -- by the function.
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument IS
    retDoc xmldom.DOMDocument;
    parser xmlparser.Parser;
    BEGIN
    IF xml IS NULL THEN RETURN NULL; END IF;
    parser := xmlparser.newParser;
    xmlparser.parseCLOB(parser,xml);
    retDoc := xmlparser.getDocument(parser);
    xmlparser.freeParser(parser);
    RETURN retDoc;
    EXCEPTION
    WHEN parse_error THEN
    xmlparser.freeParser(parser);
    RETURN retDoc;
    END;
    -- Free the Java objects associated with an in-memory DOM tree
    PROCEDURE freeDocument(doc xmldom.DOMDocument) IS
    BEGIN
    xmldom.freeDocument(doc);
    END;
    END;
    null

    I have modified the xml package found in Building Oracle XML Applications chapter 5 to exclude everything but the CLOB function, see Package below. When compiling the package body I am getting the following error.
    SQL> @xml_body
    35 /
    Warning: Package Body created with compilation errors.
    SQL> show errors
    Errors for PACKAGE BODY XML:
    LINE/COL ERROR
    19/5 PL/SQL: Statement ignored
    19/15 PLS-00382: expression is of wrong type
    SQL>
    The error occurs at this line in the xml_body package.
    retDoc := xmlparser.getDocument(parser);
    I am new to Oracle and any help would be appreciated.
    CREATE OR REPLACE PACKAGE xml AS
    -- Parse and return an XML document
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument;
    -- Free the memory used by an XML document
    PROCEDURE freeDocument(doc xmldom.DOMDocument);
    END;
    CREATE OR REPLACE PACKAGE BODY xml AS
    parse_error EXCEPTION;
    PRAGMA EXCEPTION_INIT(parse_error,-20100);
    -- Parse functions parse an XML document and return a handle to
    -- the in-memory DOM Document representation of the parsed XML.
    -- Call freeDocument() when you're done using the document returned
    -- by the function.
    FUNCTION parse(xml CLOB) RETURN xmldom.DOMDocument IS
    retDoc xmldom.DOMDocument;
    parser xmlparser.Parser;
    BEGIN
    IF xml IS NULL THEN RETURN NULL; END IF;
    parser := xmlparser.newParser;
    xmlparser.parseCLOB(parser,xml);
    retDoc := xmlparser.getDocument(parser);
    xmlparser.freeParser(parser);
    RETURN retDoc;
    EXCEPTION
    WHEN parse_error THEN
    xmlparser.freeParser(parser);
    RETURN retDoc;
    END;
    -- Free the Java objects associated with an in-memory DOM tree
    PROCEDURE freeDocument(doc xmldom.DOMDocument) IS
    BEGIN
    xmldom.freeDocument(doc);
    END;
    END;
    null

  • Sharing XML packages among users

    Hello all,
    I have a question about the installation of the Oracle XML packages and sharing them among users.
    Our DBA thought it might be best to create a special user (user1) and install all of the XML packages, utilities under that user schema. We went this route and were trying to use that users's xml objects with another user (user2).
    When trying to generate XML output from SQL using the xmlgen package as user2 we get the following error.
    SQL> set serveroutput on size 1000000
    SQL> DECLARE
    2 v_query VARCHAR2(200) := 'SELECT ''monkey'' AS Animal FROM dual';
    3 BEGIN
    4 DBMS_OUTPUT.PUT_LINE(DBMS_LOB.SUBSTR(xmlgen.getXML(v_query), 250, 1));
    5 END;
    6 /
    DECLARE
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception: java.util.MissingResourceException:
    can't find resource for oracle.xml.sql.mesg.XSUMessages_en_US
    ORA-06512: at "SXXML.XMLGEN", line 465
    ORA-06512: at "SXXML.XMLGEN", line 456
    ORA-06512: at line 4
    However running that same anonymous PL/SQL block as user1 we get success:
    SQL> set serveroutput on size 1000000
    SQL> DECLARE
    2 v_query VARCHAR2(200) := 'SELECT ''monkey'' AS Animal FROM dual';
    3 BEGIN
    4 DBMS_OUTPUT.PUT_LINE(DBMS_LOB.SUBSTR(sxxml.xmlgen.getXML(v_query), 250, 1));
    5 END;
    6 /
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <ANIMAL>monkey</ANIMAL>
    </ROW>
    </ROWSET>
    So I have several questions:
    1> What is the best way to install these XML packages so that all users can use these utilities?
    2> What access privileges need to be granted to user2 so that user1 AML utilities are available?
    Thanks in advance.
    Regards,
    Bediako George

    Thanks for the quick reply Steve: I have an observation and a couple of questions.
    First my observation. I looked for the java resource that "turned up missing" as far as my user2 user is concerned and I couldn't find it in sxxml's schema. ( I was logged in as sxxml). I attempted to create a wrapper package belonging to sxxml sxhema as I understood. However even after granting execute privilege to my second user I got the same message.
    Finally I removed the authid as current_user tag from the package declaration and I was able to get it to work.
    I am not comfortable with this solution and would like to get this set up the right way. You said my second option was to grant execute privilege on the missing Java resource to my second user.
    How do I locate this "missing" Java resource?
    How do I grant execute privilege to a Java resource?
    What are the ramifications of solving the problem the way I did?
    Thanks again for your help.
    Regards,
    Bediako
    create or replace package xmlgen AUTHID CURRENT_USER...This means that it runs under the security domain of whatever user executes it, not under the security domain of the package owner/definer.
    Either GRATN EXECUTE on this Java resource to your new user, or alternatively, have your SXXML schema create a wrapper package for XMLGEN that is created using the default of definer's rights. Then, anyone that you GRANT EXECUTE to your wrapper procedure can use it.<HR></BLOCKQUOTE>
    null

  • Error in XML Package

    Hi,
    my Oracle DB (8.1.7) is installed on three different servers.
    I have installed Oracle JServer Option on the three different servers, without errors.
    At the end of the installations, one of theese server hasn't the java classes "oracle/xml/parser/plsql/......" which are present on the other instances. What is happened ?
    On the bad instance, when i compile my XML package, Oracle return the error: "ORA-29540: class oracle/xml/parser/plsql/XMLDocumentCover does not exist".
    Thank you.
    Best regards.

    Hey there, and apologies for the lack of response.  Are you still having this issue and still needing help?
    Thanks Guy

  • SAP NetWeaver 7.02 ABAP Trial Version - No Package JDBC installed

    Hello,
    I have the following error when installing SAP NetWeaver 7.02 ABAP Trial Version on Windows 2003 Server :
    Assertion failed: com.sap.sdb.sllib.api.exceptions.SoftwareException: No Package JDBC installed in installation: Legacy
    Can someone help me on what to do?
    Thanks
    Toan

    Hi Viet-Toan Nguyen ,
    First thing you can do is uninstalled the previously installed sapdb and choose to install db inside sap installation instead of using existing db instance in one of the installation step, So don't install db seperately , choose it during sap installation.
    If you have tried first thing properly and the error still persist then.....
    Second  thing is :
    Compatibilities for Oracle JDBC Drivers :
    Starting with 10g Release 1 (10.1), the Oracle JDBC drivers no longer support JDK 1.1.x or earlier versions.
    And also check the paths:
    ORACLE_HOME/jdbc
    ORACLE_HOME /jlib directory.
    CLASSPATH
    ORACLE_HOME/jdbc/lib/ojdbc14.jar for full globalization support ORACLE_HOME/jdbc/lib/orai18n.jar
    ORACLE_HOME/jdbc/lib/classes12.jar
    ORACLE_HOME/jdbc/lib/orai18n.jar for full globalization support
    But I believe above all these things you should perform uninstallation and installation of SAP system properly on CURRENT DATABASE NOT ON THE PREVIOUSLY INSTALLED DATABASE.
    Thank you.

  • How to check  DBMS_JAVA package is installed or not a database

    Hi all,
    I 'm using an oracle 10g on Solaris 10 machine.Does any one knows how to check if the DBMS_JAVA package is installed or not in my database
    thanks.

    Handle:      user11191992
    Status Level:      Newbie
    Registered:      Feb 9, 2010
    Total Posts:      60
    Total Questions:      29 (18 unresolved)
    So many question & so few answers
    :-(

  • How to access XML packages in Applet?

    Hi all,
    I am new to XML.
    I just found, in any Java Applet program, if I include a declartion from Java XML packages, like this.
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    Java will comiple, but when I try to run that java applet, I got an error message like this:
    java.lang.NoClassDefFoundError: javax/xml/parsers/DocumentBuilderFactory
    at LogoBounce.init(LogoBounce.java:23)
    at sun.applet.AppletPanel.run(AppletPanel.java:344)
    at java.lang.Thread.run(Thread.java:484)
    I searched all the related posts in this forum and found two solutions.
    1 One suggest to use
    DocumentBuilderFactory factory = new com.sun.xml.parser.DocumentBuilderFactoryImpl();
    but I suspect DocumentBuilderFactoryImpl() method is in old version Java XML. Because I can't find it in the lates API document.
    2 Change the .Policy file
    grant {
    permission java.util.PropertyPermission "javax.xml.parsers.DocumentBuilderFactory", "read";
    I tried this, but it dosen't work.
    I am very sure my .jar file is installed correctly and my Classpath is correct. Because I can run sample examples provided by Sun. (they are all Appliction programs).
    Can anyone give me a suggestion on this issue?
    Thanks.

    Say, doesn't this sound like the question in http://forum.java.sun.com/thread.jsp?thread=194313&forum=4&message=636602

  • Bought a package photographer, installed photoshop and Lightroom 5.6 64-bit, Adobe Photoshop CC 2014 was Russian, and Lightroom 5.6 64-bit is not and was not in a sample of Russian language. Tell me what to do?

    Bought a package photographer, installed photoshop and Lightroom 5.6 64-bit, Adobe Photoshop CC 2014 was Russian, and Lightroom 5.6 64-bit is not and was not in a sample of Russian language. Tell me what to do?

    Well, the quick summary that you are not going to like: This system is pretty short on RAM and processor power, your graphics driver is outdated and you are using two screens with different resolutions, which eats up all graphics acceleration plus your card has only 256 MB of VRAM in the first place, which doesn't meet the requirements. You will never be able to use 3D under those conditions.
    Mylenium

  • How to find out what files a package has installed?

    Sometime you installed a package, but you don't know the name of the command to run and you don't know the name and location of the configuration files. There are conventions but is there a way to show those information explicitly?

    aberkoke wrote:
    You can try
    $locate
    for example. you write
    $locate firefox
    and you will see all files about firefox.
    That's a partial solution. Suppose I installed a package called gtk-vim, but the binary is gvim and I didn't know that. If I use
    locate gtk-vim
    it will not find "gvim".
    Besides, different packages may install files with names identical or partially identical. What I want to find out is what files a specific package installed or removed, or changed, just like the deb package manager in ubuntu.

  • Where to see the boot image package path installed on my DP server

    I have distribute the boot image content to one of my DP server. Where can I see the package is installed at which location at that particular DP in SCCM 2012 console?

    Hi,
    The blog below could answer your question.
    Configuration Manager 2012: Content Monitoring and Validation
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • ERROR: DW050:  - Microsoft Visual C++ 2005 Redistributable Package (x86): Install failed

    got the download ok.
    ran thru the install ok to 100%
    then got this error
    ERROR: DW050:  - Microsoft Visual C++ 2005 Redistributable Package (x86): Install failed
    and it says install failed.
    what now?

    Exit code is shown as 6, right up at the top.
    Here is the whole screen....
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 2 error(s), 0 warning(s)
    ----------- Payload: {9AB0EFC0-AC6B-11E0-9E61-00215AEA26C9} Microsoft Visual C++ 2005 Redistributable Package (x86) 6.0.2900.2180 -----------
    ERROR: Failed to install Microsoft Visual C++ 2005 Redistributable Package (x86). Please try installing it by double clicking on the executable at "C:\Users\janeharr\Desktop\Adobe FrameMaker 11\Adobe FrameMaker 11\payloads\Microsoft VC 2005 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2005 Redistributable Package (x86) from Microsoft website - www.microsoft.com
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Microsoft Visual C++ 2005 Redistributable Package (x86): Install failed

  • Is there a package for installing the FlexNet service only?

    Hi,
    we are trying to virtualize Acrobat Pro 9 using Softgrid/App-V. Unfortunately the FlexNet service does not support virtualization. According to the virtualization community a possible workaround would be a local installation of the FlexNet service on our terminal servers.
    To do that I need an installation package for the FlexNet service only or command line parameters for installing the service from the normal package without installing acrobat.
    Is such a package or command available somewhere?
    Thanks!

    There is no standard iView for ME53N, but you can create you own iView which will point to any SAP Transaction in either WinGui or WebGui Mode and assign it to end users.
    Refer to the following standard SAP help:
    [http://help.sap.com/saphelp_nw04/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm]
    Regards,
    Trikanth Basetty

  • [Solved] Error upon selecting "base" package during install process

    Hey guys,
    I got stuck in the install process. the following issue never occured to be before.
    Upon selecting the base package during install and pressing "OK", i recieve the following error:
    ERROR: check_is_in needs a non-empty needle as $1 and a haystack as $2!(gote: check_is_in '' 'base')
    and that throws me out of the installation process.
    A google search on the error message only returned sites where the responsible script is postet.
    I am installing arch linux on a lenovo x220, on a seperate ext4 partition.
    Any help is appreciated, thanks!
    Last edited by replax (2012-11-06 20:30:55)

    ArielVoynes wrote:The problem is with mirrors.kernel.org (now that I remember, I've read about kernel.org having trouble with their servers, is this still true?). Just choosing another mirror solves the problem.
    I just read through this post and it did fix my issue.  However, I do not remember what mirror I selected. 
    It was a few selections below kernel.org......
    Last edited by BradJ (2011-09-20 04:27:17)

  • What packages to install, and how to install in an USB hard drive

    Hello.
    Well, as I said in another thread, I want to install in an USB hard drive. But I don't know how, because it hasn't graphical installer, but text installer. I tried in a virtual machine, and it was fine, but when I want to start it, an error appears, "Was not found a bootable system" or something. Maybe a VM is not as a computer, but... well. I didn't change anything while I was installing GRUB, and I know that I've to install it in /dev/sdb.
    And I want to know too, what packages to install and what packages don't (the ones which are neither "base" nor "base-devel"). But I'll install sudo, links and ndiswrapper (for wifi).
    Thanks, and excuse me if my English is bad.

    Gotta use the wiki my friend and this one is even translated into Spanish:
    https://wiki.archlinux.org/index.php/In … C3%B1ol%29
    As to your question about which packages you'll need beyond those in base and base-devel - that depends on what you want on your system... no one can answer that but you!
    Welcome to Arch.
    Last edited by graysky (2011-01-01 19:50:46)

Maybe you are looking for

  • How to insert a NULL value in SQL using JDBC Adapter

    Hi All, I have a File -> JDBC scenario. In the File and in the SQL table  I have a column called "MR_DATE" that needs to be mapped I have to do the following: If MR_DATE is NOT equal to "00000000"          then pass MR_DATE to SQL table else         

  • Just terrible

    I downloaded Firefox today. After installation, I tried to open it. I get an error message. "A copy of firefox is already open. Only one copy of Firefox can be open at a time." ...which is pretty ridiculous. There is no copy of firefox already open,

  • HT4489 How do I backup my phone contacts to icloud

    oHow do I back up my phone contacts to my apple computer and icloud H

  • Execution time in minutes and seconds

    In the UUT Report, the Execution Time displays in seconds.  How can I get that to display in minutes and seconds.

  • FBL1N & FBL3N affected when using BTE to add new column in FBL5N

    Hi, I have a requirement to add a new column External Financial document number (AKKB-BAANR) in tcode FBL5N. And I used BTE ( Business transaction event) to enhance the standard program. In order to add the new column, I append new structure in 3 str