Error in creating XML Report Definition

I have used App Engine to generate XML & XSD file having multiple rowsets.
Next I created a new Data Source of type rowset and uploaded thses 2 files.
But when I try to create a new Report Definition with data source type as rowset and the Data source name created before it throws the following error
Invalid XSD File: (235,18)
This XSD file is not valid. Please correct the error and upload again.
Could anyone assist me in solving this issue?

Can you compare the XML tags from your file with the following example:
<function name="f_1formattrigger">
<textSource>
<![CDATA[function F_1FormatTrigger return boolean is
begin
  null;
  return (TRUE);
end;]]>
</textSource>
</function>
As I can see , in your file <textSource> tag is missing.
Regards

Similar Messages

  • "Run Report" form error befor running XML report

    I created XML report (Concurret Programs with Output Format XML), created XML file as Data definition and RTF template, and will Output in Excel. When open Run Request and choose XML report, before Parametr form is opened, get 2 error:
    FRM-41084: Error getting Group Cell
    FRM-41072: Cannot create Group req_layout
    Help me, where is Problem?
    Edited by: Sega99 on 2010.26.1 02:41

    hi
    Please post u r thread in report forum. thanks.
    Sarah

  • REP-6104: Invalid XML report definition

    Hello All,
    We're encountering the above error. What could be the cause of the problem?
    We're using Oracle 10g 10.1.2 on AIX as our report server.
    Any help would be greatly appreciated. Thanks!
    [2006/8/6 1:17:56:737] (C Engine) ----------------------------------------
    [2006/8/6 1:17:56:738] (C Engine) | Report customization/generation begins |
    [2006/8/6 1:17:56:740] (C Engine) ----------------------------------------
    [2006/8/6 1:17:56:744] (C Engine) Processing XML report definition 1 of 1.
    [2006/8/6 1:17:56:745] (C Engine) *** Parsing the XML document ***
    [2006/8/6 1:17:56:746] (C Engine) Creating XML parser object...
    [2006/8/6 1:17:56:934] (C Engine) XML Parser Created!
    [2006/8/6 1:17:56:955] (C Engine) Parsing report definition in document buffer...
    [2006/8/6 1:17:57:910] (C Engine)
    Internal error
    [2006/8/6 1:17:57:916] (C Engine) ERROR: XML definition failed to parse!
    [2006/8/6 1:17:57:917] (C Engine) -------------------------------------------------------
    [2006/8/6 1:17:57:918] (C Engine) | Report customization/generation failed! |
    [2006/8/6 1:17:57:921] (C Engine) -------------------------------------------------------
    [2006/8/6 1:17:57:922] Error 50103 (C Engine): 01:17:57 ERR REP-6104: Invalid XML report definition.
    [2006/8/6 1:17:57:923] Error 50103 (C Engine):
    [2006/8/6 1:17:57:924] Error 50103 (C Engine): 01:17:57 ERR REP-0002: Unable to retrieve a string from the report builder message file.
    REP-6104: Invalid XML report definition.

    Hello,
    What format do you use for your Reports ? JSP ? XML ? RDF ? REP ?
    If you are using JSP or XML, try to save your Reports in Reports Buidler with the format RDF and use this RDF
    Regards

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • How add new field in layout in RDF using XML report definition

    Hi, ALL
    Do you know how add new field in layout of existing report in RDF using XML report definition. If I try change anything in RDF layout, layout which defined in XML override report layout.

    hello,
    in reports 6i we have this limitation, that you can not add a field to a report unless you re-default the whole report, as we do not support positioning-information in the customization file.
    regards,
    the oracle reports team

  • Imported image error - REP-6106: Error in XML Report Definition

    I created a report with an image using Insert/Image. I've tried bmp, gif, jpg. The reports works fine so I save it. When I reopen this file, I get the REP-6106 error message "Invalid element 'image' in content of 'repeatingFrame'. expected elements [comments, geometryinfo...etc.....]".
    Any ideas?
    Thanks,
    Albert

    This is a bug, I have filed bug 2546295 to track this.
    Thanks for finding this.
    -Shaun

  • Error while running XML data definition

    Hi,
    Want to run report using XML Publisher, created one Data Definition using xml file,
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="EmpDT" description="Employee Details" Version="1.0">
    <parameters>
    <parameter name="p_DeptNo" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[ SELECT Empno, Ename,Job,Mgr,Hiredate,Deptno FROM Emp WHERE deptno = nvl(:p_DeptNo,deptno) ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_EMP" source="Q1">
    <element name="EMPLOYEE_NUMBER" value="Empno"/>
    <element name="NAME" value="Ename"/>
    <element name="JOB" value="Job"/>
    <element name="MANAGER" value="Mgr"/>
    <element name="HIREDATE" value="Hiredate"/>
    <element name="DEPTNO" value="Deptno"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Added concurrent program and trying to run request but it's getting completed with error, when i checked log file it was showing error like,
    XDO Data Engine Version No: 5.6.3
    Resp: 20420
    Org ID : 204
    Request ID: 5810677
    All Parameters: p_Dept_No=20
    Data Template Code: EMP_DET
    Data Template Application Short Name: AMW
    Debug Flag: N
    {p_Dept_No=20}
    Calling XDO Data Engine...
    [042811_124713802][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:231)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    can any one help me to solve this error? it's urgent.....
    reply awaited..
    Regards,
    Priyanka.

    HI,
    We are facing some issue with CXML. I have posted a new thread [cXML with SAP PI;. 
    The content of that thread is pasted below: You can give your solution in the above mentioned thread so that I can grant points.
    We need to use cXML for our project. Based on the thread ( [Error while uploading CXML data definition.; )
    the following steps need to be done with the cXML DTD.
    1.First Delete the Multiple Declaration of "Method .ANY"
    2.replace all "ds:" character with 'ds_'
    3.replace all "xades: " with 'xades_'
    4.replace all "xmlns" with 'attr_'
    5) After this use Altova to convert the DTD to XSD.
    First of all, we could not carry out the 4th point, as in that case Altova says that it is invalid, and it fails to get imported in PI as well.
    Without step 4 , if we import it as external definition, then there are certain attributes with type xml:lang coming in Red.
    Can anybody tell us on how to fix this.
    Thanks,
    Himadri

  • App Engine creates XML report but I cannot access it in Report Manager

    Here is my application engine code:
    import PSXP_RPTDEFNMANAGER:*;
    /* XML Publisher report using query data source */
    Local string &sRptDefn = "WAP_XML_JAS2";
    Local string &sLangCd = "ENG";
    Local date &AsOfDate = %Date;
    Local string &sOutFormat = "PDF";
    Local string &sPrcsServerName;
    Local string &sFolder = "XML PUBLISHER";
    Local number &prcsInstId;
    Local PSXP_RPTDEFNMANAGER:ReportDefn &oRptDefn;
    /* get report definition object */
    &oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn(&sRptDefn);
    &oRptDefn.Get();
    /*generate report*/
    &oRptDefn.ProcessReport("", &sLangCd, &AsOfDate, &sOutFormat);
    /*publish report */
    &oRptDefn.Publish(&sPrcsServerName, "", &sFolder, &prcsInstId);
    I see my report in Report Manager but it isn't a hyperlink that I can click on to then open the PDF. However if I run my XML report in the XML Scheduler, I see that report in Report Manager and it is a hyperlink.
    Any ideas? Did I miss a line of code i need to be able to access it? When I take the url for the one that works and change the Report ID for the one that doesn't work, I get kicked out of the web (says error has occurred and makes me sign in again).
    Thanks!
    Jennifer

    I was able to get the file to get the hyperlink to appear. I used the following code:
    import PSXP_RPTDEFNMANAGER:*;
    /* XML Publisher sample report using query data source */
    Local PSXP_RPTDEFNMANAGER:ReportDefn &oRptDefn;
    /* create report definition */
    &oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn("WAP_XML_JAS2");
    &oRptDefn.Get();
    /* specify output destination when output type is file */
    If %OutDestType = 2 Then /* file */
    &oRptDefn.OutDestination = %FilePath;
    End-If;
    /* process report */
    &oRptDefn.ProcessReport("", WC_WAPXML1_AET.LANGUAGE_CD, %Date, &oRptDefn.GetOutDestFormatString(%OutDestFormat));
    /* send output to destination */
    If %OutDestType = 6 Then /* Web */
    &oRptDefn.Publish("", "", "", WC_WAPXML1_AET.PROCESS_INSTANCE);
    Else
    If %OutDestType = 3 Then /* Printer */
    &oRptDefn.PrintOutput(%FilePath);
    End-If;
    End-If;
    Of course I had to have the following SQL statement in the first step to populate the state record:
    %Select(WC_WAPXML1_AET.OPRID, WC_WAPXML1_AET.RUN_CNTL_ID, WC_WAPXML1_AET.LANGUAGE_CD)
    SELECT OPRID
    , RUN_CNTL_ID
    , LANGUAGE_CD
    FROM %Table(PRCSRUNCNTL)
    WHERE OPRID = %OperatorId
    AND RUN_CNTL_ID = %RunControl
    Now I am able to get the report in report manager if it is run to the web, or as a file if that option is chosen on the run control.

  • Creating XML report using PL/SQL Stored Procedure

    Hi Friends,
    I am working on an xml report with the xml source as PL/SQL Stored Procedure.
    I am referring the exercise shown in the following link to understand the process:
       http://orclapp.blogspot.com/2012/02/developing-xml-publisher-report-using.html
    In the example shown in the above link I could not understand the following:
    1) In the following procedure, the out parameter 'retcode' is not used at all.
       What is the importance of this parameter.
        PROCEDURE REPORT (errbuf  OUT VARCHAR2, retcode  OUT VARCHAR2, p_product_id   IN     NUMBER)
    2)  After the xml data is prepared and put to 'l_result' Clob variable, the following
        Loop is executed. I am not able to appreciate why the following loop is required.
         LOOP
             EXIT WHEN l_length = l_retrieved;
             IF (l_length - l_retrieved) < 32000
             THEN
                SELECT SUBSTR (l_result, l_retrieved + 1) INTO l_xmlstr FROM DUAL;
                l_retrieved := l_length;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             ELSE
                SELECT SUBSTR (l_result, l_retrieved + 1, l_offset)
                  INTO l_xmlstr
                  FROM DUAL;
                l_retrieved := l_retrieved + l_offset;
                fnd_file.put_line (fnd_file.output, l_xmlstr);
             END IF;
         END LOOP;
    3) In the example it is not explained how the concurrent program gets the xml data?
       I assume it is written to a file using the following line of code:
        fnd_file.put_line (fnd_file.output, l_xmlstr);
       I would appreciate if anyone can throw some light into my above queries so that I can understand the process clearly.
    Thanks & Regards
    Hawker

    Hi 32000 in the code is a 'safe' size smaller than the max available 32767, the loops purpose is to move through the entire thing in chunks that will be manageable in the limits of the data type.
    Btw; if you are in Oracle e-business suite then you can also use Oracle reports very simply to create XML output.
    If you have reports developer all you need to do is put raw sql (without any 'artifice' to create XML) in the report SQL and then set the reports output to XML in the program definition in Oracle e-business.
    best regards,
    Robert.

  • Error opening  model XML report

    I am trying to create an XML Report for my model. When Microsoft Word 2003 attempts to open the report, the following error occurs:
    Unrecognized encode. Error location Line:1 column:60
    This is line 1 in the xml file: <?xml version = '1.0' encoding = 'UTF8' standalone = 'yes'?>
    Any thoughts as to why this error is occurring.
    Thanks, Ed

    Hi,
    Line should be:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    That's why you're getting the error.
    Have you changed encoding in Tools->Preferences->Environment ?
    Needles to ask, but you are using DM3 production version, right?

  • Error while creating a report in BI publisher

    Hi all ,
    I am getting an error while creating a new report in BI publisher .
    the error shown in console is --
    java.lang.SecurityException: /
    In the front end - i am getting
    Operation failed: d:/OracleBI/xmlp/XMLP/Users/~administrator/annapurna/test/test.xdo
    please suggest if anyone knows.

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • OBI 11G sUnquotedTableName.empty() error while creating a report

    hello guru's
    We have a problem when trying to build a report in OBI 11G. We have migrated an RPD from 10 to 11 and one 1 installation DEV all is OK, on TEST we get all kind of problems.
    One of the main issues is when trying to build a report and clicking on the + to expand a node of a dimension object we hget the sUnquotedTableName.empty() error
    When going to the logs I see the following details of the error.
    Does anyone have a clue and can help us out?
    Koen Verheyen
    ProblemhMessage Level 10
    Relationship ID 0:1
    Component OBIPS
    Module saw.httpserver.processrequest
    Host XXXXXXX
    Host IP Address XXXXXX
    Thread ID 2836335504
    ECID 0000Ijcd5UzFw000jzwkno1Clgr10001eK
    Message
    Assertion failure: !sUnquotedTableName.empty() at line 1936 of /scratch/aime1/adestore/views/aime1_dadvfa0138/bifndn/analytics_web/main/project/webutil/tablenameutils.cpp
    Supplemental Detail
    File:tablenameutils.cpp
    Line:1936
    Location:
    saw.httpserver.processrequest
    saw.rpc.server.responder
    saw.rpc.server
    saw.rpc.server.handleConnection
    saw.rpc.server.dispatch
    saw.threadpool
    saw.threads
    SessionID: 07vh3ae7bqk8nsnslpm32fhtcm9nsc5cd7va98q
    AuthProps: AuthSchema=UidPwd|PWD=******|UID=koen_verheyen|User=koen_verheyen|RunAs=koen_verheyen
    ecid: 0000Ijcd5UzFw000jzwkno1Clgr10001eK,0:1
    ThreadID: 2836335504
    HttpCommand: JSONRequestTableColumns
    RemoteIP: 10.10.1.15
    HttpArgs:

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • Image encoding in XML report definition

    For a number of reports I have the Report definition in XML-format. These files contain embedded images.
    How do I extract image-files from the xml's. It doesn't look like the strings for the images are not base16 or base64 encoded?

    Are you working with something like this?
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <report name="MODULE1" DTDVersion="9.0.2.0.10">
      <xmlSettings xmlTag="MODULE1" xmlPrologType="text">
      <![CDATA[<?xml version="1.0" encoding="&Encoding"?>]]>
      </xmlSettings>
      <data>
        <systemParameter name="MODE" initialValue="Default"/>
        <systemParameter name="ORIENTATION" initialValue="Default"/>
      </data>
      <layout>
      <section name="main">
        <body>
          <image name="B_1">
            <geometryInfo x="0.00000" y="0.00000" width="8.31250" height="6.25000"
            />
            <visualSettings fillPattern="transparent" fillBackgroundColor="black"
             linePattern="transparent" lineBackgroundColor="black"/>
            <points>
              <point x="0.00000" y="0.00000"/>
              <point x="8.31250" y="6.25000"/>
              <point x="0.00000" y="0.00000"/>
              <point x="8.31250" y="6.25000"/>
            </points>
            <binaryData encoding="hexidecimal" dataId="image.B_1">
    FF8DFF0E 0001A464 94640010 10100006 00060000 FFBD0048 0001B0C0 E0C0A001
    E0D0E021 11013181 82A18161 61811332 52D182A3 33D3C393 33837304 84C5E404
    44755473 8305D615 75F52676 8676E3D4 17970746 87C55676 36101121 21815181
    F2A1A1F2 36248324 36363636 36363636 36363636 36363636 36363636 36363636
    36363636 36363636 36363636 36363636 36363636 36363636 3636FF4C 102A0000
    D29681A8 4EB94557 F3D8D588 912F1FCE A2478278 4E157FE8 D3B2F257 A1906D14
    A809D102 9F646EFF 007CA66A B08C98EF 2E5344BB 4978EEAD 55093F75 6A4E8D29
    345ECCA0 4F537A2C 9CB424CB 8DDE0D7D 53D4D002 D3E32E6D 1942F70F 5D29740C
    7CF15A56 1A469E72 F449A09D 918DE7CF 5F9F877A 17106FEF 474C484E 6F41C067
    0D1338AF 1D06311A 4E6608F0 F4C40540 859FBFE7 579924E1 495C31FF 9D
            </binaryData>
          </image>
        </body>
      </section>
      </layout>
      <webSource>
      <![CDATA[<%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>
    <%@ page language="java" import="java.io.*" errorPage="/rwerror.jsp" session="false" %>
    <%@ page contentType="text/html;charset=ISO-8859-1" %>
    <!--
    <rw:report id="report">
    <rw:objects id="objects">
    </rw:objects>
    -->
    <html>
    <head>
    <meta name="GENERATOR" content="Oracle 9i Reports Developer"/>
    <title> Your Title </title>
    <rw:style id="yourStyle">
       <!-- Report Wizard inserts style link clause here -->
    </rw:style>
    </head>
    <body>
    <rw:dataArea id="yourDataArea">
       <!-- Report Wizard inserts the default jsp here -->
    </rw:dataArea>
    </body>
    </html>
    <!--
    </rw:report>
    -->
    ]]>
      </webSource>
      <reportPrivate versionFlags2="0" templateName="rwbeige"/>
      <reportWebSettings>
      <![CDATA[]]>
      </reportWebSettings>
    </report>Image data is encoded in hexadecimal format (base16) but the hex digits are reversed compared to the original byte sequence.
    For example, the first eight bytes in the source are :
    FFD8FFE0 00104A46but appears as FF8DFF0E 0001A464 in the XML file.
    You'll need a small program to read the file, extract the hex binary stream, process it and write back the data to a file.
    Example in PL/SQL (tested on db version 11.2.0.2) :
    DECLARE
    fid     utl_file.file_type;
    len     PLS_INTEGER := 1024;
    buf     RAW(512);
    module_name VARCHAR2(260) := 'MODULE1';
    dir_name    VARCHAR2(30) := 'TEST_DIR';
    BEGIN
      for r in (
        /* extract all image elements */
        select img_name
             , regexp_replace(img_data, '\s+') as img_data
        from xmltable('//body/image'
              passing xmltype(bfilename(dir_name, module_name||'.xml'), nls_charset_id('WE8MSWIN1252'))
              columns img_name varchar2(30) path '@name'
                    , img_data clob         path 'binaryData'
      loop
        /* output file */
        fid := utl_file.fopen(dir_name, module_name || '_' || r.img_name || '.jpg', 'wb', 32767);
        for i in 0..trunc((dbms_lob.getlength(r.img_data) - 1 )/len)
        loop
          /* read 1k of hex data and convert to binary */
          buf := hextoraw(
                   regexp_replace(
                     dbms_lob.substr(r.img_data, len, i*len + 1)
                   , '\2\1'
          utl_file.put_raw(fid, buf);
        end loop;
        utl_file.fclose(fid);
      end loop;
    END;
    /

  • Error while creating place holder definition in Site Studio using Jdev,UCM

    Hi,
    I am Using UCM and Jdev 11g.
    I was creating a website using Oracle® Fusion Middleware Developer's Guide for Site Studio for External Applications
    11g Release 1 (11.1.1).
    It worked fine till step 9 of 4.2 i.e i created till region template.
    But as i was creating place holder definition, i was trying to add region definition.
    This was the step where i got the error :
    Unable to retrieve search results. Error occurred while retrying the search query. Error occurred while processing. Unable to return results.
    Because of this i am not able to see any region definitions which i had created earlier. so i am not able to add any region definition to it.
    Please help me resolve this.

    HI Srinath,
    Thanks for the response.
    Please let me know how to addsystemdatabase tracing section on UCM .
    PFB the error which is coming in Jdev.
    oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve search results. Error occurred while processing. Unable to return results. Unable to create the result set for query 'SELECT Revisions.dID, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, dFileSize AS VaultFileSize, DocMeta.*, RevClasses.*
              FROM Revisions, DocMeta, Documents, RevClasses
              WHERE Revisions.dID=DocMeta.dID And Revisions.dID=Documents.dID And Revisions.dDocName = RevClasses.dDocName And dIsPrimary = 1 And dReleaseState IN ('Y', 'U', 'I') AND (((((((( xWebsiteObjectType LIKE '%Placeholder Definition%' ) AND ((( CONTAINS(xWebsites, 'SiteStudioDemo')> 0 ))))))))) AND ((((dSecurityGroup != 'SG_MO_Op' OR dSecurityGroup IS NULL))))) ORDER BY dInDate Desc'. ORA-00904: "CONTAINS": invalid identifier
    java.sql.SQLSyntaxErrorException: ORA-00904: "CONTAINS": invalid identifier.
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:135)
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:107)
         at oracle.stellent.wcm.core.idc.AbstractIdcApi.getResponseBinder(AbstractIdcApi.java:254)
         at oracle.stellent.wcm.core.idc.impl.SiteStudioApi.search(SiteStudioApi.java:216)
         at oracle.stellent.wcm.jdev.cis.PluginSiteStudioApi$1.run(PluginSiteStudioApi.java:127)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)

Maybe you are looking for

  • ITunes will not open (no error message and not running Norton 2005)

    I have recently upgraded to iTunes 7 and I now cannot get it to open after clicking on the icon. The iTunes.exe process comes up in the task manager briefly then disappears. There is NO accompanying error message and I am NOT running Norton Antivirus

  • I have lost the install disks that came with my 2011 macbook pro, do i need to pay for new disks?

    Hi Iv lost my install disks for my 2011 Macbook pro and i want to reformat my hard drive. Do i need to buy new discs? I cant find a download on the appstore so i guess i cant download it for free since i have already bought it. Any Ideas on how to re

  • Plz help me to configure web_util library

    I use 10g Oracle Developer Suite and on windows OS xp Service pack2 I want to use web_util library but I can't. I try it several times but I can't setup it on my PC , I configure my webforms.cfg, ,default.env and other files like oracle web_util docu

  • Export Data Sets as jpgs?

    Is there a way to export data sets as jpgs instead of psd? The whole point is fast file creation and having a folder full of new psds which I then have to convert to jpg is kinda a silly step. Am I missing something?

  • Aperture Selected Photos not Syncing

    Photos from Aperture will not sync to my iPhone! I have selected the projects and albums that I want, but when I do a sync of the iPhone, they do not transfer to the phone. Images from iPhoto will sync up, but not Aperture. What can I do? I have the