oraext:getContentAsString() function do not escape ' > ' tag

Hi all

I have the current project where I have to leave all the tags an input XML field. I used the function getContentAsString() on BPEL to perform this transformation. As a test, I sent the entry:

< test > < / test >

And as a response received:

& lt; tests > & lt; / test >



Now, what I'm wondering, is why the ' > ' tag has not escaped? I will have to replace by ' & gt; ' manually? Or am I missing something (maybe another function)?


Thank you


brunno Attorre

Hi Brunno,

Ampersand '&' and '<" must="" bes="" escaped,="" but="" escaping="" "="">' is optional according to the W3C specifications... getContentAsString is implemented accordingly...

W3C card readings...

"[[The ampersand (and) and the angle bracket (<) must="" not="" appear="" in="" their="" literal="" form,="" except="" when="" used="" as="" markup="" delimiters,="" or="" within="" a="" comment,="" a="" processing="" instruction,="" or="" a="" cdata="" section.="" if="" they="" are="" needed="" elsewhere,="" they="" must="" be="" escaped="" using="" either="" numeric="" character="" references="" or="" the="" strings="" "="" &="" "="" and="" "="" <="" "="" respectively.="" the="" right="" angle="" bracket="" (="">) peut be represented using the string" > "and must, for compatibility, to escape using" > "or a character reference when it appears in the string"]] > "in content, when that string is not marking the end of a CDATA section.

http://www.w3.org/TR/REC-XML/#syntax

So, maybe you don't need even to escape ' > ', but if you really need, I guess you need to add code for it you... You try to use the function replace...

http://www.w3schools.com/XPath/xpath_functions.asp#string

See you soon,.

Vlad

Tags: Fusion Middleware

Similar Questions

  • I want to record with &lt; alt &gt; &lt; s &gt; in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    Question
    I want to record with < alt > < s > in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    edit, escaped mod < s > in order to avoid the line through question

    A web page can be defined a "accesskey" for an item. Unlike IE/Chrome/Safari, who use the Alt key only, Firefox requires pressing Alt and Shift to activate the element. In other words, try

    ALT + SHIFT + S

    and see if it works.

    I don't know of any way to change this so that the change is not necessary. There may be an add-on?

  • After printing a page, when I try to print again it says print function is not available

    I have a Canon MG6250 connected via USB. I run Windows 7 with all latest updates and the version of Firefox is currently 38.0.5. Since some time, probably about a year, starting after a new version of Firefox, I think, I have problems printing. (Sorry I don't remember which version it started happening.) Unless I'm waiting for the printer to prepare completely, although the print dialogue box appears and I click on print, often (not always) nothing happens. If I try to print again I get a pop-up window indicating that the print function is not available. If I then close Firefox and try to restart it, it tells me Firefox is already running. I have to put an end to its process through the Task Manager. Often, I want to print from several tabs already charges with the pages to print. Even if I managed to get the first tab print, somewhere along the line the same thing often happens: before I printed the tab page from the last I get the box pop up again and I have to end the process of Firefox to make it work again. I can generally prevent his happening if I monitor the activity of the CPU of my computer (via System Mechanic) and make sure that all activity ceased after printing a tab until I try to print on the other. This makes printing of desperately slow Firefox!

    I don't have any problems printing of any other application.

    Note that relatively recently, due to a failure of the system disk, I reinstalled Windows and all my software. I was hoping that a by-product of doing this can solve the problem with printing from Firefox, but it didn't.

    I would be very grateful for a solution to this problem.

    I continued to use IE with no problems printing. But then after Firefox 3.0 came out I gave it another go - and the problem seems to have been resolved. No matter how much time I spend in another tab and select print, it behaves as it should. Thank God - Firefox is so much better than IE.

  • Satellite Pro 6000; sleep function does not work after upgrade W98 SE to XP

    I bought a windows XP cd and installed on W98 on my Satellite Pro 6000. The sleep function does not work now. I probably need a software of Toshiba. What do I need? Where can I find? What is the order of installation?

    Hello

    All drivers Windows XP Home edition, tools and utilities you can find on Toshiba support page under http://eu.computers.toshiba-europe.com > support & downloads. You have old laptop model and because of this type of product, you choose option ARCHIVE.

    Order of the facilities is as follows:
    -Windows XP
    -Display driver
    -Audio driver
    Toshiba - common modules
    -SD Card host driver
    -SD Card Driver
    -BlueTooth Stack
    BlueTooth - Easy Connect
    -Mouse driver
    -Modem driver
    -LAN driver included with Windows XP
    -Infrared driver
    -Toshiba Power Saver
    Utilities - Toshiba
    Toshiba - post Mobile
    -Toshiba Console worm.
    -Toshiba Hotkey for display devices

    I hope that you will be able to install Windows XP Home edition successfully.

    Good luck!

  • HTTP: Error 58 (the network function is not supported by the system)

    Hi all

    I have a problem with HTTP Client in LV 2011 functions.

    As you can see in the screenshot attached, I try just:

    -Open a handle-> no errors

    -Send a web request using the GET method-> error 58

    -close the handle

    The problem is that a 58 error: "the network function is not supported by the system. However, it works fine when I type the same URL in a web browser.

    You have any idea of what could be the problem? Thank you in advance for your help!

    J.

    I have fixed the bug: there was a white at the beginning of the URL... (!!!). I deleted the empty character and now it's OK.

  • curve adjustment function does not work

    Hi all

    I am trying to bend fitting, a graphic. but the curve adjustment function does not work. I get no output curve.

    which suggests to me u.

    Thank you

    You have been asked to view the code. We cannot solve the photos.

    Matrices X and Y are same length? Is a NaN value? What the output error say you?

    (Also note that in this case, it would be convenient if we don't need to wire x take a look at this idea!)

    This discussion is useless until you attach a real VI and data, so please.

  • The VISA read function is not read the bytes specified in the buffer zone

    I created a program that continuously acquire data of the inverter. But, the "Reading of VISA" function is not rreading all bytes of the buffer, which is a big problem because the way my work programme is it will extract the specific buffer bytes and convert these values in voltage and current values.

    I specified the number of bytes that I want to read the buffer as for example I want to read 21 bytes. But, even if there are 21 bytes in the buffer, the read function VISA read only 9 bytes. Im not using any character of endpoints so this is weird. I'm using LabVIEW 2011.

    Is attached a photo of my program and the results.

    You still have the active stop character.  You must connect up to a FAKE at the entrance of termination character activate on the Serial Port to set it up.

  • asynchronuous functions do not work in a c# used by CVI application dll

    Hello

    I have an application written with CVI 9.0.1, who must interact with a dll c# 2010 (which has no window) through a CVI<->wrapper .net (created with the controller of the CVI useful .net).

    This c# dll uses the functions asynchronuous, as NetworkStream.BeginRead () and EndRead() of an object of System.Net.Sockets.TcpClient for example.

    These asynchronuous functions work very well when the c# dll is used by a c# application (with a main window) or the c# dll is converted into a stand-alone c# program (having a window with buttons, call its methods, just to try), but asynchronuous functions do not work when my c# dll is called by my CVI application (which is my goal) : execution remains inside the NetworkStream.BeginRead () for example (for the concerned thread).

    NetworkStream.BeginRead () can be bypassed successfully by using the function alternator NetworkStream.Read () instead, but the c# dll uses any other asynchronuous functions which have no associated alternator function.

    Here's some c# code (I don't have the source code of the Snmp object; got_trap() method is never called when asynchonuous calls do not work):

    public void run() / / wire

    {

    SNMP snmp = null;

    Try

    {

    SNMP = new Snmp (true);

    SNMP. NotifyListenPort = 162;

    SNMP. NotifyRegister (null, null, new NotifyCallback (got_trap), CB_DATA_);

    isActive = true;

    Timeout.Infinite;

    }

    ...

    }

    Thinking it might be a problem with the window messages that could not be processed (in the c# dll), I tried to replace the Timeout.Infinite statement in the code where the management of asynchronuous are held, by a creation of window over my loop of messages in Win32 window, but asynchronuous functions do not work better (while my loop seems to process messages successfully) :

    Form myForm = new Form(); an empty window

    myForm.Show ();

    int bRet;

    MSG msg = new MSG();

    While ((bRet = GetMessage (out msg, IntPtr.Zero, 0, 0))! = 0)

    {

    If (bRet == - 1).

    {

    handle the error and possibly out

    }

    on the other

    {

    Switch (msg.message)

    {

    default: / / everything else

    TranslateMessage (Ref msg);

    DispatchMessage (Ref msg);

    break;

    }

    }

    }

    Any idea?

    Thank you

    rvfr.

    Solved: in fact, the Assembly of snmp I used just need to be registered dotNet.

    rvfr.

  • I open a file with the Microsoft Office Picture Manager program. Now I can not escape and it's the tilt all my documents of the image.

    Original title: HELP! Problem 'open with '.

    I also have a problem of 'Open with', that has happened before. I open a file with the Microsoft Office Picture Manager program. Now I can not escape and it's the tilt all my documents of the image. Even the new emails are now coming this way. How can I get rid of this or the reverse?

    Hi Patti Gunderlock,

    ·         You receive an error message or error code?

    Follow the suggestions below for a possible solution:

    Method 1: Follow the steps in the following article, and check, if that helps.

     

    How to change or choose the program that starts when you double-click a file in Windows XP

    http://support.Microsoft.com/kb/307859

     

    Method 2: If the method above is not enough, then you can follow the steps described in the article and check.

     

    When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program

    http://support.Microsoft.com/kb/950505

    Let us know if that helps.

  • My gesture control function does not work correctly there on and off automatically

    My gesture control function does not work correctly there on and off automatically

    which application you are using? try reinstalling the media gallery.

  • Installed new microcomputer, LibreOffice, but the "open with" function does not recognize it

    I recently downloaded suite desktop LibreOffice, but OPEN WITH function recognizes not all programs.  How can I fix it?

    Contact support LibreOffice.

  • Backup function does not?

    Backup function does not. The program runs and ends with an error message, access is denied. (0x80070005). Looks like a backup has been completed. I tried another external hard drive as a destination and got the same result. Help!

    Hello

    · You are the administrator of the computer?

    Step 1: Make sure that you are connected to the computer as an administrator. If you are not then you will need administrator to help you in the backup.

    Step 2: Temporarily disable the antivirus and check if the problem persists. If no problem occurs, then you need to firewall settings in the security software.

    Note: Check that you activate your anti-virus protection on the computer back after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

  • AUTO PLAYBACK FUNCTION DOES NOT WORK

    AUTO PLAYBACK FUNCTION DOES NOT WORK WITH MY ADOBE PHOTOSHOP 7

    Try to uninstall and reinstall the program.  If this does not work, then I suggest that you contact adobe at http://www.adobe.com/support/photoshop/support.  This doesn't seem to be a Vista problem - it sounds like a problem with Adobe Photoshop. Lorien - a - MCSE/MCSA/network + / A +.

  • Sleep function does not

    Sleep function does not

    http://www.Vistax64.com/tutorials/63567-power-options-sleep-mode-problems.HTML?filter [11] = power % 20Management

    Read the info on sleep disorders in the tutorial above.

    http://www.Vistax64.com/tutorials/198047-power-plan-restore-default-settings.html

    Also read this tutorial; as well as the 'related links' at the bottom of the links above.

    See you soon.

    Mick Murphy - Microsoft partner

  • 4500 G510N-z: Scan function is not available (grayed out) on app AIO

    I can print but not scan from my 4500 G510N-Z to my Samsung with Android OS 5.1.1 notebook. AIO has message that some functionality is not available. Scan icon is "grayed out". How can I fix it?

    Hello

    The HP AIO app delegating remote detection of devices later, only support devices connected with HP ePrint suppor, the HP Officejet 4500 model is not taken such care.

    You can find the following table as a reference, any compatible printer with the HP AIO Remote application for scanning is marked as such in the column "cloud services and applications HP Printing":

    http://support.HP.com/us-en/document/c03722645

    Kind regards

    Shlomi

Maybe you are looking for

  • Why can't, I right click on my favorites on my mac?

    Hello I have firefox 9.0.1 on my mac osx 10.6. I am unable to do a right click on my favorites to be able to delete and rename etc... How can I fix? ConcerningPascal

  • Is it possible to block advertizers to order the ads for me?

    I'm tired of shopping on a Web site and heading to a news site to see ads on the sites of stores as if I'm tracking and ads are customized for me. It happens all the time. I recently saw Zappos.com and Bobbiebrown.com to do this. Is there a way to pr

  • Installation of memory on my w520

    I have printed the instructions for adding memory to my new W520 and had no problem adding the first stick of 8 GB on the lower access panel, but when it came for the removal of the keyboard to the second empty slot I was afraid to break the keyboard

  • OfficeJet Pro 8600 and OS Mavericks

    Every since the loading of the Mavericks on my Mac, I can't scan life airprint.  I can print, but he fails to make an analysis of the preview when I ask for a scan.  I removed the old drivers and reloaded your new drivers approved by Maverick, but no

  • Disc and DVD player read not only draw message get open no disc in the drive, again with the same results.

    Sought to follwed and previous forum information steps to unload the upper and lower registry filters but none are included. Have you tried devcon in back and get the followin message "devcon is not recognized as a builtin or external operable progra