Validation with DTD: Bug in Oracle 10g?

Hi
The following example works with Oracle 11g, but not with Oracle 10g.
I have a XML-document (familie.xml) and a DTD-Document (familie.dtd). The XML-document is not valide, because I changed the tag "Vater" into "Dad". Within
the DTD the "Vater"-element is described as follow: <!ELEMENT Familie (Vater, Mutter, Kind) >. If I validate the document, I get in Oracle 11g this exception:
Unexpected Error: ORA-31011: XML-Parsing not succesful
LPX-00104: Warning: Element "Dad" is not declared in the DTD.
Error at line 3 occured.
This Error is right!! But if I try the SAME example in Oracle 10g, I don't get a Exception!!!! But I should become one.
Have anyone tested DTD-Validation in Oracle 10g or is it a bug?
<?xml version='1.0' encoding='ISO-8859-15' ?>
<!-- Dokument beschreibt eine Familie -->
<Familie>
     <Dad>
          <Name>Meier</Name>
<Vorname>David</Vorname>
     </Dad>
     <Mutter>
          <Name>Baumann</Name>
          <Vorname>Charlotte</Vorname>
     </Mutter>
     <Kind>
          <Name>Slota</Name>
          <Vorname>Kaharina</Vorname>
     </Kind>
</Familie>
<!ELEMENT Familie (Vater, Mutter, Kind) >
<!ELEMENT Vater (Name, Vorname)>
<!ELEMENT Mutter (Name, Vorname)>
<!ELEMENT Kind (Name, Vorname) >
<!ELEMENT Name (#PCDATA) >
<!ELEMENT Vorname (#PCDATA) >
set directory TEST_DIR as '....';
DECLARE
v_parser xmlparser.parser;
v_document xmldom.DOMDocument;
v_nodeList xmldom.DOMNodeList;
v_number NUMBER;
v_xmlDatei VARCHAR2(32);
v_dtdDatei varchar2(32);
parserError EXCEPTION;
PRAGMA EXCEPTION_INIT(parserError, -20100);
BEGIN
v_xmlDatei := 'familie.xml';
v_dtdDatei := 'familie.dtd';
v_parser := xmlparser.newParser();
DBMS_XMLPARSER.setBaseDir(v_parser, 'TEST_DIR');
xmlparser.setValidationMode(v_parser, TRUE);
xmlparser.parseDTD(v_parser, v_dtdDatei, 'Familie');
xmlparser.parse(v_parser, v_xmlDatei);
v_document:=xmlparser.getDocument(v_parser);
xmlparser.freeParser(v_parser);
xmldom.freeDocument(v_document);
EXCEPTION
WHEN parserError THEN
xmlparser.freeParser(v_parser);
dbms_output.put_line('Fehler beim Parsen: ' || SQLERRM);
WHEN OTHERS THEN
dbms_output.put_line('Unerwarteter Fehler: ' || ' ' || SQLERRM);
END;
null
Message was edited by:
user638576

Do your sequence and column have the same name? In your code sample, it looks like they do:
INSERT INTO LSTKPI (KPIIDD, PRMNME, KPISUP, TEMIDD1)
VALUES (KPIIDD.NEXTVAL, NEXTPRM.PRMNME, NEXTSTA.STANAM, PDRTEM_PKG_1.rids(i));
Maybe that has confused the parser.
As Oracle moves forward, you can expect more object-oriented functionality. That could mean that columns could have their own attributes or methods. If so, how is the parser to know whether in this code the value KPIIDD.NEXTVAL refers to the (external) sequence or a column attribute?
As a suggestion, try renaming the sequence.
create sequence KPIIDD_SEQ start with ... ;
INSERT INTO LSTKPI (KPIIDD, PRMNME, KPISUP, TEMIDD1)
VALUES (KPIIDD_SEQ.NEXTVAL, NEXTPRM.PRMNME, NEXTSTA.STANAM, PDRTEM_PKG_1.rids(i));
HTH,
- Doug

Similar Messages

  • Want attach the XML data file with layout template in Oracle 10g

    Hi All,
    I need a help from you genius guys.
    I am genrating reports in BI with xml the procedure which I am following is as below.
    1. generating XML from the RDF
    2. creating a template in .rtf format
    3.after that loading the xml to the template then getting the required report.
    This all is doing through the given buttons
    But now my requirement is to create the gui from user can select the report and get the desire output file so how we would be able to attach the XML data file with layout template in Oracle 10g.
    If you require more detail please let me knnow.
    Thanks,
    Harry

    I am not using Oracle apps.
    I am using oracle 10g reports and I get something in it like one patch I downloded and one java code is having which creates the batch file ...still I am working on it ..
    If you will get some please share so that it will be helpful.
    Thanks,
    Harry

  • How to run Pro*C application with Instant Client in Oracle 10g

    i am try to run but Pro*C application give error orasql10.dll
    i have downlod Instant Client in Oracle 10g from site. i have unzip and maked environmental virable in PC.
    but application not run. given error orasql10.dll .......
    my problem is thrat i want to run Pro*C application with Instant Client in Oracle 10g .....
    oracle say that run but how........

    According to this thread, it does not work on Windows:
    Does Instant Client 10.1.0.4 for Windows 32 support ProC ?

  • DBMS bug in Oracle 10g Relese 2

    It seems some bug appeared in Oracle 10g Release 2.
    We have a single installation of that release on a Linux system.
    Therefore we don't know if the bug also exists on Windows or Mac platforms.
    It will be appreciated if someone can give some advice or test the issue on windows.
    Here are the steps of reproducing the bug..
    -- 1. Create a table with statement.
    create table spreaded
    ( grp NUMBER,
    p1 NUMBER,
    p2 NUMBER,
    p3 NUMBER,
    p4 NUMBER
    --2. Populate the table with the following PL/SQL block (or otherwise)
    declare
    begin
    for k in 1..400000 loop -- depends on installation's memory parameters
    insert into spreaded values (k, 1, NULL, NULL, NULL);
    insert into spreaded values (k, NULL, 2, NULL, NULL);
    insert into spreaded values (k, NULL, NULL, 3, NULL);
    insert into spreaded values (k, NULL, NULL, NULL, 4);
    end loop;
    end;
    --3. Execute the following query
    select grp,
    count(grp) fake,
    avg(p1) prop_1,
    avg(p2) prop_2,
    avg(p3) prop_3,
    avg(p4) prop_4
    from spreaded
    group by (grp) order by fake;
    -- The expected first line of correct result is
    GRP FAKE PROP_1 PROP_2 PROP_3 PROP_4
    *** 4 1 2 3 4
    where *** is some integer
    -- The buggy case shows
    GRP FAKE PROP_1 PROP_2 PROP_3 PROP_4
    *** 1 4
    FAKE is not 4 and there are NULL values.
    This is against the way of handling nulls by aggregate functions.
    If you get correct results, please, add new lines to table through executing PL/SQL
    block with modified loop (for k in 400001..800000 loop) to double the row count and then execute select statement from 3.

    Some bugs appears, some others go away, but if you think have found a bug, raise a support request to the metalink website.
    Nicolas.

  • XML validation with DTD in java 1.5 not supporting

    Hi,
    I am facing a problem regarding validation of xml file with DTD tag in it.
    I have disabled the parser through setValidating(false) method.
    xml file is not parsed in JRE 1.5.but it is parsed in JRE 1.6.
    Why this is showing such a behavior?
    I have used xerces 2.9.0,xml-api.jar and other jar regarding XML api but still it is giving error.
    please help me.
    please provide a jar file name or its issue resolution in jre 1.5 or 1.4.

    thanks for your prompt reply.
    I required that it should be completely disabled in jre 1.5(jdk1.5 or 1.4).
    I am using DOM Parsing.I have currently disabled with follwowing method,
    builderFactory.setValidating(false);
    builderFactory.setFeature("http://xml.org/sax/features/validation",
         false);
         builderFactory.setFeature("http://apache.org/xml/features/nonvalidating/load-dtd-grammar", false);
         builderFactory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd",false);
         builderFactory.setFeature("http://xml.org/sax/features/external-general-entities", false);
         builderFactory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
         factory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
    in 1.6 it is working fine but I required that i have to disabled it.but it is giving a error in jre1.5.
    Exception in thread "main" java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
    I just want to disable the parsing in jdk version 1.5 or 1.4
    thanks in advance
    anand

  • Issue with lock file in Oracle 10g app server - MDB not running

    Hi,
    I have Oracle 10g & MQ 6 on my laptop. I generated JNDI bindings for app server-MQ by giving ip address of my machine first. Then i changed it to "localhost" & generated new set of .bindings file.
    With this new set i am able to send messages from my program to a queue. I also have an MDB which should listen to the same queue.
    However now my mdb is not listening to the queue & i suspect it is due to host address change, - because each time i start the server, i see a lock file created "OracleASRouter_store.lock" - under j2ee\home\persistance. And below is the content of the same -
    "O10.1.4.245:/C:/Program Files/Oracle/oc4j_extended_101330/j2ee/home/persistence/"
    As per few suggestions on this site, I deleted this file & restated app server, deleted whole content of persistance folder, restarted app server. But each time i see this file created and also see the ip address in log.xml under j2ee\home\log\oc4j
    Error message in this log.xml file is
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-09-19T11:22:35.265-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_ID>J2EE EJB-02009</MSG_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>IFLEXNY-EXT99</HOST_ID>
    <HOST_NWADDR>10.1.4.245</HOST_NWADDR>
    <MODULE_ID>ejb.runtime</MODULE_ID>
    <THREAD_ID>10</THREAD_ID>
    <USER_ID>chetanmi</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] Unexpected exception by JMS provider: javax.jms.MessageEOFException: initializeConnection.</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.jms.MessageEOFException: initializeConnection
         at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1075)
         at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1155)
         at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:154)
         at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:110)
         at com.evermind.server.jms.TCPJMSRemoteServer.<init>(TCPJMSRemoteServer.java:68)
         at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:122)
         at com.evermind.server.jms.EvermindQueueConnection.<init>(EvermindQueueConnection.java:70)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.unprivileged_createQueueConnection(EvermindQueueConnectionFactory.java:101)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.access$000(EvermindQueueConnectionFactory.java:44)
         at com.evermind.server.jms.EvermindQueueConnectionFactory$1.execute(EvermindQueueConnectionFactory.java:81)
         at com.evermind.server.jms.InContainerProxy.doSecureOp(InContainerProxy.java:157)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:78)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:69)
         at com.evermind.server.ejb.MessageDrivenConsumer.createNonXAResources(MessageDrivenConsumer.java:567)
         at com.evermind.server.ejb.MessageDrivenConsumer.initializeJMSResources(MessageDrivenConsumer.java:491)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:208)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.EOFException
         at java.io.DataInputStream.readInt(DataInputStream.java:358)
         at com.evermind.server.jms.JMSRemoteServer.readCheck(JMSRemoteServer.java:678)
         at com.evermind.server.jms.JMSRemoteServer.readProtocol(JMSRemoteServer.java:696)
         at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:134)
         ... 16 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-09-19T11:22:35.312-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_ID>J2EE EJB-02014</MSG_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>IFLEXNY-EXT99</HOST_ID>
    <HOST_NWADDR>10.1.4.245</HOST_NWADDR>
    <MODULE_ID>ejb.runtime</MODULE_ID>
    <THREAD_ID>10</THREAD_ID>
    <USER_ID>chetanmi</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] All message consumer threads have terminated due to provider errors, stopping MDB.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    And my MDB is NOT WORKING. Please let me know how to deal with this.
    Your suggestions would be much appreciated.
    Regard,
    Chetan

    Line # 127 is creating a new application object using ApplicationFactory.
    ApplicationFactory aFactory =
    (ApplicationFactory) FactoryFinder.getFactory(
    FactoryFinder.APPLICATION_FACTORY);
    application = aFactory.getApplication();
    The only way that can throw a null pointer is when aFactory is NULL. I really doubt this case because, the same thing is doen in init() of FacesServlet. If it had failed there, the exception should have occured during server startup.
    This leaves me more and more confused....I am desperate for some help now :((
    Ramesh

  • Problem with retrieving data from Oracle 10g / PHP4.3 / Apache 1.3.27

    Hi,
    I re-open a new thread following the opened post 'Getting RPMs for php-oracle for PHP4.3 on RHEL 4.0 and issue with OCI8 '
    I could re-installed PHP4.3 and apache 1.3.27 from the normal tar package (./configure then make) - I had some issues with the RPMs packages before.
    I could connect successfully PHP4.3 to my Oracle 10g DB with no issues by using some of the (deprecated) functions contained in oracle.so library in command line mode by executing a simple PHP script ;-)
    But ...when I try to execute the same script (a simple log on to the DB) or the application throught my web browser there are some errors in the apache error_log file that crash the process:
    [Wed Jul 25 13:19:23 2007] [notice] child pid 25450 exit signal Segmentation fault (11)
    [Wed Jul 25 13:19:31 2007] [notice] child pid 25451 exit signal Segmentation fault (11)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:19:42 2007] [notice] child pid 25441 exit signal Aborted (6)
    *** glibc detected *** realloc(): invalid size: 0x08338898 ***
    [Wed Jul 25 13:54:52 2007] [notice] child pid 25508 exit signal Aborted (6)
    [Fri Jul 27 04:39:56 2007] [notice] child pid 20550 exit signal Segmentation fault (11)
    After some investigations it looks like this is due to the connection of Oracle 10G and php.
    I tried to recompile Apache as the following:
    # cd /usr/src/apache_1.3.xx
    # make clean
    # LIBS=-lpthread ./config.status
    # make
    # make install
    but the issue is the same ...
    How can I workaround that issue and fix it in order to connect to Oracle 10 G by using PHP4.3 / apache 1.3.27 ?
    I need to use the oracle.so library to avoid to re-rewrite all my application ...
    Any help much very appreciated !
    Cheers
    Dominique

    You are in unchartered territory. But check the common "gotcha" and
    make sure that all the Oracle environment variables are set in the
    shell that starts Apache. Load the script <?php phpinfo(); ?> in a
    browser and see that whatever variables you need are set in the
    Environment section. See the section "Oracle Environment Variables
    for Connections" in Underground PHP and Oracle Manual
    I suspect it would be beneficial to migrate the PHP code to oci8.
    Check table 16-1 in Underground PHP and Oracle Manual for the mapping
    between 'oracle' and 'oci8' functions.
    -- cj

  • Problem with JDBC driver for Oracle 10g

    Hi.
    I've successfully accessed a MySQL database via a DataSource from a servlet (that uses a DAO). However, when I try to do the same with an Oracle 10g Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter of which I downloaded this afternoon as the latest driver JAR available on the Oracle site. As with the MySQL driver, I've placed it in the commons\lib folder within Tomcat. (I've also, of course, made the necessary modifications to server.xml and web.xml.)
    Upon examining the ReadMe file at the top of the Oracle download page, I found that the oracle.jdbc.driver package is now deprecated and all references to oracle.jdbc.driver should be replaced with oracle.jdbc. However, I got a similar error message when I tried this modification. Upon examining the contents of ojdbc.jar, I found that the driver was there and that it was, in fact, still oracle\jdbc\driver\OracleDriver!
    It appears as though the Oracle site has not been updated with a driver that matches its latest documentation. However, this does not explain why the driver is not even being loacted when it is in the correct place. Can anybody shed any light on this? Any help would be much appreciated.
    Thanks in anticipation.
    Cheers.
    Jan

    I've successfully accessed a MySQL database via a
    DataSource from a servlet (that uses a DAO). However,
    when I try to do the same with an Oracle 10g
    Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    That's different from a ClassNotFoundException.
    >
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter
    of which I downloaded this afternoon as the latest
    driver JAR available on the Oracle site. So you got ojdbc14.jar or ojdbc14_g.jar under the 10g drivers?
    As with the
    MySQL driver, I've placed it in the commons\lib
    folder within Tomcat. I think it's a better idea to put in the WEB-INF/lib directory of your Web app rather than commons/lib. WAR files are a very good idea, too.
    (I've also, of course, made the
    necessary modifications to server.xml and web.xml.)So you're using a JNDI data source? It sounds to me like that's where the problem is.
    You should not have to edit the server.xml at all. If you put the <ResourceParams> in a context XML file with the same name as your WAR file into the TOMCAT_HOME/webapps directory it'll be picked up automatically. (It might also be accessible in the META-INF directory for your app, but I haven't done it that way.)
    Upon examining the ReadMe file at the top of the
    Oracle download page, I found that the
    oracle.jdbc.driver package is now deprecated and all
    references to oracle.jdbc.driver should be replaced
    with oracle.jdbc.
    However, I got a similar error
    message when I tried this modification. Upon
    examining the contents of ojdbc.jar, I found that the
    driver was there and that it was, in fact, still
    oracle\jdbc\driver\OracleDriver! The fully-resolved class name you should be using MUST match the class that's in the ojdbc14.jar that you're using. Look in the JAR for the definitive answer: the one that I downloaded is still using the oracle.jdbc.driver package for OracleDriver.class. Ignore the docs - use the name that's in the JAR.
    It appears as though the Oracle site has not been
    updated with a driver that matches its latest
    documentation. That often happens with docs.
    However, this does not explain why the
    driver is not even being loacted when it is in the
    correct place. Can anybody shed any light on this?
    Any help would be much appreciated.I think the problem lies in your web.xml and server.xml
    I'd recommend that you decouple the JDBC from the Web app for now. See if you can connect to Oracle using a simple desktop app and leave the Web piece out of the equation for now. Once you can do that, you'll be certain that the parameters you're using are correct and you can turn your attention to getting the Tomcat configuration right.
    PS - I'm using Oracle 9.2.0.1 and Tomcat successfully right now, so it can be done.

  • Nth_value() function with IGNORE NULLS in oracle 10g

    Is there any easy way to mimic ORACLE 11g nth_value() function with IGNORE NULLS clause in 10g or earlier Oracle release?

    SQL> select  ename,
      2          sal,
      3          nth_value(sal,5) over() fifth_min_sal
      4    from  emp
      5    order by sal
      6  /
    ENAME             SAL FIFTH_MIN_SAL
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    ENAME             SAL FIFTH_MIN_SAL
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    14 rows selected.
    SQL> select  ename,
      2          sal,
      3          min(case rn when 5 then sal end) over() fifth_min_sal
      4    from  (
      5           select  ename,
      6                   sal,
      7                   row_number() over(order by sal nulls last) rn
      8             from  emp
      9          )
    10    order by sal
    11  /
    ENAME             SAL FIFTH_MIN_SAL
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    ENAME             SAL FIFTH_MIN_SAL
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    14 rows selected.
    SQL> SY.

  • Problems with the installation if oracle 10g

    hi everybody,
    I am using windows xp pro service pack 2. While trying install
    oracle 10g. I faced a problem 'Error in writing to
    directiory c:\document and settings\Owner\Local
    Settings\TEMP\OraInstall. Please ensure that this
    directory is writable and has at least 45 MB of disk
    space. Installation cannot continue.' I have 40GB disk
    space left and i am logged in as an administrator with all privileges.
    thanks
    mfg RR

    I think I remember encountering something similar on the very same platform (XP pro, 10g (or 9i second ed.) and 2nd service pack). I am using Windows Services for Unix (SFU - a free download from Microsoft @ http://www.microsoft.com/windows/sfu/default.asp ). I used SFU from within a command tool to change the privileges. If you are a unix person who are trying to do things like installing/managing Oracle on windows, I highly recommend installing SFU. After I changed the privileges, it worked just fine. Currently I am running 9.2.0.5 on windows xp pro and testing 10g on another xp pro box. Both installation was successful.
    hope this proves useful

  • SUNWsprox package with solaris 10 for Oracle 10g Installation....

    Hi
    I am in problem with a Solaris 10 package "SUNWsprox - Sun workshop Bundled 64-bit make library" for Oracle 10g Installation. I checked the CDs (In the /.../products) but did't found this packege. Can any one tell me please can I go without this package or where I found this package...Please Its very URGENT for me....
    Thanks
    Mohammed Tanvir

    Hi...
    I had the same issue, but found out that the SUNWsprox was replaced by SUNWsprot. The OUI 10.1 Release 2 will 'pass' as the doco in the Oracle quick install guide is wrong (as well as 10g Application Server).
    The only way to lay a 10g Release database on Solaris 10 is to lay the software doen only, then cd in the .../bin directory, step your Rdbms ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH and of course the DISPLAY (is X-windowing into the server), and run dbca manually. Oracle 10g is a bit buggy.
    Roger

  • SAXParser inside unsigned Applet: Validation with DTD

    Hello!
    I am trying to run an applet that performs some XML parsing ideally with DTD validation.
    The issue is that I can't access files directly, but using tricks such as Class.getResourceAsStream() which I can do fine for my XML file my XML file. But then this xml has a reference to test.dtd (also in the jar file).
    When the parser runs, it tries to open test.dtd "illegally" and a security exception is thrown. Any advice in how to avoid this?
    BTW, I have already thought of:
    * Traslating the DTD to a Schema
    * Disabling validation
    Would work, but not the solution I'm looking for :)

    It doesn't seem like the SAXParser allows it, but if you use an XMLReader, you can specify an EntityResolver class.
    The EntityResolver is called when SAX wants to open a resource. Your code can supply an InputSource to point to the resource you want.
    Dave Patterson
    Message was edited by:
    d.patterson

  • Create user like ias_admin user but with less previlege in Oracle 10g AS

    Hi Friends,
    I am using Oracle 10g AS(10.1.2.0.2).
    I am using ias_admin user to admistrate it.
    Is it possible to create one more user like ias_admin but with less previleges like Read-only previlege and if so whats the procedure.
    Please suggest
    Regards,

    If you are talking about creating additional admin users for AS Control for Oracle Application Server 10gR2 (v10.1.2), than that's not possible. It does not support role based access administration. You can do it though with EM Grid Control and AS Control in Oracle Application Server 10gR3 (v10.1.3.x).
    Thanks
    Shail

  • Xerces2_6_2 validating with dtd and schema.. please help

    Hi I am having trouble validating an xml document using xerces2_6_2
    I have a DTD that containes only entity references, and a schema that is used to ensure the xml is valid.
    I get this error.
    Element type "my root tag" must be declared!
    It seems to expect all validation grammer to be in the dtd. I have sucessfully validated with xml spy and oxygen,(oxygen uses xerces too).
    This is a real pain I really would lie to take advantage of using schemas, I know I could just use entity references in this form and not have a dtd but this is really not acceptable.
    I have tried out all the xerces specific properties and features but this has not worked either.
    Perhaps I should implement a validator? Does anyone have any ideas?
    thanks

    My solution, I thought to take, wasn't the right way, but I have found following thread within the forum
    http://forum.java.sun.com/thread.jspa?forumID=34&threadID=527461
    The problem you have described points to a dtd error. Considering the thread above, it would make sense. It is a presumption, but perhaps that is because of the new Xerces version. I would try with an older one.
    Sorry, that I could help you along.

  • Is it a bug in Oracle 10g rel 1

    I have server installed in Oracle 10g rel 1 and I have client installed as oracle10grel2. I am unable to export data from client machine. It is giving me a error. Can anyone help me out.
    Regards
    Vijay Kumar

    You need exp from 10gR1.
    Oracle works in downwards compatibility mode.
    This means lower version clients can connect to higher versions server, not necessarily the other way around.
    exp is a specific case as exp has sql statements hardcoded in the tool.
    Those statements are version specific.
    (One would wish Oracle would change exp to bail out immediately when connected to a lower version database)Due to this only, I need the URL for client of version 10g rel 1 for the server 10g rel 1.
    Regards
    Vijay Kumar

Maybe you are looking for

  • Getting the New software 6.0 For blackberry curve

    I would like to get the new software for my curve but i dont know how to. i havent gotten an update and i keep checking. is there any way to put it on by going to a verizon store or off the website?

  • Can a global variable be used in a text object ?

    Can a global variable ( defined in Form Properties ) be used as part of a text object ? I am creating a PDF document (using LiveCycle ES ) that can be used by multiple departments. In LiveCycle Designer, I created an XDP with multiple pages. The form

  • Transfer problem from Photoshop Elements 9 to Premiere Elements 9

    When I transfer a slideshow from Photoshop Elements 9 to Premiere Elements 9, some slides change orientation and appear compressed. How can I avoid this problem? Also when transfering  from Photoshop Elements, Premiere Elements opens a window to reco

  • Install photoshop cc on second computer

    I have just downloaded photoshop cc on my main computer and now want to download on to my laptop but I can't see how to do this.

  • Compiling command line utilities for Linux with static libc

    Hi, The following command used to compile and link BerkeleyDB with both static libdb and static libc: make clean env LDFLAGS=-static ../dist/configure --disable-shared make Now the command only statically links libdb and not libc. [root@fedora8 ~]# l