The problem of query in oracle xml db

hello everybody!
I create a table of xmltype,and insert data in it. But I query data ,the problem comes up.
the xml instance is :
<?xml version="1.0" encoding="UTF-8"?>
<!-- File: cambridge.xml -->
<CityModel xmlns="http://www.opengis.net/examples" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/examples city.xsd">
     <gml:name>Cambridge</gml:name>
     <gml:boundedBy>
          <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
               <gml:coord>
                    <gml:X>0.0</gml:X>
                    <gml:Y>0.0</gml:Y>
               </gml:coord>
               <gml:coord>
                    <gml:X>100.0</gml:X>
                    <gml:Y>100.0</gml:Y>
               </gml:coord>
          </gml:Box>
     </gml:boundedBy>
     <cityMember>
          <River>
               <gml:description>The river that runs through Cambridge.</gml:description>
               <gml:name>Cam</gml:name>
               <gml:centerLineOf>
                    <gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
                         <gml:coord>
                              <gml:X>0</gml:X>
                              <gml:Y>50</gml:Y>
                         </gml:coord>
                         <gml:coord>
                              <gml:X>70</gml:X>
                              <gml:Y>60</gml:Y>
                         </gml:coord>
                         <gml:coord>
                              <gml:X>100</gml:X>
                              <gml:Y>50</gml:Y>
                         </gml:coord>
                    </gml:LineString>
               </gml:centerLineOf>
          </River>
     </cityMember>
     <cityMember>
          <Road>
               <gml:name>M11</gml:name>
               <linearGeometry>
                    <gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
                         <gml:coord>
                              <gml:X>0</gml:X>
                              <gml:Y>5.0</gml:Y>
                         </gml:coord>
                         <gml:coord>
                              <gml:X>20.6</gml:X>
                              <gml:Y>10.7</gml:Y>
                         </gml:coord>
                         <gml:coord>
                              <gml:X>80.5</gml:X>
                              <gml:Y>60.9</gml:Y>
                         </gml:coord>
                    </gml:LineString>
               </linearGeometry>
               <classification>motorway</classification>
               <number>11</number>
          </Road>
     </cityMember>
     <cityMember xlink:type="simple" xlink:title="Trinity Lane" xlink:href="http://www.foo.net/cgi-bin/wfs?FeatureID=C10239" gml:remoteSchema="city.xsd#xpointer(//complexType[@name='RoadType'])"/>
     <!-- a mountain doesn't belong here! Uncomment this cityMember and see
the parser complain!
<cityMember>
<Mountain>
<gml:description>World's highest mountain is in Nepal!</gml:description>
<gml:name>Everest</gml:name>
<elevation>8850</elevation>
</Mountain>
</cityMember>
-->
     <dateCreated>2000-11</dateCreated>
</CityModel>
I query it:
set long 50000
SELECT extract(value(X),
'/CityModel/gml:boundedBy/gml:Box/gml:coord')
FROM city X;
ERROR:
ORA-31011: XML 语法分析失败
ORA-19202: XML 处理
LPX-00601: Invalid token in: '/CityModel/gml:boundedBy/gml:Box/gml:coord' 时出错
未选定行
when query it again:
set long 50000
SELECT extract(value(X),
'/CityModel/boundedBy/Box/coord')
FROM city X; (it has no namespace)
EXTRACT(VALUE(X),'/CITYMODEL/BOUNDEDBY/BOX/COORD')
has no result.
thank you very much!

<?xml version="1.0" encoding="UTF-8"?>
<!-- File: cambridge.xml -->
<CityModel xmlns="http://www.opengis.net/examples" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
<gml:name>Cambridge</gml:name>
<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coord>
<gml:X>0.0</gml:X>
<gml:Y>0.0</gml:Y>
</gml:coord>
<gml:coord>
<gml:X>100.0</gml:X>
<gml:Y>100.0</gml:Y>
</gml:coord>
</gml:Box>
</gml:boundedBy>
<cityMember>
<River>
<gml:description>The river that runs through Cambridge.</gml:description>
<gml:name>Cam</gml:name>
<gml:centerLineOf>
<gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coord>
<gml:X>0</gml:X>
<gml:Y>50</gml:Y>
</gml:coord>
<gml:coord>
<gml:X>70</gml:X>
<gml:Y>60</gml:Y>
</gml:coord>
<gml:coord>
<gml:X>100</gml:X>
<gml:Y>50</gml:Y>
</gml:coord>
</gml:LineString>
</gml:centerLineOf>
</River>
</cityMember>
<cityMember>
<Road>
<gml:name>M11</gml:name>
<linearGeometry>
<gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:coord>
<gml:X>0</gml:X>
<gml:Y>5.0</gml:Y>
</gml:coord>
<gml:coord>
<gml:X>20.6</gml:X>
<gml:Y>10.7</gml:Y>
</gml:coord>
<gml:coord>
<gml:X>80.5</gml:X>
<gml:Y>60.9</gml:Y>
</gml:coord>
</gml:LineString>
</linearGeometry>
<classification>motorway</classification>
<number>11</number>
</Road>
</cityMember>
<cityMember xlink:type="simple" xlink:title="Trinity Lane" xlink:href="http://www.foo.net/cgi-bin/wfs?FeatureID=C10239" gml:remoteSchema="city.xsd#xpointer(//complexType[@name='RoadType'])"/>
<!-- a mountain doesn't belong here! Uncomment this cityMember and see
the parser complain!
<cityMember>
<Mountain>
<gml:description>World's highest mountain is in Nepal!</gml:description>
<gml:name>Everest</gml:name>
<elevation>8850</elevation>
</Mountain>
</cityMember>
-->
<dateCreated>2000-11</dateCreated>
</CityModel>
SQL>create table city of xmltype;
then insert the data into the table
and query:
set long 50000
SELECT extract(value(X),
'/CityModel/boundedBy/Box/coord')
FROM city X; (it has no namespace)
EXTRACT(VALUE(X),'/CITYMODEL/BOUNDEDBY/BOX/COORD')
and I query it again:
set long 50000
SELECT extract(value(X),
'/CityModel/gml:boundedBy/gml:Box/gml:coord')
FROM city X;
ERROR:
ORA-31011: XML 语法分析失败
ORA-19202: XML 处理
LPX-00601: Invalid token in: '/CityModel/gml:boundedBy/gml:Box/gml:coord' 时出错
未选定行
ma oracle is 10g
thank you very much!
Message was edited by:
user508129

Similar Messages

  • Problem with query for Oracle

    Hello Experts,
    I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
    This application has to read and write data in the EP DB (oracle v10).
    I'm using:
    <u>a Dictionary Project</u> (define the DB Tables)
    <u>a Java Project</u> (define class as DAO, DBManager etc)
    <u>a Library Project</u>
    <u>an EJB Project</u>
    <u>an EAR Project</u>
    With these projects I can deploy a <u>webService</u> in my EP server.
    BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
    The query is simple and correct but it does not work...
    This is the error message returned (the query id in bold)
    (column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
    <i>HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 21 Sep 2007 14:29:57 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
    The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
    Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
    We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and  not found....
    Any help???
    Best Regards

    Hi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
    My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
    Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    So I tried to use the ':' as indicated in the manual..
    <b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
                   - expecting LPAREN, found ':'</i>
    <b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
                   - 1:26 - SQL syntax error: the token "(" was not expected here
                   - 1:26 - expecting ID, found '('</i>
    Then I tried to avoid the MIN() function and I tried to do just the subtraction:
    <b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    <b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
                - 1:22 - SQL syntax error: the token "(" was not expected here
                - 1:22 - expecting ID, found '('</i>
    <b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
                     - 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
                     - 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
    <b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
                  - 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
    Why these parts of query are not accepted???
    I don't understand why... I hope you can help me.
    Best Regards
    Alessandro

  • How to show the result of query in oracle forms 10g to Excel Sheet File

    Dear All,
    I have query and i want the result to be show in excel sheet file in oracle forms
    for example if i have a form with search criteria and when pressed the button of ( export to excel ) the result is
    excel file contains the result of the query .

    The only method to achieve this is with the help of Webutil. Please go through documentation for more help.
    Regards,
    Manoj Chakravarthy

  • Error while loadjava xmlparserv2.jar: ORA-04043: object oracle/xml/.. does not exist

    In Oracle8i.15, I tried to install xmlparserv2.jar after I downloaded xdk_plsql_9_2_0_2_0.zip and upzip to local machine.
    However, when I issued the follwoing command:
    loadjava -v -r -user SYSTEM/manager -force xmlparserv2.jar
    For each class, it has the following error message:
    resolving: oracle/xml/async/DOMBuilderErrorListener
    Error while resolving class oracle/xml/async/DOMBuilderErrorListener
    ORA-04043: object oracle/xml/async/DOMBuilderErrorListener does not exist
    resolving: oracle/xml/comp/CXMLParser
    Error while resolving class oracle/xml/comp/CXMLParser
    ORA-04043: object oracle/xml/comp/CXMLParser does not exist
    How can I solve this problem?
    Thanks in advance.

    Do you mean you use 8.1.5? You can't directly load the xmlparserv2.jar to it.

  • "Oracle xml Database" INVALID

    Hi,
    when i executed the following query:
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all the objects status as VALID except that
    "ORACLE XML Database" was INVALID
    Can someone help me to make this "ORACLE XML Database" as VALID.
    Thanks,
    Philip.

    HI Frank,
    now what i did was i actually ran catpatch.sql and utlrp.sql after i did startup migrate.
    and when i did
    SELECT COMP_NAME, STATUS
    FROM DBA_SERVER_REGISTRY;
    i got all objects as valid, but i dont see "Oracle XML Database" anymore.
    so now i suppose i cannot reinstall, but actually do a fresh install. and the following are the steps for a fresh install in the documentation
    Installing a New Oracle XML DB Manually Without Database Configuration Assistant
    After the database installation, you must run the following SQL scripts in rdbms/admin connecting to SYS to install Oracle XML DB after creating a new tablespace for Oracle XML DB repository. Here is the syntax for this:
    catqm.sql <XDB_password> <XDB_TS_NAME> <TEMP_TS_NAME>
    #Create the tables and views needed to run XML DB
    For example:
    catqm.sql change_on_install XDB TEMP
    Reconnect to SYS again and run the following:
    catxdbj.sql #Load xdb java library
    Note:
    Make sure that the database is started with Oracle9i release 2 (9.2.0) compatibility or higher, and Java Virtual Machine (JVM) is installed.
    Postinstallation
    After the manual installation, carry out these tasks:
    1.     Add the following dispatcher entry to the init.ora file:
    dispatchers="(PROTOCOL=TCP) (SERVICE=<sid>XDB)"
    2.     Restart the database and listener to enable Oracle XML DB protocol access.
    3.     To allow for unauthenticated access to your Oracle XML DB repository data through HTTP, you must also unlock the ANONYMOUS user account.
    is this right. can u tell me what i should do please.
    Thanks,
    Philip.

  • Oracle XML functions return tags for null columns.

    I am currently writing a SOAP Message base on a SQL statement formatted as XML. However, I am having problems with Oracle XML functions not returning tags for null columns as seen in my example below. Is the a way to get Oracle XML functions to return empty tags for null column?
    CREATE TABLE FOREXAMPLE_TABLE (COLUMN_1 VARCHAR2 (4000),
    COLUMN_2 VARCHAR2 (4000),
    COLUMN_3 VARCHAR2 (4000));
    INSERT INTO FOREXAMPLE_TABLE (COLUMN_2)
    VALUES ('This column is not null');
    COMMIT;
    SELECT XMLELEMENT ( "soap:Envelope",
    XMLATTRIBUTES ( 'http://schemas.xmlsoap.org/soap/envelope/' AS "xmlns:soap"),
    XMLELEMENT ( "soap:Body",
    XMLATTRIBUTES ( 'http://Custom_Column/types/' AS "xmlns:ns1"),
    XMLELEMENT ( "ns1:New_Instance",
    XMLELEMENT ( "ns1:Input_XMLDoc",
    XMLFOREST(fe.COLUMN_1 as "Column_1",
    fe.COLUMN_2 as "Column_2",
    fe.COLUMN_3 as "Column_3"))))) as xml
    FROM FOREXAMPLE_TABLE fe
    The results returned from the select statement.
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://Custom_Column/types/"><ns1:New_Instance>
    <ns1:Input_XMLDoc><Column_2>This column is not null</Column_2>
    </ns1:Input_XMLDoc></ns1:New_Instance></soap:Body></soap:Envelope>
    The desired results for the select statement.
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="http://Custom_Column/types/"><ns1:New_Instance>
    <ns1:Input_XMLDoc><Column_1></Column_1>
    <Column_2>This column is not null</Column_2><Column_3></Column_3>
    </ns1:Input_XMLDoc></ns1:New_Instance></soap:Body></soap:Envelope>
    jeeman

    An alternative may be be to use xmlconcat instead of xmlforest:
    Time Start: 30.06.2007 18:52:41
    PL/SQL procedure successfully completed.
    michaels>  select xmlelement
              ("soap:Envelope",
               xmlattributes
                      ('http://schemas.xmlsoap.org/soap/envelope/' as "xmlns:soap"),
               xmlelement
                    ("soap:Body",
                     xmlattributes ('http://Custom_Column/types/' as "xmlns:ns1"),
                     xmlelement ("ns1:New_Instance",
                                 xmlelement ("ns1:Input_XMLDoc",
                                             xmlconcat (xmlelement("Column_1", fe.column_1),
                                                        xmlelement("Column_2", fe.column_2),
                                                        xmlelement("Column_3", fe.column_3)
              ).extract('.').getstringval() as xml
      from (select null column_1, 'This column is not null' column_2,
                   null column_3
              from dual) fe
    XML                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
      <soap:Body xmlns:ns1="http://Custom_Column/types/">                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
        <ns1:New_Instance>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
          <ns1:Input_XMLDoc>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
            <Column_1/>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
            <Column_2>This column is not null</Column_2>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
            <Column_3/>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
          </ns1:Input_XMLDoc>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
        </ns1:New_Instance>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
      </soap:Body>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
    </soap:Envelope>                                                                                             

  • Internal Exception: oracle.xml.parser.v2.XMLParseException xsi:type "toplin

    i am using toplink 10.1.3.0.0 with oracle app server 10.1.2.2, i am using change field optimistic locking and generating the project xml,
    application runs great locally in the jdeveloper, but when it is deployed on app server getting following error
    here are the headers from both my project.xml as well as session xml..
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>PROJ</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="4.5" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>PROJSession</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finer</log-level>
    </logging>
    <primary-project xsi:type="xml">PROJ.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.OraclePlatform</platform-class>
    <user-name></user-name>
    any help/idea appreciated...
    Exception [TOPLINK-9005] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the <project-xml> file [PROJ.xml].
    Internal Exception: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.platform.xml.XMLPlatformException
    Exception Description: An error occurred while parsing the document.
    Internal Exception: oracle.xml.parser.v2.XMLParseException: xsi:type "toplink:changed-field-locking-policy" not resolved to a type definition
    at oracle.toplink.exceptions.SessionLoaderException.failedToLoadProjectXml(SessionLoaderException.java:74)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.loadProjectConfig(TopLinkSessionsFactory.java:316)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.createSession(TopLinkSessionsFactory.java:241)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildServerSessionConfig(TopLinkSessionsFactory.java:215)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:124)
    at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:103)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:367)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:334)
    at myProjectPackage.common.data.toplink.ToplinkDataManagerPeer.<init>(ToplinkDataManagerPeer.java:41)
    at myProjectPackage.common.data.DataManagerFactory.getDataManagerInstance(DataManagerFactory.java:40)
    at myProjectPackage.common.servlet.NYSDOTFilter.getDataManager(NYSDOTFilter.java:964)
    at myProjectPackage.common.servlet.NYSDOTFilter.doFilter(NYSDOTFilter.java:144)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at myProjectPackage.caf.servlet.NYSDOTCAFFilter.doFilter(NYSDOTCAFFilter.java:90)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at myProjectPackage.common.servlet.NYSDOTLoginFilter.doFilter(NYSDOTLoginFilter.java:95)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:570)

    first thanks for your reply,
    i already figured that out and deployed it using 10.1.3.1 jars
    my question
    1) if it is a bug , how come it works fine with jdeveloper (
    i would appreciate if you could provide any info about it.
    2) i dont want to sound sarcastic , but 10.1.3.1 has of optimistic locking and the recommended solution i found was to use descriptor.getQueryManager().setUpdateCallCacheSize(0);
    looks like 10.1.3.1 fixed one bug and introduced other one which was working fine earlier...
    is there any other way of fixing optimistic locking issue other than using the
    descriptor.getQueryManager().setUpdateCallCacheSize(0);
    where i can find the latest/greatest (up to date patched version of toplink)
    thanks again for your help

  • ANN: Oracle XML Parser for Java v2.0.0.1

    A new maintenance release of the Oracle Parser for Java is
    available for download. It has the following fixes and changes:
    Bug fixes for #920536, i.e. Cannot access element attributes via
    XSLT; #898423. i.e. ElementDecl's in DTDs; #774774, i.e. DOM
    extensions using XSL pattern matching; #863890 i.e. SAX
    IOException not thrown.
    New APIs in the following new interface:
    1. oracle.xml.parser.v2.NSResolver
    - resolveNamespacePrefix( find the namespace definition in scope
    for a given namespace prefix )
    New APIs in the following classes:
    1. oracle.xml.parser.v2.XMLNode
    - selectNodes( Selects nodes from the tree which match the given
    pattern; client can provide an NSResolver implementation to
    resolve namespace prefixes in the pattern ).
    2. oracle.xml.parser.v2.ElementDecl
    - getParseTree( Returns the root Node of Content Model parse
    tree, which could then be traversed node by node using
    getFirstChild() and getLastChild(). The Node types are: PLUS,
    COMMA, ASTERISK, ELEMENT, QMARK ).
    This is the first beta patch release for v2.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

    unzip -l appsborg2.zip | grep 9.0.4
    0 04-18-03 20:10 .xdkjava_version_9.0.4.0.0_production
    do i still need to do that step?No, you do not have to since "XML Parser for Java v9.0.4" is already installed as part of appsborg2.zip

  • Nls support with oracle xml parser in java

    I'm using The JAXP interface to manipulate xml with xsl. the implementation that I use is Oracle xml parser.
    My xml contains a lot of hebrew chars, and in the result stream each char translated into 5-6 chars, which makes the result to be 5-6 times bigger than it suppose to be, and harder for me to debug my application.
    The client's browser shows the results well.
    How can I make the transformator to transform the hebrew chars to hebrew char istead of longer and not readable string ?

    Oracle XML Team wrote:
    : Stephen Flinter (guest) wrote:
    : : Environment: WinNT 4.0/SP4, Apache 1.3.6, JServ 1.0, Oracle
    : 8.1.5
    : : I have downloaded the new Java v2 XML Parser (2.0.2), and
    have
    : : replaced the wrapper.classpath entry in my jserv.properties
    : file
    : : with the path to the new parser.
    : : When I rerun the "Employee Page" demo, I get the following
    : : exception message:
    : : [15/09/1999 11:02:22:974 GMT] java.lang.NoSuchMethodError:
    : : oracle.xml.parser.v2.XSLProcessor: method
    : : processXSL
    : (Loracle/xml/parser/v2/XSLStylesheet;Loracle/xml/parser
    : : /v2/XMLDocument;)Lorg/w3c/dom/DocumentFragment; not found
    : : at oracle.xml.xsql.XSLHelper.process(XSLHelper.java:34)
    : : at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java,
    : : Compiled Code)
    : : at
    : : javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
    : : at
    : : javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    : : at
    : : org.apache.jserv.JServConnection.processRequest
    : (JServConnection.j
    : : ava)
    : : at
    : : org.apache.jserv.JServConnection.run(JServConnection.java)
    : : at java.lang.Thread.run(Thread.java:479)
    : : This demo was works fine with the parser shipped with the
    : : xsql_servlet download.
    : : Regards,
    : : Steve
    : Version 2.0.2 uses the August XSLT WD which is incompatible
    with
    : the April WD on which our previous releases including the demos
    : were based.
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    Hi,
    Can someone from the Oracle XML Team point us to a fix so we can
    continue our testing???
    Steve...
    null

  • Oracle.xml.parser.v2.XMLParseException: Missing entity 'nsim' Exception

    Hi All,
    Can anyone tell me what could be the reason for the following parsing exception?
    oracle.xml.parser.v2.XMLParseException: Missing entity 'nsim'.
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at org.xml.sax.SAXException.<init>(SAXException.java:45)
         at org.xml.sax.SAXParseException.<init>(SAXParseException.java:116)
         at oracle.xml.parser.v2.XMLParseException.<init>(XMLParseException.java:62)
         at oracle.xml.parser.v2.XMLError.flushErrors(Compiled Code)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(Compiled Code)
         at oracle.xml.parser.v2.XMLParser.parse(Compiled Code)
         at com.elsevier.util.xml.XMLHelper.parse(Compiled Code)
         at com.elsevier.util.xml.XMLHelper.parse(Compiled Code)
         at com.elsevier.util.xml.XMLHelper.parse(Compiled Code)
         at com.elsevier.cds.xml.XMLDocManagement.PublicationInformation(Compiled Code)
         at com.elsevier.cds.promis.FetchPublicationXML.getPublicationXML(Compiled Code)
         at com.elsevier.cds.promis.NewPromisData.processPublications(Compiled Code)
         at com.elsevier.cds.promis.NewPromisData.<init>(NewPromisData.java:152)
         at com.elsevier.cds.promis.NewPromisData.main(NewPromisData.java:451)
    XML parse error in file com.elsevier.cds.promis:/PubID=623277
    at line 382, character 40
    Missing entity 'nsim'.
    Thanks,
    Raghu

    Is an Entity used in the xml document and not defined in the document?

  • Simple questions for Oracle XML Team - please respond

    1) Which class/methods should be used to obtain the content
    model (mixed-content or element-content) associated with each
    element declaration in a DTD? In other words, how do I know if a
    particular element can have child elements and/or data in a
    valid XML document, the frequency each child element can appear
    under a particular element, and whether a sequence list or a
    choice list was used to declare the element?
    2) Do you have any bug reported so far for this part of Oracle's
    parser made available in the last released?
    Thanks,
    Renilton
    null

    Renilton Oliveira (guest) wrote:
    : 1) Which class/methods should be used to obtain the content
    : model (mixed-content or element-content) associated with each
    : element declaration in a DTD? In other words, how do I know if
    a
    : particular element can have child elements and/or data in a
    : valid XML document, the frequency each child element can
    appear
    : under a particular element, and whether a sequence list or a
    : choice list was used to declare the element?
    Look at oracle.xml.parser.v2.ElementDecl class and then
    getContentType and getContentElements methods.
    : 2) Do you have any bug reported so far for this part of
    Oracle's
    : parser made available in the last released?
    : Thanks,
    : Renilton
    Each release contains a list of bugs fixed. Is there a
    particular bug you are interested in?
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • The problem when i install SES 10.1.3

    I install ORACLE SES 10.1.3 in virtual machine.
    The physical os is WINDOW 2003 SERVER,the vmware version is VMWARE GSX SERVER V3.1,and the vm os is win 2000 server.
    First, I install AS 10.1.3 , everything is ok. After thatI install SES , when i goto choose "Select Installation Type" step, the problem tell me contact oracle technique,and the related error is:
    Exception java.lang.ExceptionInInitializerError occurred..
    java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.sysman.oii.oiix.OiixJarResourceBundle.extractBundle(OiixJarResourceBundle.java:332)
         at oracle.sysman.oii.oiis.OiisLibraryLoader.<init>(OiisLibraryLoader.java:116)
         at oracle.sysman.oii.oiis.OiisQueryLibLoader.<init>(OiisQueryLibLoader.java:41)
         at oracle.sysman.oii.oiic.OiicInstallSession.getLibLoader(OiicInstallSession.java:3077)
         at oracle.sysman.oii.oiic.OiicPullSession.getQueryLibLoader(OiicPullSession.java:3865)
         at oracle.sysman.oii.oiis.OiisCompContext.doQuery(OiisCompContext.java:2406)
         at Components.oracle.edge.server.standalone.v10_1_3_0_0.CompContext.getCalculatedValueObject_PRE_REQUISITE(Unknown Source)
         at Components.oracle.edge.server.standalone.v10_1_3_0_0.CompContext.getCalculatedValueObject(Unknown Source)
         at oracle.sysman.oii.oiis.OiisCompContext.getCalculatedValue(OiisCompContext.java:656)
         at oracle.sysman.oii.oiis.OiisPreRequisiteVar.getCalculatedValue(OiisPreRequisiteVar.java:155)
         at oracle.sysman.oii.oiis.OiisVariable.setVariable(OiisVariable.java:2162)
         at oracle.sysman.oii.oiis.OiisVariable.setVariable(OiisVariable.java:1893)
         at oracle.sysman.oii.oiis.OiisCompInstallation.getPreRequisite(OiisCompInstallation.java:822)
         at oracle.sysman.oii.oiis.OiisCompInstallation.getContext(OiisCompInstallation.java:509)
         at oracle.sysman.oii.oiio.oiiod.OiiodDepEngine.checkPreReq(OiiodDepEngine.java:5119)
         at oracle.sysman.oii.oiio.oiiod.OiiodDepEngine.applySelection(OiiodDepEngine.java:3541)
         at oracle.sysman.oii.oiio.oiiod.OiiodDepEngine.depModeApply(OiiodDepEngine.java:2708)
         at oracle.sysman.oii.oiif.oiifw.OiifwPostDepModesWCCE.doOperation(OiifwPostDepModesWCCE.java:339)
         at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:162)
         at oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:358)
         at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:162)
         at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:970)
         at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:232)
         at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:399)
         at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:717)
         at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name resources/libRes, locale zh_CN
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:837)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:806)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:550)
         at OiJarResourceLoader.<clinit>(Unknown Source)
         ... 32 more
    But when I install SES in physical machine with win2000 server, everything is ok!
    asking for help!
    think u!

    zerapat:
    I guess you were installing SES 10.1.3.0 on SOA Suite 10.1.3.1. I met this exact problem. This error is thrown at the stage to deploy edge application.
    If installing SES 10.1.3.1 on SOA Suite 10.1.3.1, the application will be deployed successfully, but it will fail at the stage to configure JNDI name for the datasource. The reason is just what mentioned by tomaszhaase. But we can finish the installation wizard and manually configure the datasource in Enterprise Control.

  • Setting up Oracle XML Gateway for EBS 12.1.3

    Hi Experts,
    We are currently working on R12.1.3 and was asked to check on how to setup/integrate XML Gateway on R12.1.3.
    I have gone though many pages of this forums and checked the support ID's as given below :
    Installing Oracle XML Gateway and Oracle Workflow with Oracle Applications 11i [ID 152775.1]  -->  Its for 11i, don't find the same for R12.
    Oracle XML Gateway Release Notes, Release 12.1.3 --> does not help giving the information on how to setup XML Gateway
    Found the below link but not sure if this is what was asked and looks like Client Desktop Installation.
    11i - 12 How To Download and Install the Latest Oracle Workflow Builder (Client Tool) and XML Gateway Message Designer for E-Business (Doc ID 261028.1)
    I don't know much about Oracle XML Gateway and how to integrate this to EBS R12, I am not able to find how to integrate this with the existing R12.1.3.
    Please someone guide me though this.
    Also, I would like to know what benefit could we get with XML Gateway setup when we have the workflows and similar setups already available with R12.1.3, and is there is a way to work out the XML messages inside R12.1.3 without setting up XML Gateway.
    Experts please clarify the above and guide me and would highly appreciate for a quick response.
    Regards,
    Sandy

    Hi Sandy,
    Did you try the documentation library? The following gives you a detail explanation on how you can setup XML gateway on R12.1.3:
    http://docs.oracle.com/cd/B53825_08/current/acrobat/121ecxug.pdf
    In addition, also please review notes:
    Oracle XML Gateway Release Notes for Release 12.1.3 (Doc ID 1096991.1)
    11i - 12 How To Download and Install the Latest Oracle Workflow Builder (Client Tool) and XML Gateway Message Designer for E-Business (Doc ID 261028.1)
    Also please review the Forum Search, as this will allow a better understanding.
    Forum Search: XML Gateway
    Thanks &
    Best Regards,

  • What is the problem with my feed ?

    Can anybody shows me where is the problem with this feed :
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    <channel>
    <title>F Communications Podcast</title>
    <link>http://www.fcom.fr/</link>
    <language>fr-fr</language>
    <itunes:subtitle>Electronic With No Limit</itunes:subtitle>
    <itunes:author>F Communications</itunes:author>
    <itunes:category text="Music"></itunes:category>
    <item>
    <title>F Com Podcast #1</title>
    <itunes:author>Laurent Garnier</itunes:author>
    <itunes:subtitle>Essential Mix - November 1995</itunes:subtitle>
    <itunes:summary>
    01. Felix Da Housecat - Submarine - Radikal Fear
    02. LA Williams - Terminal Velocity - DJax
    03. ???? - ???? - ????
    04. Woody MacBride - Units - Head In The Clouds
    05. Laurent Garnier - Rochando O Bico - F Com
    06. Steve Stoll - Universal - Proper
    07. Scan X - Blue - F Com
    08. Electronic Exp - Meltdown Ride - Transparent Sound
    09. Reload - Birth Of A Disco Dancer - Warp
    </itunes:summary>
    <enclosure url="http://younderboy.free.fr/fcom/essentialmix.mp3" type="audio/mpeg" />
    <itunes:duration>XX:XX</itunes:duration>
    <pubDate>Thu, 16 Nov 2006 19:07:00 GMT</pubDate>
    </item>
    </channel>
    </rss>
    When I enter its URL in iTunes, it doesn't reject my feed, but nothing happens. I can see the URL instead of my Podcast's title, like on this caption : http://younderboy.free.fr/caption.jpg
    Help me please, I don't understand where is the problem ! Thanks a lot...

    Go to this site - http://feedvalidator.org/
    And give it your feed URL.

  • Where is the oracle.xml.sql.query package?

    Hi,
    I have downloaded the xmlparser_v2_0_2_9.zip. I hoped I have everything to compile the example for retrieving XML document with an sql query. However, the jar file is missing the entire package oracle.xml.sql.query which contains for instance the crucial class OracleXMLQuery. Does anyone know where I could get this package - is it part of another download that I have to do, or can I buy it anywhere? Thanks for your help.
    Karel

    It's part of the XML SQL Utility for Java, avialable for download from http://technet.oracle.com/tech/xml

Maybe you are looking for

  • Sending mail attachments as attachments, not images

    I send a lot of resumes, and I set up my Mac Mail to function with my website's email address. I recently changed my resume to a PDF. When I attach it, it appears as an image. I just want to attach it for others to download as a file. I know I can to

  • My 23" HD Monitor Keeps Waking Up - Help!!

    My monitor keeps waking up on it's own. I know there must be something going on internally with my Mac Pro that makes it wake up. What should I start with?

  • Which item/record was right click fired from

    im using the popup menu but find it hard to detect which item/record the cursor was at when the right mouse button was clicked. If I use trigger_item I get the item where the mouse was last and not the new one that I just clicked. mouse_item is null

  • Task Description Long Text in Workflow

    Hi, I need to display a very long URL in an e-mail notification but cannot get the URL to stay in one line, that is, it wraps around.  Can anyone help?  The extended line /= command doesn't work. Thanks, Marcia

  • HT201342 But what about my Outlook calendar?

    something happened when I changed my iCloud address. My iTunes password changed and now there is no syncing going on between my iPad and my Outlook. This is making me crazy. Any help or suggestions for the device challenged would be greatly appreciat