Xml publisher reprot - special character problem

I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error
A semi colon character was expected. Error processing resource.
Below is the code
CREATE OR REPLACE PACKAGE BODY XML_RPT AS
    FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
    l_ret_str VARCHAR2(5000);
    BEGIN
        l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
        RETURN l_ret_str;
    END XML_TAG;
     PROCEDURE VENDOR(errbuf          OUT  VARCHAR2,
                     retcode         OUT  NUMBER) IS
    CURSOR inv_Cur  IS
        select pv.vendor_name          
        from po_vendors pv;        
     xmldata            varchar2(1000);
     l_sqlstr           varchar2(1000);
     l_seqnum           varchar2(3);
     l_vendor_name      varchar2(100);
    BEGIN
      xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
      xmldata :=xmldata|| '<VENDOR>';
      xmldata := xmldata||' <LIST_VENDOR>';
      fnd_file.put_line(fnd_file.output,xmldata);    
      FOR rpt_rec IN inv_Cur LOOP
          xmldata := '<VENDOR_REC>';
          l_vendor_name := replace(rpt_rec.VENDOR_NAME,'&','&amp');         
          xmldata := xmldata || XXMCG_XML_TAG('VENDOR_NAME',L_VENDOR_NAME);
          xmldata :=xmldata|| '</VENDOR_REC>';
          fnd_file.put_line(fnd_file.output,xmldata);
      END LOOP;
      xmldata := '</LIST_VENDOR>';
      xmldata := xmldata||'</VENDOR>';
     fnd_file.put_line(fnd_file.output,xmldata);
    EXCEPTION
    WHEN OTHERS THEN
         fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
    END VENDOR;
END XML_RPT;can any one advice.

Duplicate post ? xml publisher report problem
Srini

Similar Messages

  • Is XML Publisher causing shared memory problem..?

    Hi Experts,
    Since this week, many of the Requisition/PO are erroring out with the below errors or similar to these errors:
    - ORA-04031: unable to allocate 15504 bytes of shared memorny ("sharedpool","PO_REQAPPROVAL_INIT1APPS","PL/SQL MPCODE","BAMIMA: Bam Buffer")
    ORA-06508: PL/SQL: could not find program unit being called.
    -Error Name WFENG_COMMIT_INSIDE
    3146: Commit happened in activity/function
    'CREATE_AND_APPROVE_DOC:LAUNCH_PO_APPROVAL/PO_AUTOCREATE_DOC.LAUNCH_PO_APPROVAL'
    Process Error: ORA-06508: PL/SQL: could not find program unit being called
    Few days back we were getting heap memory error for one of the XML Publisher report.
    I heard that XML Publisher requires lot of memory for sources/features,So I want to know whether XML Publisher can be one of the cause for memory problem to occur or this shared memory is not related with XML Publisher sources at all.
    Please advice.
    Many thanks..
    Suman
    Edited by: suman.g on 25-Nov-2009 04:03

    Hi Robert,
    Thanks for your quick reply...
    Apps version: 11.5.10.2
    database version: 9.2.0.8.0
    As I am a beginner in this so dont know much about this.. Can you please guide me on this.
    DBAs has increased the shared memory and problem has resolved but here I am more concrened whether the XML Publisher was or can be one od the cause for shared memory problem. Is there any way to check that or this occurs randomly and we can not check this.
    Please advice something.

  • & special character problem with parseXML() and parseEscapedXML().

    Hi,
    I'm having a problem to parse messages that has '&' character. According to metalink note 1340195.1 I tried to use parseXML instead of parseEscapedXML, still had same problem. Then added the following scope that replaces "&" with "& a m p ; a m p" (without spaces). Tried to use the java code as mentioned in the metalink note...
        <scope name="Replace_spec_char_scope">
          <faultHandlers>
            <catchAll>
              <sequence name="Error_Sequence_9_spec_char">
                <assign name="Assign_Error_Message_9">
                  <copy>
                    <from expression="ora:getInstanceId()"/>
                    <to variable="Error_Handler_Invoke_initiate_InputVariable"
                        part="payload"
                        query="/ns8:ErrorHandlerProcessRequest/ns8:instanceId"/>
                  </copy>
                  <copy>
                    <from expression="string('XXOGL.B106.001')"/>
                    <to variable="Error_Handler_Invoke_initiate_InputVariable"
                        part="payload"
                        query="/ns8:ErrorHandlerProcessRequest/ns8:errorCode"/>
                  </copy>
                  <copy>
                    <from expression="ora:getProcessId()"/>
                    <to variable="Error_Handler_Invoke_initiate_InputVariable"
                        part="payload"
                        query="/ns8:ErrorHandlerProcessRequest/ns8:process"/>
                  </copy>
                  <copy>
                    <from expression="string('Receive_Kund')"/>
                    <to variable="Error_Handler_Invoke_initiate_InputVariable"
                        part="payload"
                        query="/ns8:ErrorHandlerProcessRequest/ns8:activity"/>
                  </copy>
                  <copy>
                    <from expression="ora:getFaultAsString()"/>
                    <to variable="Error_Handler_Invoke_initiate_InputVariable"
                        part="payload"
                        query="/ns8:ErrorHandlerProcessRequest/ns8:errorPayload"/>
                  </copy>
                  <copy>
                    <from expression="bpws:getVariableData('Receive_Kund_Dequeue_InputVariable','Message','/ns6:Message/Kund')"/>
                    <to variable="Error_Handler_Invoke_initiate_InputVariable"
                        part="payload"
                        query="/ns8:ErrorHandlerProcessRequest/ns8:inputPayload"/>
                  </copy>
                </assign>
                <bpelx:exec name="Log_Error_9" language="java" version="1.5">
                  <![CDATA[OGLLogger logger = new OGLLogger("B106.bpel");                    
    try{                      
        Element errorDetails= (Element)getVariableData("Error_Handler_Invoke_initiate_InputVariable","payload","/ns8:ErrorHandlerProcessRequest/ns8:errorPayload");             
        logger.error("XXOGL.B106.001","InstanceID: "+getInstanceId()+" Error details: "+errorDetails.getFirstChild().getNodeValue());            
    }catch(BPELFault e){            
        addAuditTrailEntry(e);            
        logger.fatal("Failed to log error details for message XXOGL.B106.001",e);      
    }]]>
                </bpelx:exec>
                <terminate name="Terminate_1"/>
              </sequence>
            </catchAll>
          </faultHandlers>
          <bpelx:exec name="Replace_spec_char" language="java" version="1.5">
            <![CDATA[java.lang.String temp = (String) getVariableData("Receive_Kund_Dequeue_InputVariable");
          OGLLogger logger = new OGLLogger("B106.bpel");
    try{
    temp = temp.replaceAll("&", "&amp;amp");
    setVariableData("Receive_Kund_Dequeue_InputVariable", temp);
    }catch(BPELFault e){             
        addAuditTrailEntry(e);             
        logger.fatal("Failed to replace special character ",e);       
    }]]>
          </bpelx:exec>
        </scope>Now getting this error.
    <scope name="Replace_spec_char_scope">
    Replace_spec_char(faulted)
    [2012/05/18 11:16:28] "{http://schemas.oracle.com/bpel/extension}runtimeFault" has been thrown. less
    -<runtimeFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>java.lang.ClassCastException
    </code>
    </part>
    -<part name="summary">
    <summary>com.collaxa.cube.engine.types.bpel.CXMessageVariable
    </summary>
    </part>
    -<part name="detail">
    <detail>
    java.lang.ClassCastException: com.collaxa.cube.engine.types.bpel.CXMessageVariable
         at bpel.xxogl_b106_kundinterface.ExecLetBxExe5.execute(ExecLetBxExe5.java:197)
         at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:50)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:200)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:4174)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1680)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:238)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:335)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:6285)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1111)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:650)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:381)
         at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:705)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:148)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    </detail>
    </part>
    </runtimeFault>
    <catchAll>
    <sequence>
    Assign_Error_Message_9
    [2012/05/18 11:16:28] Updated variable "Error_Handler_Invoke_initiate_InputVariable" More...
    [2012/05/18 11:16:28] Updated variable "Error_Handler_Invoke_initiate_InputVariable" More...
    [2012/05/18 11:16:28] Updated variable "Error_Handler_Invoke_initiate_InputVariable" More...
    [2012/05/18 11:16:28] Updated variable "Error_Handler_Invoke_initiate_InputVariable" More...
    [2012/05/18 11:16:28] Updated variable "Error_Handler_Invoke_initiate_InputVariable" More...
    [2012/05/18 11:16:28] Updated variable "Error_Handler_Invoke_initiate_InputVariable" More...
    Log_Error_9
    [2012/05/18 11:16:28] bpelx:exec executed
    Terminate_1
    [2012/05/18 11:16:28] Instance terminated. Don't really understand what's wrong... Am I doing it incorrectly? Can anybody pls help!!
    Thanks in advance.
    Lisan

    Try to use parameters instead hardcoding values in the queries:
    select * from user where lower(username)=?;
    and don't forget to lower the value from java side as well ;-)

  • Parsing xml that contains special character

    this is my xml file.
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <grid_assessment>
         <chart>
              <range>5</range>
              <sharing_charging>
                   <score>3</score>
                   <label><![CDATA[SHARING &#38; CHARGING POLICIES]]></label>
    this is my java code.
              SAXParser parser = new SAXParser();
              parser.setContentHandler(this);
              parser.setErrorHandler(this);
              try
                   fis = new FileInputStream(xmlFile);
              catch(IOException ioe)
                   System.out.println( ioe.getMessage() );
              InputSource inputSource = new InputSource((InputStream)fis);
              try
                   parser.parse(inputSource);
              catch(SAXException saxe)
                   System.out.println( saxe.getMessage() );
              catch(IOException ioe)
                   System.out.println(ioe.getMessage());
    when i parse the xml file, i got an error message like this.
    org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.Stopping after fatal error: The entity name must immediately follow the '&' in the entity reference.
    is there anybody who knows how to parse the xml file that contais special character?
    i tried "&#38;" instead of "&". but it didn't work...
    please help...
    thanks in advance...

    this is my java code.
              SAXParser parser = new SAXParser();If that is javax.xml.parsers.SAXParser then your code won't compile; i suspect you might be using some non-standard parser?
              parser.setContentHandler(this);
              parser.setErrorHandler(this);These methods are deprecated.
    when i parse the xml file, i got an error message like this.
    org.xml.sax.SAXParseException: The entity name must
    immediately follow the '&' in the entity
    reference.Stopping after fatal error: The entity name
    must immediately follow the '&' in the entity
    reference.I don't; maybe it's your parser. What parser are you using, and what version?
    is there anybody who knows how to parse the xml file
    that contais special character?There is nothing more you need to do; the codeimport javax.xml.parsers.*;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.*;
    import java.io.*;
    public class CeasarKim1Parser extends DefaultHandler {
      public static void main (String[] args) {
        try {
          SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
          FileInputStream fis = null;
          fis = new FileInputStream(args[0]);
          InputSource inputSource = new InputSource((InputStream)fis);
          parser.parse(inputSource, new CeasarKim1Parser () );
        } catch(SAXException saxe) {
          saxe.printStackTrace();
        } catch(IOException ioe) {
          ioe.printStackTrace();
        } catch (ParserConfigurationException pce) {
          pce.printStackTrace();
      public void characters(char[] ch, int start, int length) {
        System.out.println(new String(ch, start, length));
    // similar implementations of the other content handler methods
    }which is basically a compilable and non-deprecated version of yours, with the file<?xml version="1.0" encoding="ISO-8859-1" ?>
    <grid_assessment>
      <chart>
        <range>5</range>
        <sharing_charging>
          <score>3</score>
          <label><![CDATA[SHARING & CHARGING POLICIES]]></label>
        </sharing_charging>
      </chart>
    </grid_assessment>does not generate any exceptions and parses the CDATA section correctly. That is using 1.4.1 and the default org.apache.crimson.jaxp.SAXParserImpl parser.
    Pete

  • XML Publisher Reprot Changing Default Output

    Is there anyway we can set default Preview mode from PDF to excel so that while submitting XML report for excel output we need not to go to option screen to set Format as excel. This is really cumbersome for users, I want Default output must be EXCEL instead of PDF.
    Thanks

    Please see these docs.
    How to Set the Default Output Type for XML Publisher Templates. [ID 784122.1]
    How is Default Output Type Determined for Reports Submitted Using XML [ID 888972.1]
    Default Output Format Not Changed After Patch 5612820 [ID 942493.1]
    Default Layout Format for XML Publisher Concurrent Request Is Always PDF [ID 401328.1]
    Unable To Default The Output Format In The Bi Publisher Template [ID 835609.1]
    Thanks,
    Hussein

  • Special Character Problem In MS Excel

    Hi All,
    I have a field like Ship to Name and value of that field is 'Fire Systems US - Northford ' .When we download this field into Microsoft excel we are getting like Fire Systems US âu20ACu201C Northford . Hear special character (âu20ACu201C) is updating insted of Hypen(-).
    How can we download the the same ship to name with out any special character in Microsoft excel.
    Please help me.
    Thanks,
    Venkat

    Hi Venkat,
    If you can verify that whether the special character is from SAP or excel. This you need to verify by de-bugging in SAP and then by opening the downloaded file in notepad.
    Please refer the link below for details:
    Link: [Re: FM: GUI_DOWNLOAD not picking initial zero]
    Regards,
    Pranav.

  • INVOIC96a to EDI-XML by Conversion Agent fails, Special Character Problem

    Hi,
    with your help in another thread, I recognized that the EDIFACT INVIOC96a Parser of the Itemfield Conversion Agent has a Problem with special characters.
    So like described in this blog SAP XI supports EDIFACT i created a Library Project and tried to test the conversion.
    It is only working when no special characters are in the EDI file. If there a special characters insight the file, conversion agent say's no error, but the xml file is corrupted. In fact you can't display it in IE or by opening it with XMLPad it says "Not well formed".
    Hope that someone has an idea for this problem
    Thank you
    regards

    Hi,
    I have already faced the same problem when using Itemfield Conversion Agent.
    I solved the same with change properties of the project.
    In conversion agent project :
    opne the menu :  Project --> Properties --> Encoding --> Change the output Encoding Schema (None).
    use None in that schema in place of XML.
    Your problem can be solved.
    Regards,
    Sandeep Kaushik

  • SAX Parser and special character problem

    Hi,
    Could anyone help with the following problem?
    Background:
    1. Using a SAX Parser (Oracle Implementation) to read XML from a CLOB, convert this XML to another format to be inserted in the database.
    2. Due to performance issues we parse the input stream from the CLOB.
    3. For same reason, we are not using XSL.
    This is the problem we face:
    1. Values of some of the tags in the XML have special characters (Ex: &, <, >).
    2. While using the SAX Parser, the element handler function for the SAX Parser is called by the frame work with the value of these tags broken up with each of these characters being treated as a tag delimiter.
    Ex: <Description>SomeText_A & SomeText_B</Description>
    is treated as SomeText_A in first call to the handler; SomeText_B in the second call.
    The handler function does not get to see the "&" character.
    Thus, the final conversion is
    Say, <Description> is to be converted to <FreeText>
    we, get <FreeText>SomeText_A</FreeText>
    <FreeText>SomeText_B</FreeText>
    We tried using &; but it then breaks it up into SomeText_A, & and SomeText_B.
    How can we get the whole value for the <Description> tag in the characters() function in the SAXParser so that we can convert it to <FreeText>SomeText_A & SomeText_B</FreeText>.
    Thanks in advance..
    Chirdeep.

    We already tried that..looks like the line where I mentioned that it converted the entity referece characters to an ampersand..
    "We tried using <entity reference for &> but it then breaks it up into SomeText_A, & and SomeText_B."
    null

  • XML Publisher Report - Invalid character was  found in text content

    Hi Techies,
    Version Background
    Oracle apps : 11.5.10
    Oracle 9i Database
    Oracle Reports 6i
    I created a XML output type concurrent program and attached a data definition & template to it.
    My program completed with status "Warning".
    The Error is : An invalid character was found in text content.
    Then i downloaded the XML and opened it in notepad++. I found there are 2 weird characters like this ( , )
    FYI, It is a non-Ascii character so not able to paste it in this forum text field. the characters looks like double sided arrow and a forward arrow.
    I also tried loading the XML locally from RTF Template. Again it throws me same error
    Error No: -1072896760: An invalid character was found in text content.
    Additional Information:
    Data is coming from table "gl_alloc_batches.description"
    Encoding Type: UTF-8
    Please Help me how to handle such a non-ascii characters
    Edited by: 868779 on Feb 22, 2012 10:48 PM

    Hi,
    Please find below sql which will find the special characters in column of table,
    SET serveroutput ON size 1000000
    DECLARE
    PROCEDURE gooey (v_table VARCHAR2, v_column VARCHAR2)
    IS
    TYPE t_id IS TABLE OF NUMBER;
    TYPE t_dump IS TABLE OF VARCHAR2 (20000);
    TYPE t_data IS TABLE OF VARCHAR2 (20000);
    l_id t_id;
    l_data t_data;
    l_dump t_dump;
    CURSOR a
    IS
    SELECT DISTINCT column_name
    FROM dba_tab_columns
    WHERE table_name = v_table
    AND data_type = 'VARCHAR2'
    AND column_name NOT IN ('CUSTOMER_KEY', 'ADDRESS_KEY');
    BEGIN
    FOR x IN a
    LOOP
    l_id := NULL;
    l_data := NULL;
    l_dump := NULL;
    EXECUTE IMMEDIATE 'SELECT '
    || v_column
    || ', '
    || x.column_name
    || ', '
    || 'dump('
    || x.column_name
    || ')'
    || ' FROM '
    || v_table
    || ' WHERE RTRIM((LTRIM(REPLACE(TRANSLATE('
    || x.column_name
    || ',''ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*()_+
    -=,!\`~{}./?:";''''[ ]'',''A''), ''A'', '''')))) IS NOT NULL'
    BULK COLLECT INTO l_id, l_data, l_dump;
    IF l_id IS NOT NULL
    THEN
    FOR k IN 1 .. l_id.COUNT
    LOOP
    DBMS_OUTPUT.put_line ( v_table
    || ' - '
    || x.column_name
    || ' - '
    || TO_CHAR (l_id (k), '999999999999')
    DBMS_OUTPUT.put_line (l_data (k));
    DBMS_OUTPUT.put_line (l_dump (k));
    DBMS_OUTPUT.put_line ('*********************');
    END LOOP;
    END IF;
    END LOOP;
    END gooey;
    BEGIN
    gooey ('GL_ALLOC_BATCHES', 'DESCRIPTION');
    END;
    Thanks,
    Amogh

  • HTTP Test Tool Umlaut (Special Character) Problem iso-8859-1 utf-8

    Hi folks,
    I habe a Problem in an HTTP to IDOC Scenario. The configuration works and when I test it, by using the Test Message Tool from the Runtime Workbench i get the following problem:
    I post an IDOC XML Charset iso-8859-1 when it arrive as IDoc in business system german umlauts would be displayd very cryptic
    ä = ä
    ü = ü
    and so on ....
    When I post the XML with UTF-8 charset it works, what can i do to handle this ?
    Thank you

    Hi,
    maybe this document is helpful:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
    and also this thread:
    Character translation error in Mapping Lookup API (RFC)
    Regards
    Patrick

  • Special character problem in XSLT

    When using escaped output charcters like:
    < &; > &quote; etc, the lt and amp just don't seem to be handled correctly. Result for the above code is:
    &#60; &#38; > "Instead of the < and & you would expect, you get the ascii codes.
    What do I have to do to get < and & in my output?
    null

    hi,
       [Problem in transforming XML to string using XSLT;
    Chk the above link.might solve ur issue.
    Regards.
    Siddhesh Naik

  • Security - Query - XML Publisher

    Hello,
    I need some help concerning the security for queries and XML Publisher.
    I am on an HR peoplesoft, tools8.49.
    When I am with user PS I see my query in query manager and my XML Publisher report.
    My query is Public and my report definition for XML Publisher too.
    My problem is that I am not able to publish my query to see it in query viewer and I suppose (perhaps I'm wrong) that's why when I'm connecting with another user which have access to the security query tree to see this query, I am not able to see my XML Publisher report definition.
    Could you tell me where I should search to publish this query in query viewer ? Or is it something special to do to see my XML Publisher report definition ?
    Any ideas are welcome.
    Thanks in advance for your help.

    Problem solved : I have forgotten to add my role in Reporting Tools > XML Publisher > Setup > Report Category.

  • How to see Greek characters inside a PDF report (made with XML Publisher)

    Hi,
    I just patched my e Business Suite (ver. 11.5.9) in order to use XML Publisher 5.6.3.
    It works fine, but I have a big problem when I want to see Greek characters inside my report; instead to see the Greek characters I see only '?????'
    I tried to add some font under the XML Publisher Administrator responsibility following the Doc ID: 373377.1 "How To Install a Font Using XML Publisher Administrator", but my problem remains: I don't see my Greek characters
    Do I need to add any other fonts on the file system ? and where ? (under which path), or I set something at the XML Publisher Administrator responsibility level (under the Administration link) ?
    Any help will be appreciated, because it's very urgent to know how to fix this problem.
    Thanks in advance
    Alex

    Alex,
    Please verify the value of $AF_CLASSPATH variable and make sure that JRE_TOP/lib/fonts is part of this env variable (in addition to $CLASSPATH).
    Note: 353164.1 - Chinese Characters Appear as Question Marks(?) When Using a Data Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=353164.1
    Note: 399518.1 - Arabic Characters Appear As Question Marks
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=399518.1

  • Turkish Character and Check Box "?" Problem in XML Publisher

    In aplication and XML Publisher I must use Turkish Characters e.g. 'ş','ı','ğ','ç','ö' and check boxes. In html preview there is no problem, I can see all of them correctly. Hovewer in PDF preview in XML Publisher and also PDF output in Oracle Application all these Turkish Characters and Check Boxes looks like question mark (?). How can I solve this problem ?
    Thanks for helps....

    Hi Tim,
    Related to Special Italian characters, when I try with "Courier New" font with static data,the XML Preview display those characters.But when those chars come from XML source file,they get vanished.I tried two cases:
    Case1 ) IN EBS,I have attached courbi.ttf(font file) to the template manager(followed as per instructions in Font mapping section in User Guide).
    When I try running the report ,its getting completed with Warning.
    Case 2) I have also modified xdo.cfg ( as per Doc ID:400755.1 www.metalink.oracle.com)-
    In both cases ,I am not acheving the desired results.
    Please let me know where I am going wrong.
    Thanks and Regards,
    Kaveri

  • XML special character/encoding problem

    Hi
    I would like to store XML in a MSSQL database into a column with the datatype xml.
    It seems like the xml datatype in an xMII transaction allways is stored with encoding type UTF-8
    and the MSSQL xml datatype is UTF-16. This gives me some problem with special characters when inserting into the MSSQL database (in the example below is the MSSQL datatype xml):
    INSERT INTO
         VALUES
    The error returned is this:
    "com.microsoft.sqlserver.jdbc.SQLServerException: XML parsing: line 1, character 62, illegal xml character"
    If I replace the 'ä' with a normal 'a' the command executes ok.
    I am currently using a workaround that looks like this, when setting the parameter in my transaction:
    stringreplace(Local.test, " encoding=" & doublequote & "UTF-8" & doublequote, "")
    But I was hoping I could get rid of the stringreplace.
    Is there a solution / recommended way of doing this?
    Best Regards
    Simon Bruun
    Edited by: Simon Bruun on Mar 4, 2011 10:43 AM

    I solved this. I convert to Unicode UTF-8

Maybe you are looking for