XmlSaveDom unresolved symbol, and special characters in output...

I have a couple of issues with XmlSaveDom() that I'm hoping someone can help with...
Firstly, under windows I'm having difficulty locating the library that it lives in. I'm linking to:
oraxml10.lib (from the 10.1.0.2 XDK, the latest version I can find) and oci.lib (from the 10.2 client)...but getting an unresolved symbol on XMLSaveDom().
I'm using the XDK because under windows I only have a client install which does not appear to have any of the XML headers or libraries in it. I'm using
10.1.0.2 because it's the latest version I can find to download from technet.
Secondly, under Solaris I'm just linking to libclntsh.so from 10.1.0.2 server home, and this resolves XMLSaveDom() ok. However when I use XMLSaveDom() I find unusual special characters in the output periodically:
ÿ¾Ý <SOME_TAG>some_value</SOME_TAG>
The strange character sequence is always the same.
Any help with either of these would be greatly appreciated.

The DOM is not required to escape the characters, so it is correct that you get the literal ampersand characters when you ask the DOM for a getNodeValue().
When an XML document is serialized -- using, for example, the XMLDocument.print() method -- it is when this external form of the document is produced that escaping occurs.
You can always call XMLNode.print() to serialize the value of a node and it's children into a PrintWriter that wraps a StringWriter to get the string equivalent of the properly escaped values.

Similar Messages

  • Where are the Symbols and special characters?

    Dears, 
    suddenly I the special characters had been crushed and no more exist.
    please check the image for more clarification.. What is the reason, how can I fix this issue???
    Mohammad Yousri - http://mohammad-yousri.blogspot.com

    what font do you need, you may need to install Windows fresh and next time, do not mess with the fonts
    I have a lot of fonts installed that came with various Adobe products.
    Corsair Carbide 300R with window
    Corsair TX850V2 70A@12V
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 6600 Ti FTW Signature 2(Gk104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Enterprise x64
    Microsoft Wireless Desktop 2000
    Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • Remove spaces and special characters from a form field

    Hi,
    I am tragically new to all of this, but am trying to create a form in Adobe Acrobat 9.  I am trying to use a Custom Format script to take inputs in a form field and automatically remove spaces and special characters (hyphens specifically).  For example, if a user inputs "RAN-99 06" I would like it to change to "RAN9906."  I found this script that will not let users input special characters
    if (!event.willCommit) {
        event.change = event.change.replace(/[\$#~%\*\*\^\-\(\)\+=\[\]\{\};\"\<\>\?\|\\\!]/g, "");
    And that's okay, but I can't figure out how to disallow spaces.  Also, the perference would be for a script to allow users to input the data as they like, but to clean it up after they leave the text field.
    Thanks in advance!

    From the description, I assume that the script is currently in the Keystroke event. In fact, that would be a most logical way to have it; simply ignore anything unwanted when entered.
    If you want to allow the user to enter anything, but "clean it up" when done, you would place your code in the Validate event. You will have to adjust your Regular Expression so that it works globally, but that's the whole difference. This will change the value.
    Note that you can also enter the code into the Format event. However, that would only change the visual representation of the value, but internally, the value would remain as entered.
    Hope this can help.
    Max Wyss.

  • Is it possible to search for strings containing spaces and special characters?

    In our RoboHelp project, there are figures with text labels such as Figure 1, Figure 3-2, etc.
    When I search for "Figure 3" I get all pages containing "Figure" and "3", even if I surround it in quotes.  Similarly, searching for "3-2" treats the '-' character as a space and searches for all pages containing '3' or '2'.
    Is there a way to search for strings containing spaces and special characters?

    In that case I think the answer is no if you are using the standard search engine. However I believe that Zoom Search does allow this type of searching. Check out this link for further information.
    http://www.grainge.org/pages/authoring/zoomsearch/zoomsearch.htm
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Validating text field based on the combination of alphabets and special characters

    Hi Everyone,
    I am Using Oracle Apex 4.2 Version . I want to do validation for a textbox where it should accept all alphabets,numbers and special characters (abc12#$ , zbc, 123, nd12, 23_6!, @%77).
    But it should NOT accept all special characters only.(@#$#!)
    Pelase do help if any knows this.
    Thanks in advance,
    Nikhil.

    Hi Nikhil,
    Here is one way that could work.
    CREATE TABLE t (x VARCHAR2 (30));
    INSERT ALL
    INTO t
    VALUES ('XYZ123')
    INTO t
    VALUES ('XYZ 123')
    INTO t
    VALUES ('xyz 123')
    INTO t
    VALUES ('X1Y2Z3')
    INTO t
    VALUES ('123123')
    INTO t
    VALUES ('abc12#$')
    INTO t
    VALUES ('@%77')
    INTO t
    VALUES ('!@#$')
    INTO t
    VALUES ('~%^&*()_+')
    INTO t
    VALUES ('23_6!')
    INTO t
    VALUES ('zbc')
    INTO t
    VALUES ('123*456')
    SELECT * FROM DUAL;
    SELECT x
    FROM   t
    WHERE  ( Regexp_like (x, '[[:alpha:]]') -- include alpha characters
              OR Regexp_like (x, '[[:digit:]]') -- include numbers
              OR Regexp_like (x, '[[:punct:]]') ) -- include special character
           AND ( Regexp_like (x, '^[^%]*$');
                 AND Regexp_like (x, '^[^*]*$') ) -- exlude special characters % and *
    Jeff

  • PDFs using BI publisher and special characters - pound sterling

    I have a table with character strings which include the £ pound sterling sign.
    If I create an xml file from the table using the escape sequence for the pound sign & # 163; and load it into BI publisher, the pdf renders correctly using an rtf template.
    If I include the pound sign in the rtf template itself the pdf renders correctly and if I use a report query in Apex based on the table, and an rtf template then the pdf renders correctly.
    However there is a limit to the number of columns that can be sent to BI via the report query - we have found this to be 119 columns. For more than this we have been using a stored function to return xml data as a clob and use the clob to generate the pdf with the rtf report layout (using get_print_document). This method works fine but the pound sign is not rendered correctly (appears as "?").
    The NLS_LANG is set to english_united kingdom in the database and in BI publisher. The locale in bi publisher is en_GB. BI will create the pdf correctly with the pound sign if using a standard xml file (with escape seq for pound) so I am sure it is not a language issue in BI/Apex.
    Any ampersands in the xml cause the pdf to fail completely and we cannot represent special characters with a sequence containing the ampersand for this reason. I have tried "& # 163;" and "& amp;#163;" and variations and have also tried using CDATA, none of which gives the correct pdf output. I have also tried to switch the encoding to Windows-1252 or ISO-8859-1 in the header of the xml (xml generated by stored procedure so can control this), but this gives incorrect results too.
    We also need to send other special characters to BI via get_print_document and apex (bullet points, ampersands, dashes ) but cannot use the escape sequences because of the ampersand problem.
    Has anyone had any success with this?
    Is there any plan ( for a future version of Apex) to increase the number of columns that can be used in report query using Apex/BI publisher?
    Thanks
    Kathryn

    Hi Kathryn
    I've had exactly the same problem as you've mentioned.
    Firstly, I've also found that I cannot select more than 119 columns from a view using a report query and have opted to the use the stored function to return the xml (same as you).
    After conducting a lot of searching and experimenting i've found that you can use the following escape characters in REPLACE in your stored function:-
    '£' can be replaced with CHR(194)||CHR(163)
    '%' can be replaced with '%25'
    '&' can be replaced with '%26amp;'
    I found the above escape characters from the xml file or by opening the xml file in Wordpad. Therefore I'm sure you'll be able to find the escape characters for the other symbols that you mentioned i.e. bullet points, dashes etc.
    I hope this has helped. Good luck and let me know if you get any developments with the limitation on the number of columns that can be selected from a report query as this would save a lot of trouble (as I'm sure you're aware).
    Thanks
    Natalie

  • A problem with regex and special characters

    Hello,
    I am using regex in my application but i have a problem with special characters. Here is the explanation of what i am doing:
    I have a certain piece of text that i want to parse and replace every occurrence of a given word with some sort of a tag which have the word found inside it.
    so that: go Going Go to gOschool by bus and to learn and to play GO Go
    and i need to replace the word "go" (case insensitive and only at word boundaries) should be:
    *<start>go<end> Going <start>Go<end> to gOschool by bus and to learn and to play <start>GO<end> <start>Go<end>*
    Consider the following code and call the method with the parameter"go?"
    The Matcher finds a weird match at the word "G?oing" with only the letter G !!!
    It also ignores the "?" in the pattern completely.
    Any clue of what is happening i would be very grateful...
    private static String replaceMatches(String strToFind)
            String resultArticle="";
            String article = " "+"go? G?oing Go? to gOschool by bus and to learn and to play GO? Go?*"+" ";
            strToFind = "\\b"+ strToFind +"\\b";
            String linkPart1= "<start>";
            String linkPart2 = "<end>";
            Pattern p = null;
            try{
                p=Pattern.compile(strToFind, Pattern.CASE_INSENSITIVE);
            Matcher m = p.matcher(article);
            String[] res = p.split(article);
            int i=0;
            //System.out.println("result of split: "+res.length );
            while(m.find())
                resultArticle+=(res[i]+" ");
                resultArticle+=linkPart1;
                resultArticle+=m.group().trim();
                resultArticle+=(linkPart2+" ");
                i++;
            if(i<res.length)
                resultArticle+=res;
    //System.out.println("result of match: " + i);
    System.out.println(article);
    //System.out.println(resultArticle.trim()+scripts);
    catch(PatternSyntaxException ex){}
    return resultArticle.trim();
    }Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    tarek.mamdouh wrote:
    because split will not work when trying to replace the first word if i don't append a space at the beginning.Split doesn't work anyway. And my question wasn't why do you add spaces (which you really don't need to do), but why do you do them with " " + "go" rather than just " go"
    replaceAll will replace all the occurrences in the text with only one word. without taking into consideration the case of the word i need to replace.No.
    >
    If i use replacaAll(article, strToFind) the output will be:
    <start>go?<end> G?oing <start>go?<end> to gOschool by bus and to learn and to play <start>go?<end> <start>go?<end>No. I showed you the actual output of an actual replaceAll.
    which is not what i want as i need to keep the case of the words i am replacingThe replaceAll I showed you does that.
    Please study the examples given and read the docs carefully rather than making claims based on inaccurate guesses.

  • Preserving XML "special" characters in output

    I've got a valid XML document that may contain special characters, such as ampersands. These characters are properly escaped in the document (i.e., + is represented as amp; ). When I parse this document (using either the Java V2 parser or the PL/SQL parser) and then retrieve the values from a DOM using getNodeValue, I get the un-escaped version () and I need the escaped version (+amp;) so that I can store it in a database and load it back into a DOM at a later date.
    What am I missing here? Is there a property on the parser/DOM that I can set so that the characters are not translated on output.
    Thanks
    mark
    Note: I've used + in the above example instead of the ampersand character because of the vagaries of my browser, but the character in the XML document is a proper ampersand!

    The DOM is not required to escape the characters, so it is correct that you get the literal ampersand characters when you ask the DOM for a getNodeValue().
    When an XML document is serialized -- using, for example, the XMLDocument.print() method -- it is when this external form of the document is produced that escaping occurs.
    You can always call XMLNode.print() to serialize the value of a node and it's children into a PrintWriter that wraps a StringWriter to get the string equivalent of the properly escaped values.

  • Special Characters messingup output

    When i spool the output, when we have special characters it taking more space in the spool file and layout is messed-u. Looks like its a multi byte issue
    set escape \
    set echo off
    set pagesize 0
    set newpage none
    set pause off
    set heading off
    set feedback off
    set space 0
    set term off
    set linesize 2000
    set wrap off
    set tab off
    col code format a2
    col type format a4
    col long_name format a62
    col ratio format 9.99
    spool test.dat
    select rpad(code,2) code,
    rpad(type,4) type,
    rpad(trim(long_name),60) long_name,
    'A',
    RPAD(to_char(nvl(ratio,'0'),'FM0.00'),4) ratio
    from test;
    spool off;
    output...
    col1 c2 c3
    DD0100UUUUUUIOPAst PLUS A 2.75
    DD0100VT BNMKJHGR RR® A 5.18 **
    DD0000VT YUJFHT A 6.30
    EE0100ERTUIOP RYUt A 0.54
    FF00005 QQQQ QQQQ America A 0.00

    Take a look of Re: NLS_LANG=AMERICAN_AMERICA.UTF8
    make sure you set correct NLS_LANG
    read the NLS_LANG FAQ article

  • Help with RTF and special characters

    Hi,
    I'm curently working on apex 4.1 and i want to generate an .rtf file which i fill with the information coming from a form.
    I am doing so without any problems when it comes to normal Americam letters.
    I face a problem when i wan't to dynamicly change my subsctitution phrases in the .rtf template with czech characters (á,é...), because i can't just replace the word with these characters in the rtf because it expects to receive some escape formats and not the letter itself.
    Can anybody help me figure this one out?
    I've tried creating a library of the symbols and their asci code and replacing them in the file but they don't always work. I even saved a .doc file in .rtf and copied the code from that one in my .rtf and it doesn\t work. In the original file i have some characters in my file i have other characters eventhough the code is the same...
    I'm puzzled by this one and i don't know what to do.
    Thank you,
    Alex.

    Hi,
    Yes i wan't to remove information from the clob.
    I have an .xml template and if i don't have any updates on some chapters i wan't to remove them.
    Until now i have tried to replace the strings that i don't need using the replace function, but sometimes the string that i wan't to replace is longer than 32726 chars.
    I have comented the xml clob with tags like "<!-- [[$$1.0]] start -->" and "<!-- [[$$1.0]] end -->" and using the instring and substring functions i get the piece of information i wan't to remove.
    "select substr(r.template_content,instr(r.template_content,'<!-- [[$$1.0]] start -->') , instr(r.template_content,'<!-- [[$$1.0]] end -->')-instr(r.template_content,'<!-- [[$$1.0]] start -->'))
    from rtf_templates r
    where r.template_id=3"
    and then i use " clob := replace(clob,get_substr)"
    usualy it works but sometimes the length of the subtr is larger than 32767 chars and that's when i have problems.
    Any ideeas on how to remove the chunks of info from the clob?
    Thank you.
    Alex.
    I have changed the get_substr select because i wrote it wrong :) now it's ok
    Edited by: Banu Alexandru on 06.06.2012 08:44

  • Apple, please address this issue!!! Searching and special characters

    I've found at least one other topic here regarding this issue, but Apple has yet to address it, or even confirm that it's in fact an issue.
    A big portion of my library consists of international artists, many who have special/nonstandard characters in their names (e.g. "Tiësto"). In previous versions of iTunes, I could search for "Tiesto" (note the absence of the umlaut over the 'e') and all of those tracks would appear. However, after upgrading to iTunes 9, I'm forced to search for "Tiësto" in order to view those tracks.
    Thinking about this issue, it would seem that this is normal behavior, as an artist named "Pàz" isn't necessarily the same as "Paz". But the reality is that NO ONE wants to take the time to search for the alt-code of a special character, and then type it in. Additionally, most people (including me) have a number of reasons for not renaming the artist to conform to standard characters.
    Clearly, something has changed between iTunes 8 and 9. And it's incredibly frustrating. A big chunk of my library is virtually inaccessible to me now, unless I search for terms that don't contain special characters.
    Apple, **PLEASE** address this issue. I'm not the only one with the problem and it's become a huge pain in my side to have to work around this.

    I don't see how it's sloppy or why there should be any reason that it shouldn't have given you both.
    Even putting aside that gracenote and others don't have consistent spelling in their databases, that when you download from the iTunes store, who knows what you're going to get, so that one's library could be all over the place and one might not even notice it, accents and other markings don't change the fact that a u is the same letter as ú.
    Yes, it's pronounced different. Yes, the difference is very important. But it's the same base letter. And even if it's considered a different letter in another language, in English we have 26 letters and all the accents and tildes and umlauts don't make them a new letter, which is what we're talking about here.
    It's a huge pain that looking for an album that has "Zürich" in the field and I type in "Zurich" I can't find it. I have to think about if I really do have that album, maybe I deleted it by accident, etc. And then I think to type "rich" and then it pops up.
    That's way too many steps. I don't know keyboard shortcuts and I don't want to learn them. In English, it should be letters, not characters, that count.

  • ESB or BPEL file adapter and special characters

    Hi,
    We have a scenario where we import rows from .csv file through an ESB project into a database. We use the file adapter for this. There appears to be a problem with special characters (like é). Both in the ESB control (with variable tracking) and in the database, they appear as upside down questionmarks (¿). I've tried doing the same with a BPEL project (file adapter as client PL) and in the BPEL console, I also see strange characters instead of the expected special characters (diamond shaped characters, like ♦ to be precise).
    I can't find anything about character sets of character set conversions in the documentation. What am I missing?
    Regards,
    Arjan

    see
    http://download-west.oracle.com/docs/cd/B31017_01/inte
    grate.1013/b28994/nfb.htm#CIAEFBHHI've looked into the properties mentioned. They are set when you go through the wizard. Everything is set to UTF-8, which should provide me with all special characters I need.
    BPEL does the exact same thing, so I'm starting to believe that the problem really is with the file adapter.
    Regards,
    Arjan

  • Multi languages and Special Characters in PI

    Hi gurus
    Different languages data will be coming from the source xml file and PI has to handle that data and send it to ECC  system throguh IDoc Receiver Adapter.
    .our scenario is MDM to R/3. Pi file adapter is picking the xml file from source directory path.
    the file encoding we have used is "ISo-8859" file type as "TEXT", we have also tried checking by giving the file name as"Binary", but we are still facing the issue.
    The special characters which are showing up are Å#ó
    i was trying to look at the below mentoined blog , but that blog was not availiale in sdn.
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420 [original link is broken]
    thanx in advance

    > i tiried as you suggested, but i do not have the access for the RFC destination in R/3 server.
    I mean the RFC destination in PI, not in R/3
    > i have a doubt here
    > In the xml file received by PI, the entire data will be in English, only for two particular fields the data will be in Foreign Languages(russian,greek or any other langauge).The fields are maintained under International Version Segement.
    You have to split the XML, create different IDocs by language and choose an IDoc receiver channel with tied RFC logon language 
    see SAP note 745030
    The customer should consider to use a unicode R/3 system when he wants to use different language descriptions.
    In a non-unicode system the texts from other languages cannot be read, for example the greek characters cannot be displayed when logging on in russian. In a unicode system there is no restriction.

  • Have a problem in Numbers with entering data directly into a cell when a table reaches a certain size and special characters are used?

    I am creating a list of words with special characters in some of them. I get to a point where I cannot enter data directly into the cell. I have to use the data entry bar at the top in the toolbar. Any solutions available?
    This is the table I am creating...
    From row 25 on, I am only able to enter data into the cell through the toolbar at the top and not directly into the cell itself. I believe that this problem originates from the special characters I have inserted in the previous records because if I do not use special characters, then the spreadsheet acts flawlessly. Have there been issues in Numbers with data entry, the size of a table, and using special characters?

    I would try removing the rows with "special" characters one at a time to see which one is causing the problem

  • Accents and special characters - how to manage

    Hi,
    please could you explain how it is possible to handle accents and other special characters in Business Objects XI 3.1 (Universes and Reports)? Which are the parameters/settings I need to configure for
    Database (ORACLE)
    Application Server (AIX)
    Universe
    WebI
    I want to display italian accents ò à è ù ì and some special characters like '@'. Even if they are correctly stored in DB, in WebI I retrieve characters without accent and a '?' for '@'
    Any suggest?
    Then, one more thing ...I noticed that creating a new report WebI, characters with accents appear without accents, instead if I create a report with Rich Client and I publish it, then accents are correctly displayed also opening the report with Web Intelligence. I have the application server on AIX, but Rich Client runs on WIN Server ...
    Thanks a lot
    Edited by: Tube Girl on Mar 22, 2010 4:25 PM

    Hi,
    I had almost the same problem (only different language) and manged to solve it after "google-ing" these links:
    http://www.forumtopics.com/busobj/viewtopic.php?p=658760&sid=7fd77de133ee32213d987cb1550ae568
    https://oraclespin.wordpress.com/2008/05/01/setting-nls_lang-for-oracle/
    http://docs.oracle.com/html/B13804_02/gblsupp.htm
    FYI, system is AIX 5.3 with Oracle 10g.
    I've edited .profile for boxi user and added appropriate export of NLS_LANG variable, then restarted BO and now reports are correct.
    I guess you should try adding this line to .profile of your boxi user
    export NLS_LANG=ITALIAN_ITALY.WE8MSWIN1252
    then restart and see results.
    Hope this helps,
    regards!

Maybe you are looking for

  • MacBook Pro Display Rectangles on the screen

    My Macbook Pro Displays Diagonal Rectangles across the screen. These rectangles also appear when I attach it to an external monitor. Also, when this problem started it will only boot in safe mode. Here is a picture of the problem: Any help would be a

  • There are no photos or music in my apple tv

    There are no photos, no music in my apple tv I've selected the "Photos" tab for the aTV device, checked the "Sync photos from iPhoto" box, then chosen "Selected albums" and checked the box for one of the albums that are displayed. When the "Apply" bu

  • Some emacs questions

    Hi, all. Recently I became somewhat enthusiastic about the idea of using emacs as a DE. Basically, my reasons are that if you consider the extensions (or modes) for emacs to be apps, they have the following advantages: -they are all integrated from t

  • Aperture 3.0.1 - Adjustments missing in Adjustment Tab

    Under my Adjustment tab I have a histogram, Presets, Adjustments (brushes) and thats it. No white balance, no exposure ..... everything is missing. Anyone have a clue what could be going on? Tried rebooting but no change. Everything was fine until I

  • My airport card in imac has stopped working. can i add a wireless dongle to achieve wireless access?

    My airport card in i mac has failed and rather than replace it can I add a wireless dongle? just need to access wireless router in home.