Oracle and XML Parser

Hi friends
I'm trying to load xmlparserv2.jar into the database using loadjava..it is creating and loading the classes successfully but while resolving it's giving an error i.e. referenced object SCOTT.oracle/xml/parser/v2/<ClassName> could not be resolved..
When i tried to resolve the class using the Alter Java Class command it's resolving..but while using the class in a program...at the time of compilation it shows The class is not resolved..
Please Help...If there is any other way to resolve a class...or to load a parser in to the database..
Thanks

What are the specific ORA-XXX error messages you're getting?

Similar Messages

  • URGENT! SEGV-errors when using Oracle C XML Parser for Solaris

    I often (not always) got SEGV-error with core dump when I use Oracle Oracle C XML Parser for Solaris. This Error is always got in the call of the the function xmlinit(...) with all params as NULL but the first required for the error code and the second which i assign a macro that evaluates to "US-ASCII". Does anyone knows about this problem?
    I am using a very short, wellformed and validated XML document.
    I would be very glad for some help about this!
    null

    Please provide a sample program along with the version number of the XML parser.

  • XDK for PL/SQL and XML Parser for PL/SQL

    Is there a difference between the terms:
    XDK for PL/SQL
    and
    XML Parser for PL/SQL V2
    or are they the same thing...?
    cheers,

    XDK stands for XML Developer's Kit. There are Oracle XDKs for Java, C, C++, and PL/SQL. These development kits contain building blocks for reading, manipulating, transforming, and viewing XML documents.
    XML Parser is one component of XDK. Other components of XDK are
    XSLT Processor, XSU, XSQL Servlet, XML Class Generator, etc.
    For more information on XDK and its components please refer to:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96621/adx01bas.htm#1656
    Regards,
    Anupama
    http://otn.oracle.com/sample_code/content.html

  • Problem in IAS Server with generation of PDF with FOP and XML parsing

    Dear co.forumers :
    We are developing an application that generates a pdf document with FOP Apache utilities, and this PDf is stored in a folder of the server. Firts of all, a DDBB data is retrieved using java ( jdbc) middleware classes ( servlets ), and with these data, the pdf is generated using FOP. In these process, he data retrieved from the DDBB is converted in a XML file , and the with the XSL FOP utility, the pdf is generated.
    In the other hand, we have another application that consults data from a java beans, using a JSP, generates a XML with the data of the beans, and with this XML, and with a XSL file generates and html , with the data and fixed text.
    Both applications have been deployed as a separated WebApp in the IAS. Both use Xalan as XML parser amb Xerces is used aswell.
    So, the problem is , after generating a pdf with the firts application, every html generated via JSP-XML-XSL transformation in the second application is shown completelly bad formated. All fixed text are wrongly composed, and the text that should appear in textFields and ComboBoxes is also bad formated. The XML with the data is well generated, so the problem is in the parsing of these XML and the conversion in html through XSL. We have to re-initiate the server and then everything goes well again. If no pdf is launched, no problem occurs with the other application.
    How an a WEB APP pplication can affect to another, installed both in different folders of the IAS ? We tried to change Xalan version and FOP version, but no result.
    Is this a Poltergeist ?? and X file , maybe ?
    Has anyone had the same problem ?
    Pleae, any help will be very wellcomed.

    A PDF document may be generated in the JDeveloper OC4J server.
    http://www.oracle.com/technology/pub/notes/technote_vohra_fop.html

  • Oracle8.1.5 and XML parser for PL/SQL

    Hi,
    Does XML parser for PL/SQL work with Oracle 8.1.5? Did any one install the
    same and if so what are steps to follow? I ran initjvm.sql to install
    JServer and then tried to load jar files using loadjava, but it's giving
    error. It's working fine with Oracle8.1.6.
    Any idea?
    Thanks,
    Jayanta
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jayanta Ghosh ([email protected]):
    Hi,
    Does XML parser for PL/SQL work with Oracle 8.1.5? Did any one install the
    same and if so what are steps to follow? I ran initjvm.sql to install
    JServer and then tried to load jar files using loadjava, but it's giving
    error. It's working fine with Oracle8.1.6.
    Any idea?
    Thanks,
    Jayanta<HR></BLOCKQUOTE>
    Oracle XML Parser has differents distributions for 8.1.5 and 8.1.6 databases, try the correct version, then runs the oraclexmlsqlload.csh from the lib directory of XSU distribution.
    Best regards, Marcelo.
    null

  • Oracle 8i XML Parser for PL/SQL

    Hi,
    Using "Building Oracle XML Applications" by O'reilly, I am
    trying to get XML working on an Oracle 8i database. I have done the following steps:
    1) verify oracle.xml.parser.v2.DOMParser class is running;
    select substr(dbms_java.longname(object_name),1,30) as class, status
    from all_objects
    where object_type = 'JAVA CLASS'
    and object_name = dbms_java.shortname('oracle/xml/parser/v2/DOMParser');
    CLASS STATUS
    oracle/xml/parser/v2/DOMParser VALID
    OK
    2) Check for Oracle XML Parser for PL/SQL is installed:
    DESCRIBE xmlparser
    ERROR:
    ORA-04043: object xmlparser does not exist
    So apparently i need to download the Oracle XML Parser for PL/SQL.
    I cannot locate this download on the oracle site for version 8i (8.1.7.4 specifically).
    Any helpers out there?

    You can use the latest version.

  • Abstract Method Error and XML Parsing

    I am using wl6sp1. I am parsing an XML file from within the
    servlet using jaxp1.1 and crimson.
    Following is code:
    1- SAXParserFactory spf = SAXParserFactory.newInstance();
    2- sp = spf.newSAXParser();
    3- xr = sp.getXMLReader();
    4- xr.setContentHandler(new ParseXML());
    5- xr.parse( new InputSource("Example3.xml"));
    This program works fine when execute from command line but in servlet on line
    3 it says:
    "Abstract Method Error"
    I have created XML Registry to use Crimson as XML parser rather than default.
    I think somehow wl is still using jaxp1.0 which is built in
    support in wlsp1.
    Whats wrong with the code...or what configuration i am missing???

    I'm assuming you have already put crimson.jar first in the classpath for the java
    command you use to start WebLogic. If so, have you tried putting the servlet in
    a .war file with the crimson.jar in its' WEB-INF/lib directory?
    Regards,
    Mike Wooten
    "anyz" <[email protected]> wrote:
    >
    I am using wl6sp1. I am parsing an XML file from within the
    servlet using jaxp1.1 and crimson.
    Following is code:
    1- SAXParserFactory spf = SAXParserFactory.newInstance();
    2- sp = spf.newSAXParser();
    3- xr = sp.getXMLReader();
    4- xr.setContentHandler(new ParseXML());
    5- xr.parse( new InputSource("Example3.xml"));
    This program works fine when execute from command line but in servlet
    on line
    3 it says:
    "Abstract Method Error"
    I have created XML Registry to use Crimson as XML parser rather than
    default.
    I think somehow wl is still using jaxp1.0 which is built in
    support in wlsp1.
    Whats wrong with the code...or what configuration i am missing???

  • Java and XML Parser. Please guide.

    Hello there,
    I need to pass an XML document using the SAX Parser.
    Please does any one have an XML Parser routine to parse
    the document or can some one guide me as to what to do?

    any sax parsers?What version of Java are you using? With Java 1.4 the XML parser is included in the SDK / JRE.
    If you're using an older version of Java, go to http://xml.apache.org and get the Xerces parser.

  • Oracle and XML-DATA

    Hello,
    I have read the Oracle XML SQL Utility documentation and also
    the answer of Oracle team to Johnson Scott and as far as I
    understand, the XML that is produced from the database and
    loaded in it must verify a given DTD syntax.
    Is this DTD available somewhere ?
    What I have understood about XML Data of w3c is that it gives a
    way to describe the content of a database.
    What is Oracle position on that subject ?
    I do ask this question because we have at present an SGML file,
    with its own DTD that contains data we have to
    insert/delete/update in an Oracle Database.
    We are thinking of converting this SGML file in an XML file,
    with tools like OMNIMARK or BALISE, that could be easily
    integrated in the Oracle Database.
    We are looking for the best solution to our problem and think
    that Oracle tools like Oracle XML SQL, parserand Class generator
    could be really usefull.
    What do you think of this problem and of the solution we imagine
    Thanks for your help,
    Best regards,
    C     line.
    null

    Hello,
    I am actually studying the tools that Oracle offers to treat XML
    data.
    When reading the description of your products I can see two
    solutions to my problem.
    I remind it to you :
    I have an SGML file with its own DTD that contains data we have
    to insert/delete/update in an Oracle Database.
    I can imagine two solutions :
    1- one with Oracle IFs XML support :
    To use this one I have to convert my SGML DTD in an XML one
    (they should be very similar) and then write a program that
    would convert my SGML file in an XML one.
    Then create an Oracle iFS document descriptor that indicates how
    each part of my file should be stored in my Oracle database.
    2- an other one with Oracle XML SQL utility :
    To use this one I have to convert my SGML file in an XML file
    that is well-formed (i.e. that Oracle XMLSQL utility can
    understand).
    This convertion is much more difficult to do than the one I have
    described above.
    Are those two solutions correct ?
    If yes, which one is the best in your opinion ?
    Could you use XML Data with Oracle XML SQL utility ?
    Is the DTD you have defined for this tool compiliant with XML
    Data ?
    If not why ?
    I have not the tool from which I can get it but I would be
    interested by the description of this DTD which is the best way
    to see what I can do with this tool (and imagine a solution for
    update if it cannot be easily done).
    I would also be very interested in having the description of DTD
    for Oracle iFS document descriptor files (as far I have
    understood they are XML files) or an example of quite a complex
    one so that I can I an idea of how it cold fit to my problem.
    I have been really impressed by Oracle team very fast answer and
    thank you very much for your help.
    Regards,
    C     line.
    Oracle XML Team wrote:
    : LESCOP (guest) wrote:
    : : Hello,
    : : I have read the Oracle XML SQL Utility documentation and
    also
    : : the answer of Oracle team to Johnson Scott and as far as I
    : : understand, the XML that is produced from the database and
    : : loaded in it must verify a given DTD syntax.
    : : Is this DTD available somewhere ?
    : The output XML from the XML SQL Utility is in canonical form.
    : There is a commandline option to have the corresponding DTD
    : created on output.
    : : What I have understood about XML Data of w3c is that it
    gives
    : a
    : : way to describe the content of a database.
    : : What is Oracle position on that subject ?
    : The W3C Working Group charged with this tsk is the XML Schema
    WG
    : on which we are participating. Our position is supportive of
    : this effort.
    : : I do ask this question because we have at present an SGML
    : file,
    : : with its own DTD that contains data we have to
    : : insert/delete/update in an Oracle Database.
    : : We are thinking of converting this SGML file in an XML file,
    : : with tools like OMNIMARK or BALISE, that could be easily
    : : integrated in the Oracle Database.
    : : We are looking for the best solution to our problem and
    think
    : : that Oracle tools like Oracle XML SQL, parserand Class
    : generator
    : : could be really usefull.
    : : What do you think of this problem and of the solution we
    : imagine
    : Our current components will simplify your task. Currently,
    : update is a bit more of a problem than insert and delete and
    : would need to be handles at the application level for now.
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    null

  • Xdk and xml parser[JAVA]

    Hi !
    I have been trying to compile the example about the XML class Generator but everytime I get the following error:
    SampleMain.java:61: Incompatible type for method. Can't convert oracle.xml.parse
    r.DTD to oracle.xml.parser.v2.DTD.
    generator.generate(dtd, doctype_name);
    ^
    The problem is that I can't find the appropriate XML parser Library.
    My question is Which JAR file is it ?
    Or which version ?
    Thanx for any help!

    Please use xmlparserv2.jar

  • Xsl processor and xml parser?

    Hello,
    Can someone tell me wich is the xsl processor and the xml parser used by Livecycle ES? And their versions?
    Thank you

    XML Parser parses the text representation of an XML 1.0-compliant document to make the document's information set -- elements, attributes, text, comments, processing instructions, namespace declarations -- available for access to a comptuter program.
    Without a parser, a program cannot make heads or tails of the tree of information contained in your tags.
    An XSL Processor is a program that takes an XML Document as input, along with an XSLT transformation definition (also known as a stylesheet), and effects the transformation of the source document as instructed by the stylesheet. This might mean transforming:
    <ROWSET>
    <ROW>
    <ENAME>Steve</ENAME>
    </ROW>
    </ROWSET>
    into
    <human-resources>
    <employee name="Steve"/>
    </human-resources>
    or alternatively into:
    <html>
    <body>
    <b>Steve</b>
    </body>
    </html>
    In both cases, the source XML document
    is the same, but when transformed by
    one stylesheet, it might become
    the <human-resources> XML document.
    When transformed by another stylesheet,
    it can become pretty HTML.
    To put the two terms in context, an XSL processor uses an XML parser to read the source XML document and to read the XSL transformation definition (aka stylesheet) -- since it, too, is an XML document -- and then it proceeds to transform the source into the target.

  • Weblogic 6.1 and xml parser empty elements

    FYI, It looks like Weblogic changed there xml parser in the transition from
    6.0sp2 to 6.1. Example : The empty Extra Info Class produced and error,
    because it is empty. Where in 6.0sp2 it did not produce and error:
    <taglib>
    <tag>
    <name>indexProperty</name>
    <info>
    some info..
    </info>
    <tagclass>com.pssg.jsp.tags.IndexPropertyTag</tagclass>
    <teiclass></teiclass>
    </tag>
    </taglib>
    ####<Aug 20, 2001 12:20:52 PM PDT> <Info> <HTTP> <devlwebejb1> <camserver>
    <ExecuteThread: '14' for queue: 'default'> <> <> <101047>
    <[WebAppServletContext(7008653,cam,/cam)] resolved taglib uri '/pssglibtags'
    to taglib-location /WEB-INF/tlds/pssgtaglib.tld:>
    ####<Aug 20, 2001 12:20:53 PM PDT> <Info> <HTTP> <devlwebejb1> <camserver>
    <ExecuteThread: '14' for queue: 'default'> <> <> <101160> <Deployment
    descriptor is malformed, check against the DTD:
    org.xml.sax.SAXParseException: The content of element type "tag" must match
    "(name,tagclass,teiclass?,bodycontent?,info?,attribute*)"..>
    ####<Aug 20, 2001 12:20:53 PM PDT> <Error> <HTTP> <devlwebejb1> <camserver>
    <ExecuteThread: '14' for queue: 'default'> <> <> <101020>
    <[WebAppServletContext(7008653,cam,/cam)] Servlet failed with Exception>
    weblogic.servlet.jsp.JspException: (line 1): Error in using tag library
    uri='/pssglibtags' prefix='pssglibtag': For tag 'indexProperty', cannot load
    extra info class ''
    at
    weblogic.servlet.jsp.StandardTagLib.tld_jspException(StandardTagLib.java:901
    -Scot

    hi,
    there are two versions of ldap supported in wls6.1 , ldapv1 and ldavp2
    ldap v1 only has the functionality of listing groups.
    but where ldapv2 doesn't have that functionality,
    by looking at your config , it seems you are using ldap v2..
    if u need that functionality u can use ldapv1.
    thanks
    kiran
    "Bert Cliche" <[email protected]> wrote in message
    news:[email protected]..
    Per a proof of concept, I am having trouble getting WL6.1 to see
    group members as defined in iPlanet LDAP. I can see the groups,
    but modifies to create groups only create them in the local DB.
    Created users also only get placed in the local DB. I can bind
    for searches as Directory Manager via ldapsearch and run queries,
    and the DS gateway works fine. I can dump the LDIF file and the
    entries look fine.
    I copied and modified the template for the Netscape server and
    have the realm setup per the GUI.
    For sanity, everything is very generic as:
    the Root DN is "o=test.org"
    and my "Configuration" part from the config.xml looks like:
    server.authprotocol=simple;
    server.host=localhost;
    membership.filter=(&(uniquemember=%M)(objectclass=groupofuniquenames));
    server.port=390;
    group.dn=o=test.org;
    group.filter=(&(cn=%g)(objectclass=groupofuniquenames));
    server.principal=cn=Directory Manager;
    user.dn=o=test.org;
    server.groupiscontext=false;
    user.filter=(&(uid=%u))
    I added the "authprotocol" as a guess. Note that the server is
    running on port 390, this is not a typo.
    Any ideas what is going wrong?

  • Any buglist available for Oracle C XML parser?

    Anyone who knows?
    Thank you
    null

    Please provide a sample program along with the version number of the XML parser.

  • _03 runtime env and XML parsing in applet

    Hi all,
    weird and annoying problem with an applet set up to read an XML file on the same server to create graph. Recently graduated to runtime 1_4_03 from 1_4_02. No issues at all reading the file with _02 but getting permission denied with _03.
    Tracked it down to lines below. There seems to now be a security violation reading the contents of the XML file. Both as I said are sitting in the same dir on the server. Has anyone else had this happen and if so did any solutions come to mind?
    URL u = new URL(getCodeBase(), XMLDOC);
    String us = url.toString();
    saxParser.parse(urlString, parser);
    Thanks, Mike

    This is the error that is being returned
    Exception in init parser: java.security.AccessControlException: access denied (java.util.PropertyPermission entityExpansionLimit read)
    hmm?

  • Persuading Boss on benefits of ORacle and XML

    We had reports built with VB6 running against Oracle 9i to create Excel reports:
    ) User request a report from ASP web interface.
    2) VB6 makes inline call to ORacle 9i to create reports. There is a call for each data cell. (a YTD report can take over 1 hour to run)
    3) VB6 creates Excel report and put in a directory on the same database server. (Directory contains roughly 13000 files from beginning of 2008)
    4) 1 hour+ later, the user goes back to the interface to see if report has completed.
    In March, vendor made us move to Oracle 10g otherwise no support.
    I have redesigned the system to VB.NET and now create PDF files instead of XL, using ITextSharp. I've also moved code from program into stored procedures that enable program to make only 1 call to database. End result:I can run report 4 reports in less than 45 seconds.
    1) REquest report from interface
    2) Assuming there is no timeout, receives report both in browser and hard-disk in 45 seconds.
    I have other ideas about which for which I solicit your opinions:
    1) The data that populates reports becomes stagnant after 2 months because no one is making changes to the data. Why not take these PDF reports or the raw XML and store in database. Give each report a key, and design another table with woth a "dataChanged" flag that will be set if data has changed (via a trigger maybe). When a request is made for a report over 2 months old, program will check the data-changed flag and run the report again, other the report from the database will be served. This way we avoid a directory of 10000 files where it takes 45 seconds to download a file to Excel, or PDF for that matter, for viewing. ( I work for a small franchise, but I really think this scenario would be helpful in doctors office)
    2) XML and PDF are intutive for me. IT is the way that the industry has moved. Some very smart people had a meeting a long time ago, analyzed the benefits of moving to this new type of architecture. The industry agreed and conformed. My boss however wants to know the cost-benefit of having files in database vs. having them on hard drive. I could not answer intelligently. Can anyone share their ROI results from this type of architecture?
    3) I'm not a database programmer by default, especially Oracle He also wanted to know how much space would be required to house the XML reports. An average report size is 200kb with 20 new reports on Mondays and 10 on other days. XML would increase the size of data store in DB because there is lots of "just-in-case" data not actually used on reports.
    4) He wants to remove ORacle from the 9i server, which i use as a development platform. (I actually havent used because of some differences between the 2 which would impact some techniques used in stored procedures.) He doesn't see a real use for it mainly because most vendor packages he has looked at have SQL server back-ins because they are Microsoft centric. I would like to keep because you always need a backup server. Also, I can't create database and/or do lots of develpment on the 10g machine because if something goes wrong, vendor will blame us for corrupting data environment. IS he right.
    Several other ideas I have on making a more efficient process but these are the ones about which my boss has had questions.
    Thanks in advance

    1. Sounds like a good idea to me. You can store either XML or PDFs. If you store the PDFs you can find what you need here:
    http://www.morganslibrary.org/reference/dbms_lob.html
    to load and unload them.
    2. Files belong inside the database. The database is backed up ... the file system may not be. The database provides an additional layer of security against deletion. The database also, if you move to 11g (which you should do) and buy the additional license from Oracle that allows use of SecureFile storage additionally is faster than access of files and gives you built in encryption, compression, and deduplication.
    http://www.morganslibrary.org/reference/securefiles.html
    In 11gR2 there is the POSIX DBFS file system where these improvements are greatly enhanced over operating system file capabilities.
    3. I'm not a fan of storing XML. I'd store the PDFs. First off it will be faster and secondly it will take up substantially less storage. There is nothing efficient about using two multibyte tags to store a single byte of data.
    4. He is wrong, most likely, on all accounts. Especially on moving to SQL Server if there is any patient data involved. If you are in the US you will be in violation of HIPAA federal requirements the minute you move to SQL Server as you an not audit access.

Maybe you are looking for

  • Open project document in separate window.

    Hellow! I use solutiom manager to support project documentation. When I open document for editing it is opened in the same window (right side). And if doc type is word, it is hard to work because only part of window is used for text. If I attach docu

  • My iPad air has 32 gb, but I am down to about 3 gb.  What should (and how) I get rid of to free up space?

    My iPad air has 32 gb, but I am down to about 3 gb.  What should (and how) I get rid of to free up space?

  • Recovering Livetype files with Data Rescue II??

    Okay, here's a duzy for you tech gods. Does anyone know if this is possible? I was able to recover a lot of my media for my project...but I lost dozens of Livetype files to the trash. Data Rescue II, my recovery software can recover a number of diffe

  • CS5 Photoshop Crashes in 62 bit mode but not 32 bit

    Here is what causes crash:  Open image, select tool to select portion of image, click on Adjust Image and select Hue/Saturation.  At that point the eyedropper tool appears and all other tools are greyed out.  Can't even click on Exit Program.  Can se

  • Can't uninstall flash player

    The operation times out and I get an error code saying it can't be deleted.  The Flash player install pops up almost every 15 minutes.   I can't install an older or newer version either.  I have cleared all cache, attempted to run OnyX and was unsucc