XSL Error using OracleXMLQuery with XSLT params

Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: nrvfpio.xsl
<Line 3, Column 1>: XSL-1026: (Error) Unknown expression at EOF: text()|@*.
at oracle.xml.sql.query.OracleXMLQuery.setXSLT(OracleXMLQuery.java:786)
at OracleXML.To_XML(OracleXML.java:1047)
at OracleXML.ExecuteGetXML(OracleXML.java:917)
at OracleXML.main(OracleXML.java:184)
stylesheet "nrvfpio.xsl" is valid. Here is it:
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />

Chirag,
Create xslt on abap mapping using transaction SXLT_TOOL on XI abap stack. Copy paste same xslt code and run with test file. You can debug code or most likely you can see error message too.
Actually your mapping raising an exception which result in sys-fail.
Hope this will help.
Nilesh

Similar Messages

  • Using Starts-with XSLT function with XI

    Hi All,
    Any help is apperciated. I am using the starts-with xslt function and when i do so the message gets stucks in the queue. If i run code without the starts-with then is works??
    <xsl:for-each select="receipt/prod">
         <xsl:for-each select="carrier/carrier_detail/carrier">
               <xsl:choose>
                   <xsl:when test="carrier_type='CASE'">
                        <xsl:choose>
                             <xsl:when test="starts-with(carrier_barcode, '00')">
                                                   do something
                                            </xsl:when>
                                           <otherwise>
                                                 do something
                                           </otherwise>
    so on..
    when i try to process messsage using this xslt format it gets sysfail in the queue, but without it, it works fine.
    I need to a special format if the condition of barcode starts with 00

    Chirag,
    Create xslt on abap mapping using transaction SXLT_TOOL on XI abap stack. Copy paste same xslt code and run with test file. You can debug code or most likely you can see error message too.
    Actually your mapping raising an exception which result in sys-fail.
    Hope this will help.
    Nilesh

  • Error using JTextArea with JScrollPane

    hi,
    I am using JTextArea with JScrollpane. I am getting a problem in selecting the text in text area. I am searching for some text in the text area and selecting it if search successful. The problem is that the the scrollbar position didnt set to the correct location. So sometime the text selected is not visible in the scrolpane. Any help regarding this will be highly appreciated.
    Regards
    Danish

    What about sth like this:Rectangle r = textarea.modelToView(textarea.getSelectionStart());
    scrollpane.scrollRectToVisible(r);Just a guess, no idea whether it works.

  • Problem in using DOMAdapter with xslt

    I have created one .xslt file for transforming one XML to another XML. I am using api's like xerces-2_7_1,xalan-j_2_7_1 from Apache.
    In side my xslt I have taken variable(for sample) like:
    <xsl:variable name="MyVar">
      <Nodes>
        <Node>
          <xsl:attribute name="type">TypeOne</xsl:attribute>
          <Value>This is first node.</Value>
         </Node>
         <Node>
           <xsl:attribute name="type">TypeTwo</xsl:attribute>
           <Value>This is second node.</Value>
         </Node>
         <Node>
           <xsl:attribute name="type">TypeThree</xsl:attribute>
           <Value>This is Third node.</Value>
         </Node>
      </Nodes>
    </xsl:variable>
    <xsl:for-each select="myextension:testMethod ($MyVar)">
         <!-- My Code on selected object.-->
    </xsl:for-each>I want to access this variable in my XSLTExtension class which is a simple java class. I have called method of this class with select="myextension:testMethod ($MyVar)" above.
    I am getting variable in XSLTExtension file and even got all values of it.
    I written code in java file like:
    import com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public static DOMAdapter testMethod (Object adapter){
            DOMAdapter domAdapter = (DOMAdapter) adapter;
            Node nodes = domAdapter.makeNode (domAdapter.getIterator ());
            NodeList list = nodes.getChildNodes ();
                   Code for getting values form NodeList which is quite simple.
                   Processing those values with my business logic and
                   creating new Document to be returned as DOMAdapter.
    }As I mentioned in method I want to return DOMAdapter from method to calling XSLT file. How can I do this?
    if any one have any Idea then please tell me. Any comment regarding this will help me.
    Thanks in Advance,
    TYPurohit.

    Since you said it works fine with an Orange SIM card, it sounds more like it's a network issue than a handset issue. I'd give T-Mobile a call and see what they can do for you - Your SIM may have call barring setup.
    Aubs
    Aubs

  • Using StAX with xslt transformations in the right way?

    Hi!
    What do I need to enable the stax functionality to transformations, and which transformer implementations is supporting this? (or is the implementation irrelevant)
    I have made the following to create a StaxSource, but is it enought?
    ---8<---
    private static XMLInputFactory inputFactory = XMLInputFactory.newInstance();
        InputStream xmlInputStream = xmlUrl.openStream();
        XMLStreamReader xmlStreamReader = inputFactory.createXMLStreamReader( xmlInputStream );
        Source xmlSource = new StAXSource( xmlStreamReader );
    transformer.transform(xmlSource, new StreamResult(writer));
    ---8<---I'm using:
    org.apache.xalan.processor.TransformerFactoryImpland every thing seems to work very nice, but I'm not sure if I have done it in the right way and if it's something that I miss.
    If I understand it correct normal transformations is transforming the xml to a Dom-tree but with StAX it shouldn't and be more memory efficient.
    So anyone have any comments?
    /Per

    Indeed, as DrClap has already stated, using a StAXSource will not guarantee streaming. All of the mainstream XSLT processors build some sort of DOM structure internally because, in the general case, XSLT requires random access on the input document. The only exception to this is the identity transform, which in most processors is done in streaming fashion --i.e., without actually creating an intermediate structure.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ORA-03115 Error using CLOB with JDBC

    When I try to access CLOB field data with JDBC driver, I gets following error:
    ORA-03115: unsupported network datatype or representation.
    I am using JDBC 8.1.6(Thin), Oracle 8.0.5
    on Linux OS.
    what's the problem ?
    Thank you for any help.
    Taesoo.
    null

    if it is a bug, then its better to upgrade the database to 10.2.0.4. it is the stable verion in 10g.

  • Error using Filter with SQL Expression

    Hey all -
    New to Oracle BI, and getting a problem with Filters that use SQL Expressions.
    The column I'm filtering on is a 4 digit year, expressed as a VARCHAR2(4 byte) in the physical database. My SQL Expression in the filter is:
    Column: CAL YEAR 4 DIGIT
    Operator: Is equal to/in
    SQL Expression: TO_CHAR(ADD_MONTHS(SYSDATE, -24), 'YYYY'))
    when I click on the "Results" Tab I get the following error message:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] . (HY000)
    I've isolated the issue to the expression above. If I put in a literal value and supply a four digit year like below it works:
    Column: CAL YEAR 4 DIGIT
    Operator: Is equal to/in
    SQL Expression: *2008*
    Any ideas on what's causing my problem?
    Thanks!
    Mac

    macearl wrote:
    SQL View does not display unless data is returned by the query. Is that normal?
    Also, none of these options shows the literal result of the expression we built, i.e.:
    expression: CAST(YEAR(TIMESTAMPADD(SQL_TSI_MONTH, -24, CURRENT_DATE)) as CHAR)
    result: *2008*
    Having the ability to test expressions and see their results would be very helpful in debugging. If anyone knows how to do that please share!
    Thanks!
    MacOk, Probably shoud have figured this out before, but in response to my own question, the way to view the result of an expression is to add the expression as a column and include it in the Table Presentation.
    - Mac (he can be taught)

  • BPC 10 MS Transformation format error using *MVAL with no Rejected items

    I'm a bit perplexed, but maybe I'm being too ambitious.  I am trying to combine a year field from a column in my data file with 12 data columns for each month of that year using *MVAL to pick up those columns.  Basically I want to pull from the file with a result like 2014P1 and then use a Time conversion to make it 2014.OCT.
    I have found that the Mapping statement *Col(1)+*MVAL(25:36) does not work, but reversing it does, i.e. *MVAL(25:36)+*Col(1).  This brings the small problem in the conversion file of making P1* convert for both P1 and P10, so to solve this I added +*Str(.) in the middle of the mapping statement.  This brings results like P1.2014 and P10.2014 to be converted in the conversion file.
    After several attempts the conversion I ended up with is:
    EXTERNAL P1.* : INTERNAL *.OCT
    EXTERNAL P2.* : INTERNAL *.NOV etc etc to P12
    When validating the Transformation file it returns the error:
    Input string was not in a correct format
    Validation with data file failed
    [The conversion file validated and processed with no problems, even with some VB added to reduce the year by 1 in the first three Periods.]
    The strange thing is that the Rejected List is not greyed out, but it is completely empty - usually this error generates some rejected items that you can then learn from and revise your mappings or conversions.
    If I change the conversion to repeat the * after the month, *.OCT*, then I do get rejections that correctly tell me that the conversion does not match my time id's.  I see 2014.OCT2014 in the rejected items.  This confirms that the correct part is being picked up by the conversion *.OCT, but that for some reason it is not accepted.
    Running this for an Import in Data Manager also fails - this is not a bug in the transformation validation routine.
    So, my questions are:
    - am I doing something obviously wrong? or
    - am I being too ambitious with *MVAL? or
    - should this work, so that a dynamic conversion for any year can be set up - in other words is this a bug?
    We are running BPC v10 MS SP12 with EPM SP16.  I attach my Transformation file and the Time conversion.
    Thanks
    Chris

    I was much delayed in testing this due to other issues, but an opportunity came up last week when building a new environment.  This time the column headings were needed for the 12 data columns (12 months Oct to Sep with 3 letters) which meant I could try adding the year as a *Str() function in the mapping before the *MVAL statement.
    The result was that it still failed but with another error:
    Index was outside the bounds of the array.
    I abandoned due to time and built a specific conversion file for the months.  Each time I load some historic data I have to edit this to put in the correct years.  I keep these lists pasted on the right of the formula column for easy reference.
    One odd thing that we still find consistently since SP12 is that the last column header is always missed.  To get around this we often add an extra blank column to the input files or in this case I added P12 to my conversion file so that the data was picked up.  This is inconvenient.
    It would be good to be able to pick up a year from a column in the data or to add it with the *Str() function before the *MVAL statement.
    I have still to try Astha's proposal below.  Next time!
    Thanks
    Chris.

  • Error using OSR10g with SOA Suite 11g

    Hi,
    I'm trying to configure a web service adapter in Jdev 11.1.1.2 in order to use the OSR (10g) to dinamically resolve the WSDL location and SOAP endpoint, but I always get an error like this:
    Exception: WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "orauddi:/uddi:8955c1d0-0b55-11e1-b90e-7b4aa540b908", caused by: oracle.fabric.common.uddiurl.resolver.exception.SRKeyNotFoundException:
    <dispositionReport xmlns="urn:uddi-org:api_v3">
        <result errno="10210">
            <errInfo errCode="E_invalidKeyPassed">Cannot find BusinessService with key orauddi:/uddi:8955c1d0-0b55-11e1-b90e-7b4aa540b908 !</errInfo>
        </result>
    </dispositionReport>The service is correctly published in registry, even its reachable from the UDDI Registry Resource Palette in JDEV.
    The same service published in a OSR 11g is invoked correctly, but I can't solve the proble for the OSR 10g.
    I found some documentation about migrating and it says that the SOA Suite 10g uses UDDI standar but the 11g Suite uses orauddi.... so, not standard??, is there a way to integrate SOA Suite 11g with OSR 10g??

    Hi,
    check for some spaces or character which might be going while you specify the JRE locations, alternatively you can call runInstaller with
    -jreLoc ,i.e;have the path in the cmd.
    ./runInstaller -jreLoc /root/Oracle/Middleware/jdk160_14_R27.6.5-32
    which should work.
    regards,
    Jitendra

  • Linker error using extern with 2 libs

    Hi,
      I have written two libraries, both libraries need to share access to a variable, GblVal. So in one lib, when GblVal is changed, the other lib should also see this change.
    I have tried to achieve this through extern in the following setup:
    lib1:
    lib1.c:
    int GblSum;
    void Do(){
    GblSum=1;
    lib1.h:
    extern int GblSum;
    lib2.c:
    #include "lib1.h"
    void check(){
    printf("%d",GblSum);
    finally I have a main process that has both compiled libs
    main.c:
    Do();
    check();
    obviously my code doesn't actually do the above, but this is just the gist of what I'm trying to do. I'm fairly certain that I am setting my extern variable up right, however I can't compile lib2 due to:
    Undefined symbol "_GblNum" referenced in lib2.c
     what am I doing wrong? I have suspicions that this is a linker error but I'm not really sure how to fix it.
    thanks

    Static libraries (usual file extension .lib) are simply collections of compiled object files. To use functions and data contained in a static library in an application, the library must be specified as one of the input files to the application. At link time, the linker searches the library to resolve unsatisfied function and data references and extracts the object modules required to satisfy them.
    Dynamic Link Libraries (usual file extension .dll) are compiled and linked code modules (that is, they contain their own run-time support) that expose the addresses of particular functions (and, less often, data items) contained within the module. If an application uses functions from a dynamic link library, the DLL is also loaded when the application is run and the function/data addresses made known to the application. DLLs are most often used to share common code between applications, but because they are self-contained they are also a common way of building applications using different technologies (e.g. a CVI application can use a DLL built using Delphi or VC++).
    Normally, a DLL is associated with an import library which is linked in with the calling application. This import library resolves references to functions and data in the DLL used by the calling application by 'telling' the application which DLL the functions are in and how to find them in that DLL. Applications can also explicitly load DLLs at run-time if required.
    Martin
    Certified CVI Developer

  • Acrobat Reader X : Error using javascript with ProtectedMode on

    Stumped with an issue.
    I have a PDF with a mouseup event to trigger the PDF to SAVE to a network location and it works fine in v9 but with Reader X and enable Protected Mode turned on it throws the following error:
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.saveAs
    I get the above error even though the NETWORK PATH has been added in Reader preferences as a trusted PATH and the web site is listed as a trusted site.
    What am I missing here?

    According to the documentation, I am supposed to be able to setup a POLICY file "ProtectedModeWhitelistConfig.txt" and add parameters to it such as
    FILES_ALLOW_DIR_ANY = c:\tempfiles\*
    FILES_ALLOW_ANY = c:\tempfiles\*
    I want the ability to save to a UNC network path...it worked fine in Acrobat 9 and now with sandbox security and protectedMode in "X" nothing works.
    In Acrobat X, if "enable protected mode" is on, NOTHING works and an error is thrown.  If it is unchecked, the saveAs works fine.

  • Using OracleXMLQuery with Oracle 9i

    Sample code example -
    OracleXMLQuery xmlData = new OracleXMLQuery(conn, sqlQuery);
    String xmlString = xmlData.getXMLString();
    PrintWriter xmlFile.print(xmlString);
    I am able to connect to the database and print out the XML file. I'm querying an object that has a table embedded and everything was printing out okay in 8i, but now it 9i the string data fields in the embedded table are printing out in hexadecimal format. I've been to Sun's web site and in the forum discussions other developers are having the same problems without any know solution.
    Has anyone here came up with a fix?

    I thought that imp, with full=Y option will import everything into this empty dB, no matter There are not any schemes and users that were in the original dB...
    Your understanding is 100% correct, but the question is, how did you take the export? Because, if you have taken full export, you haven't hit this problem. Could you tell us how did you made export?

  • Error using OracleXMLSave.setXSLT(xslt, null)

    Hi.
    I'm running a standalone OC4J server. When I deploy my webservice, and I run it, I get this error message:
    SOAP-ENV:Server - oracle/xdb/XMLType [java.lang.NoClassDefFoundError]
    When I run this on a IAS10G server, then it runs OK.
    I have deployed the xdb.jar file with the applications ear file.
    And on the standalone I have also deployed it on the J2EE_HOME\lib\ catalog.
    Anyone have an ide?
    Regards
    Rune Haavik

    Hi.
    I found out of this myself.
    I needed to deploy the libraries to the java_home\lib\ext path.
    rune

  • ORA-31186 Document contains too many nodes - Using XMLGen with XSLT

    When processing a query that returns a large number of rows I'm getting this error. It doesn't appear that processing results with a style sheet works for larger result sets, in this case 64k rows.

    Hi,
    you may want to check
    ORA-24817 and ORA-31186 (undocumented errors)
    Regards,
    Jaromir

  • Error using rman with cumulative backup

    Hi,
    Can anyone help?
    Current system configuration : Oracle 8.0.4 & Veritas Netbackup.
    Encounter error when allocate 2 channel for cumulative backup using rman. Using a single channel works fine.
    RMAN-08010: channel t1: including datafile 1 in backupset
    RMAN-08008: channel t2: starting datafile backupset
    RMAN-08502: set_count=152 set_stamp=432319182
    RMAN-08010: channel t2: including datafile 7 in backupset
    RMAN-08010: channel t2: including datafile 20 in backupset
    RMAN-08010: channel t2: including datafile 13 in backupset
    RMAN-08010: channel t2: including datafile 15 in backupset
    RMAN-08010: channel t2: including datafile 16 in backupset
    RMAN-08011: channel t1: including current controlfile in backupset
    RMAN-00569: ================error message stack follows================
    RMAN-03007: retryable error occurred during execution of command: backup
    RMAN-07004: unhandled exception during command execution on channel t2
    RMAN-10032: unhandled exception during execution of job step 2: ORA-06512: at li
    ne 153
    RMAN-10035: exception raised in RPC: ORA-19624: operation failed, retry possible
    ORA-27015: skgfcls: failed to close the file
    Additional information: 7023
    ORA-19502: write error on file "bk_152_1_432319182", blockno 3713 (blocksize=512
    ORA-27010: skgfwrt: write to file failed
    Additional information: 7043
    ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 408
    RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECRE
    ATE
    Thanks in advance
    null

    Hi,
    first of all you must have all the archivelogs since you want to recover your table from the previous backups.
    anyways if you want to recover your table then you need to perform incomplete recovery to the point where you loss the table for that you need to restore and recover your database.you likely to loose all the transcation which occurs to the point where you you loose your table.
    thanks..

Maybe you are looking for