Problem with special characters (&) when printing using XSL-FO ...

Hello everybody !!
I have a problem when I want to print a Report with a link to a URL where the character "&" is present :
I want to have something like : src="file:///...webfile?param1=val1*+_&_+*param2=val2"
In my XSL-FO file, I wrote : src="file:///...webfile?param1=<xsl:value-of select="IDARTICLE"/>*+_<xsl:text>&amp;</xsl:text>_+*param2=<xsl:value-of select="MARQUE"/>"
When I try this only with FOP, it works. However, when I upload the XSL-FO file to ApEx, it says my PDF file is corrupted when I want to open it.
What do I have to put the '&' symbol when I want to print the Report ??
Could anyone help me ??
Thanks by advance,
Pierre C.

I believe this relates to something I have actually found in my own testing.
It is probably due to the Template not being URLEncoded prior to transmission to the FOP processor.
I actually determined that special URL characters, like '+' and '&', are lost on transmission because the type of submission is POST with x-www-form-urlencoded, but the fields are not actually encoded entirely. The XML Element contents are encoded prior to transmission in order to preserve data.
Work around would be to URLEncode the template as it sits in the WWV_FLOW_REPORT_LAYOUTS. I have been able to successfully get around the problem by doing that.
-Richard
The post I describe the problem: Reports Layout->storing custom report layouts that aren't FOP/RTF
The post under the enhancement request thread: Re: Enhancement Request Thread : Post 3.1

Similar Messages

  • Problems with special characters when exporting to LDAP

    Hi,
    Im using standard report RPLDAP_EXTRACT to export data to LDAP. The problem is that the special characters (in this case polish letters) do not save correctly (we get for instance '?' instead of normal letter)
    I tried switching the configuration of the RFC destination (used: 'found communication Code Page option') but I get a message: "Your selection is restricted" and cannot make any changes.
    Can anyone please help in this matter?
    Regards,
    Hubert

    1) Your database should be able to handle and properly store all the supported charactersets needed. With UTF you are in the clear regarding storing all that kind off idfferent characters
    See http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    2) The recieving party (the cleint software) hopefully has a character set that supports all the characters that are offered by the database and can encode them. If not then you get toe upside down question markt or dark squares or something alike. If the client software is a browser, for instance windows internet explorer, then most encoding settings are buildin and you only have to switch. Sometimes you will have to add extra language support on Windows Internet Explorer. This behaviour is also the same on thick clients. Oracle by default sets these parameters in the registry, but on windows the can be overrulled on several levels like on system level, user level (start --> settings -- control panel --> system --> advanced tab --> environment settings) and or during execution via a app. configuration file or an export of the system variable on the command prompt... A unified business approach for how to handle this is needed otherwise you will have too look for these kinds off issues always all over the place (on windows and/or linux etc).
    Have a look at Mark's example of how things work regarding UTF and the like on the FAQ URL on this forum and the URL as show above. If completely lost, you will have to read up on it in the Oracel globalization / NLS manuals and see what is appropriate / can be done in your environment.

  • Problem with special characters when calling web services via ISG

    Hi all,
    I have a problem when trying to send or retrieve strings containing some special characters via Integrated SOA Gateway.
    For example, when I call a PL/SQL function via ISG that returns a string containing curling single and double quote characters, these are not represented by valid XML character entity references. So when trying to open the response XML (returned by ISG) in a browser, I get a parser error...
    Has anybody had a similar experience with ISG? How can I resolve that - is it an ISG bug?
    Thanks
    Carolin

    XML Parsing Error: not well-formed
    Location: file:///C:/Users/sanders/Desktop/Text3.xml
    Line Number 4734, Column 54: <DESCRIPTION>Overhead Track Lighting 4?</DESCRIPTION>Do you get the same error if you change the description from "Overhead Track Lighting 4?" to "Overhead Track Lighting 4"?
    Do you have any invalid characters?
    BI Publisher Reports End With Error When There Is An Ampersand Character ( & ) On The Xml Data File [ID 1081175.1]
    Journal Entries Report Doesn'T Yield Output: Java Heap Error [ID 1115663.1]
    Thanks,
    Hussein

  • Problems with special characters like "u00F6" "u00E4" "u00FC"

    Hi,
    we currently face some major problems with special characters like "ö" "ä" "ü". First I thought it is a SP02 specific problem but it still doesn't work with SP03.
    When I start an import the import manager shows correct converted value. "ö"s "ä"s "ü"s are displayed correctly. But after I've done the import I look into the Data manager and I see instead of these characters charcaters like "&#776;". (note: the character should show a little square box - but the forum cannot desplay it)
    How can I solve this problem?
    Regards
    Nico

    Hi Nico
      Just try it out the following steps, hope it solves ur issue.
    <b>To set one or more values back to their original values:</b>
    1. In the Import Manager Source Values grid, select the values that you want to set back to their original values.
    2. Right-click on one of the values and choose Set to Original Value from the context menu, or choose Values > Apply Value Conversion Filter > Set to Original Value from the main menu.
    3. MDME sets each value back to its original value, which appears in black in the Source Values grid.
    <b>NOTE : You can use the Set to Original Value filter only at the value-level and not at the field level.</b>
    thanks
    Alexander

  • Problems with special characters in InputStream or XPath

    Hello everyone,
    I am having problems with special characters such as ", ', - and so on, everything becomes ? (questionmark). (Not with special nordic characthers (å,æ,ø) though.)
    The encoding of the XML is UTF-8, and the server that holds the webservice is setting encoding to UTF-8 also, so no conflict there.
    What I have done is something like this:
    {code}
    String url = "http://www.formula1.com/rss/news/latest.rss"; // This is not the feed I use, it is a custom XML document
    InputSource is = new InputSource(url);
    DocumentBuilderFactory fct = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = fct.newDocumentBuilder();
    Document doc = builder.parse(is);
    Element rootElement = doc.getDocumentElement();
    XPathFactory factory = XPathFactory.newInstance();
    XPath xPath = factory.newXPath();
    out.print(xPath.evaluate("/rss/channel/title", rootElement)); // The xml is not a RSS feed, this is just an example.
    {code}
    Please let me know what I am doing wrong, or give me a hint of how to solve this in another way.
    Best regards,
    G.Hansen
    Edited by: G.Hansen on Mar 24, 2009 2:39 AM

    Hello, thanks for you reply. I had to rewrite your code a little, and I think that your code would not really compile, if you tried yourself :-)
    I ended up with something like this:
    our environment is running in 1.4 mode, so I could not use the for-each loop :-(
    public String printEntities(String s) {
         char[] sArray = s.toCharArray();
         StringBuffer sb = new StringBuffer();
           for (int i = 0; i < sArray.length; i++) {
             if (sArray[i] > 256)
                  sb.append("&#x" + Integer.toHexString(sArray) + ";");
         } else
              sb.append(sArray[i]);
         return sb.toString();

  • Problems with color matching when printing...

         Hi, I work for a small family business in the P.O.P. industry.  We currently have myself and one other designer, we both take illustrator files that have come from the graphic design firm that we contract with and get them ready to print on our Vutek QS3200.  However ever since acquiring the printer we have begun to run into problems with the colors when printing.  When the files are exported off of my computer, I use either .tif or .pdf files, they print as they should, the colors seem to match the proof and everything goes smoothly.  However when the other designer exports a file, he tends to do mainly pdfs, the colors tend to be extremely different from where we want them.  Also we will get very strange results, such as yesterday he kept getting a faint yellow 1/2" border around his prints.  After I believe 3+ hours of him trying, I was given the original CD and instructed to try.  After 15-20 minutes of making the changes that we needed to make (adding a new price point) and ripping, mine printed perfectly. 
         We both use Macs, both have CS3 Design standard, only differences between the computers are mine is newer and a bit faster, and I'm running OS 10.5.6 and he has 10.4.  He has also at some point loaded various color profiles, whereas my CS package is just whatever the default is when I loaded it.  When we were being trained he grabbed the color profile off of the Colorburst RIP server and loaded onto his computer, plus I believe he has a couple for freelancing purposes on there as well.  My thought is that these profiles are somehow corrupting the files that are going through that computer, but I honestly am lost with it at the moment.  He believes the problem lies within the fact that he does not have the newer OS, I honestly cannot see that as having any effect on this at all.  I was wondering if anyone has run into any similar problems, or if anyone might have any advice on this issue?  I would really like to be able to solve this, as I was hired to do mainly structural design for the P.O.P. and I'm having to put in a lot of overtime to get my work done along with the additional work that I'm having to do.
    Thanks for your time

    I've got a few years experience calibrating large format printers.  First, the Yellow sounds like a file problem.  I used to work with two workstations, one PC ( RIP station ), and one Mac ( file prep station ).  I tend to agree with you in that the OS is probably not the problem.  But, any Colorburst profiles should remain in the RIP, not in the originator application.  My workflow consisted of creating EPS files that were based on established color settings in their given applications ( i.e., Illustrator, Photoshop ) which were interpreted by the RIP which had it's own calibrated profile ( perhaps more than one based on how many different substrates were being used ).  Your partner may be complicating things by incorporating a RIP profile prematurely.  If there are deviations big enough to be noticed, there has to be something in the application color settings that is causing some type of corruption.  This could lead back to the operating system, but I would think it lies somewhere in Bridge or the application color settings.  Start there.  You should seriously consider implementing a calibration system if you do not have one already.  Another slight possibility is the driver's ability to interpret files coming out of Leopard vs. files coming out of Tiger.  It may benefit you both to be in the same operating system dynamics, using the same driver versions and RIP profiles.  At the very least, match everything that is currently working successfully and put them on both machines.  If there is still a noticeable problem in color matching, then something is seriously wrong and you should call in a prepress profiling expert.  Hope this helps.

  • Problems with special characters with XML/PDF printing

    Hi,
    Our setup:
    Apex Listener 2.0.5
    Oracle DB 11G
    Weblogic
    Apex 4.2.2
    Various recent major browsers
    We used this blog post so we could do some PDF printing with APEX Listener:
    http://marcsewtz.blogspot.be/2013/04/pdf-printing-with-oracle-application.html
    The problem is special characters. For example the "&" sign comes out as "%26amp;" when we export an XML.
    Could anyone provide some insights of what we can do to fix this?
    Regards,
    Joni

    This is a known bug.
    https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=957905848396285&id=18282188&_afrWindowMode=0&_adf.ctrl-state=168vq5zhn3_233
    The bug 18282188 has been fixed in Apex 4.2.5 version.
    Upgrade the Apex version to 4.2.5 when it is available.

  • Problem with Special characters(Russian) using DynamicConfiguration

    Hi,
    I have a mail-RFC scenario where I am using adapter-specific message attributes and DynamicConfiguration to retrieve mail subject.It works fine.
    We have a problem when the subject contains Russian special characters.In this case,whole mail subject gets converted into an irrelevant string.
    Can anyone please suggest how to handle special characters in DynamicConfiguration using ASMA .
    Thanks a lot for your help in advance.
    Regards,
    Shweta

    Your UDF could be something like this:
    String output = null;
    String strs[] = input.split("\\?");
    String charset = strs[1];
    String encoding = null;
    switch (strs[2].charAt(0)) {
         case 'Q' :
              encoding = "quoted-printable";
              break;
         case 'B' :
              encoding = "base64";
              break;
         default :
              break;
    String subject = strs[3];
    try {
         InputStream is = new ByteArrayInputStream(subject.getBytes());
         InputStream dis = MimeUtility.decode(is, encoding);
         ByteArrayOutputStream out = new ByteArrayOutputStream();
         byte[] b = new byte[4096];
         for (int n;(n = dis.read(b)) != -1;) {
              out.write(b, 0, n);
         output = out.toString(charset);
    } catch (Exception e) {
         //implement catch...
    return output;
    where input is the input string.
    For test purposes, use
    String input = "=?KOI8-R?B?Rnc6IDEwMjEwMTMwLzA1MTEwNi/wMDE3NDkzLw==?=";
    or
    String input = "=?utf-8?Q?Auftragsbest=C3=A4tigung?=";
    Regs,
    Henrique.

  • Problem with special characteres

    Hi. I have a problem with java. I�m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (�, �, �, etc) appear like a �?� (question mark). Any tips, please?
    Thanks in advance

    Andy2008 wrote:
    Hi. I have a problem with java. I&#146;m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (&#145;, �, �, etc) appear like a &#147;?&#148; (question mark). Any tips, please?First step: read [this excellent introduction into Unicode|http://www.joelonsoftware.com/articles/Unicode.html], it will give you the basics you need to solve this problem.
    How do you input and output those characters? Simply print them to the console? Or write them to a HTML file (since you mention &<something>; notation)?
    "?" is normally the result when you convert a String (which is always in UTF-16 encoding in Java) to an encoding that can't represent your characters (ASCII for example).

  • Problems with special characters in JSP app

    Hello!
    I am working for a JSP application which uses special characters.
    The database used is a Novell MySQL version, it is fine.
    I use Tomcat, Apache.
    I do not think that the versions are important.
    ON NT:
    The application works fine with special characters.
    Obs: I tried only with Tomcat; I didn't use Apache.
    ON NOVELL:
    If I try to insert some special characters,
    they arrive just fine into the database.
    The problem is when I want to display them.
    I tried with jsp directive to set the charset,
    or with HTML meta tag - no result al all.
    Everytime I use the same work station, and the same browser to do the tests.
    Please help with any ideas.
    Another question, maybe relayed:
    Can I set Tomcat so that when it creates the servlets it uses a custom charset I can indicate?
    THANK YOU!

    The characters I want to use are french characters, e-acute, etc.
    I take the data with request.getParameter, POST method, etc.

  • Problems with Special Characters on Exchange Email

    Hello:
    People I have a issue with our Corporate Email on my Iphone. We use Exchange 2003 and we have users with special characters on his emails address.
    I receive fine the email, just appear a errors on the display name. The issue is when I try to reply thie email. A error message popup said:
    Invalid Address
    "email with special characters" does not appear to be a valid email address. Do you want to send it anyway?
    If I press Yes, Iphone try to send the message But I receive another error message:
    Cannot send Mail
    An error ocurred while delivering this message.
    Any Help or Idea?
    Here My Email Configuration
    Email = Email
    Server = Server IP
    Domain = Work Domain Name
    Username = my user id
    Password = my password
    Description = Work
    Use SSL = ON
    S/Mime = Off

    When I Said "we have users with special characters on his emails address" its mean users with ñ,ó, ú, Ñ on his emails address. 
    When I said "just appear a errors on the display name" I mean characters like Âñ¡
    Thanks

  • Problem with specials characters like '€' or 'œ'

    Hello,
    I'm having troubles with specials characters such as '€' or 'œ'.
    I use an application connected to a 9.2.0.7.0 database on a w2003 server.
    Characterset of the database is FRENCH_FRANCE.WE8MSWIN1252.
    In my workstation the value of [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG] is also FRENCH_FRANCE.WE8MSWIN1252.
    But when I type such specials characters through the application, they are replaced by '¿' in the database. The datatype of this column is varchar2.
    Can anyone help me ?
    thanks
    Antoine
    Edited by: Antoine.M on Aug 19, 2009 12:45 PM

    Is your application a java application ? if so, pl see MOS Doc 365874.1 (Euro Symbol/Trademark Symbol is Garbled When JDBC Thin Driver Retrieves Data from a Database with Characterset WE8MSWIN1252)
    HTH
    Srini

  • Problem when printing " " using XSL

    I have a problem when printing the "<" .It is always printed as
    "&#60;" in the HTML file.
    I wish to transfer a Javascript text . I tried
    using CDATA . This is an extract of a portion in my XSL File
    which uses CDATA.
    <![CDATA[
    function createLOV(lov_name, array_touse) {
    document.writeln("<select name='" + lov_name + "'>");
    for (var i=0; i < array_touse.length; i++) {
    document.writeln("<option value='" + array_touse[i] + "'>" +
    array_touse[i] + "</option>");
    }]]>
    And this is what the HTML file contains
    function createLOV(lov_name, array_touse) {
    document.writeln("&#60;select name='" + lov_name + "'>");
    for (var i=0; i &#60; array_touse.length; i++) {
    document.writeln("&#60;option value='" + array_touse[i] + "'>" +
    array_touse[i] + "&#60;/option>"); }
    document.writeln("&#60;/select>");}
    I tried using the <xsl:text disable-output-escaping="yes"> but in
    vain.
    If i use < or &x3C; , i still get &#60; in the HTML file.
    How do I solve this problem. I'm using XSQL Servlet with JSDK2.1
    both running on Sun Solaris2.6 .
    Thanks in advance,
    Suresh
    null

    Suresh Seetharam (guest) wrote:
    : I have a problem when printing the "<" .It is always printed
    as
    : "&#60;" in the HTML file.
    : I wish to transfer a Javascript text . I tried
    : using CDATA . This is an extract of a portion in my XSL File
    : which uses CDATA.
    : <![CDATA[
    : function createLOV(lov_name, array_touse) {
    : document.writeln("<select name='" + lov_name + "'>");
    : for (var i=0; i < array_touse.length; i++) {
    : document.writeln("<option value='" + array_touse[i] + "'>" +
    : array_touse[i] + "</option>");
    : }]]>
    : And this is what the HTML file contains
    : function createLOV(lov_name, array_touse) {
    : document.writeln("&#60;select name='" + lov_name + "'>");
    : for (var i=0; i &#60; array_touse.length; i++) {
    : document.writeln("&#60;option value='" + array_touse[i] + "'>"
    +
    : array_touse[i] + "&#60;/option>"); }
    : document.writeln("&#60;/select>");}
    : I tried using the <xsl:text disable-output-escaping="yes"> but
    in
    : vain.
    : If i use < or &x3C; , i still get &#60; in the HTML file.
    : How do I solve this problem. I'm using XSQL Servlet with
    JSDK2.1
    : both running on Sun Solaris2.6 .
    : Thanks in advance,
    : Suresh
    Currently, the parser does not support the xsl:output and
    output-escaping mechanisms. We plan on adding support for this
    in a future release.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Problems with special characters displaying in PDF when exported.

    I have a very frustrating question. I've never had any problems with font and pdfs before switching to the operating system for Mac. Of course, they have Helvetica Neue pre-installed as a system font. The problem is, Bold doesn't work and is not an option. I've tried using Helvetica Neue (TT) but special character and punctuation disappear completely.
    See below:
    MЧnica PОrez
    Unfortunately, that is supposed to say Monica Perez. There are supposed to be marks above the "o" and "e". Can anyone help me?

    Try copying your T1 Helvetica Neue font into the Applications/Indesign/Fonts folder. This will give you the complete family in Indesign overriding the system TT.

  • Dtterm and xterm - problems with special characters

    I run SGD 4.2 on a Solaris 8 box with 50 users globally. This installation replaces a 3.42 installation. Clients are all Solaris 8.
    Currently my most nagging problem is that I have "special characters" (at least on a german keyboard layout). @, �, `, ' are not working in xterm or dtterm, while they did on 3.42.
    As we have users connecting from all over the world, I have no idea how to fix this, so every user has "his/her own" keyboard setup.
    So far I tried with and without "Lock keymap" in Object Manager | Attributes | Advanced
    and "Use LANG variable" vs. "Use client's input locale" in Array Manager | X Protocol Engine | Keyboard Map.
    I'm quite new new to SDG and look for an Amin training currently, but this is too urgent to wait for this. Anyone an idea, please?

    Hi,
    Did you get an answer after 3 years?? :-)
    Whe do have the same problem.
    SUSE 10.1 sp1
    SSGD portal.
    Only when we connect thru de portal whe have this problem.
    When we connect straight to a terminal server and we open Winword than it ok, but when we open thru the terminal server de portal and logon to it, than then keyboard setting is changed.
    Any help??
    Best regards Rob de Bruin

Maybe you are looking for

  • I can no longer change the icon of the startup disc... What gives?

    I used to be able to get info, select the icon and paste a new icon on it, but now it won't let me. This works fine/as usual with my other mounted drives. Any ideas? thanks for your help...

  • NVIDIA Optimus Display Driver for Windows 7 (64 Bit) interfering with Microsoft Outlook 2013

    Lenovo Community Can't explain it nor do I understand it but it appears that the latest NVIDIA Optimus Display Drivers (Version 9.18.13.1270 / 8.15.10.2725, dated 05 Jan 2014) is interfering with Microsoft Outlook 2013. For a week I have been working

  • How to fix a crooked lid?

    Unfortunately, due to student life, the lid of my new unibody MBP has been knocked crooked. Everything works perfectly, the issue is purely cosmetic. Does anyone know if it is feasible to take the back panel off and attempt to push the hinge back in

  • 4 page form letter setup, best way

    Is the best way to set up a report that has 4 different pages to insert 4 detail sections. Page 1 would be Section 3 (details a), page 2 would be detail b, etc. We have no need for headers or footers. Then to get page 1 to page break at the end of th

  • Guide Oracle Reports Developer 10g: Build Reports

    Hello ... I'm doing the guide Oracle Reports Developer 10g: Build Reports and practices begin cuando not find files like ("p2q2.jsp, p2q3.rdf, p2q4.jsp, p2q5.jsp, p2q6.rdf, p2q7.rdf") Can someone help me and tell me where I can find them ... Sorry fo