Unescape chars in xml

I'm trying to load an xml file which has charachters such as
speechmarks, ".
When I use {ds::name} in my html, instead of producing output
like -> "text", I actually get \"text\".
Is there any easy way around this?
Thanks

Are you using CDATA blocks around these nodes?
http://www.w3schools.com/xml/xml_cdata.asp

Similar Messages

  • Invalid char in XML from inbound IDoc

    I am trying to send a CREMDM IDoc from a 4.6C R/3 system to an XI SP09 system. The IDoc gets sent from the backend system, shows up fine in WE05, but after it gets passed to XI, I encounter a fatal error (in SXMB_MONI) that reads:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x15(:main:, row:1, col:986) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:41) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:66) ....
    Upon checking the payload, I discover an "#" character in one of the fields (at position 986) has mysteriously been transformed to a " " character. XI does not recognize this character and the parser fails.
    As I understand, the R/3 system is non-unicode, and XI being unicode could be causing the problem. However, I have no clue how to solve this issue. Deeply appreciate it if any ALE/XI experts can share any insights.
    Regards,
    Danny

    Thanks for all the response. It looks like the "#" character is in fact a control character from the R/3 system, which is a "negative acknowledge" (#0x15) character. This character is not valid for XML and hence it even fails the test tool in Integration Repository. I figured this out from your responses as well as checking the XML payload in XMLSPY (gave me a illegal char code 21 as well, which corresponds to the above hex code for the negative acknowledgement char).
    It looks like we have to tackle the problem on the outbound IDoc side, which I am in the midst of figuring out how....

  • How to parse/encode foreign chars in XML

    I am sending a char string such as
    y.x.x.x.y
    except that the y is actually a "y" with a dot on top (german).
    The remote server's parser complains and returns an exception.
    They are using xerces.
    What should they be doing to encode/parse such foreign chars
    (german, french, chinese....)?
    Should I be encoding this string before sending it? how?
    Thanks.
    -Mark Sabatini

    Thanks for the reply.
    I am sending the xml string such as
    <tag>y.x.x.x.x.y</tag>
    where y is the german char.
    How do I convert this string value to unicode before sending?
    Will the remote system see the same char? If not, doesn't that
    defeat the purpose of sending a german char?
    Does the remote parser need to encode/decode this too?
    Thanks.
    hi
    I had a similar problem and i solved it by before the
    parsing the xml, i converted all characters to
    unicode.
    Then the receiver who parses it in won't have
    problems, although he will see another sign instead of
    your character
    hope this helps

  • Xception when pasing french chars in xml for websrvce deplyd in weblogi 8.1

    Hi All,
    I am using weblogic 8.1 and trying to pass French characters in the xml (encoding="UTF-8") for the webservice.
    I am getting the following exception when executing the webservice.core.rpc.StubImpl._invoke method.
    java.io.CharConversionException: Malformed UTF-8 char -- is an XML encoding declaration missing?
         at weblogic.xml.babel.reader.XmlReader$Utf8Reader.read(XmlReader.java:772)
         at weblogic.xml.babel.reader.XmlReader.read(XmlReader.java:492)
         at weblogic.xml.babel.scanner.ScannerState.read(ScannerState.java:396)
         at weblogic.xml.babel.scanner.ScannerState.checkedRead(ScannerState.java:606)
         at weblogic.xml.babel.scanner.CharData.read(CharData.java:65)
         at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:288)
         at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:176)
         at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
         at weblogic.xml.babel.baseparser.CharDataElement.parse(CharDataElement.java:91)
         at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:458)
         at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:317)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:116)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:73)
         at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:46)
         at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImpl.java:148)
         at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:175)
         at weblogic.webservice.core.handler.CheckSoapFaultHandler.handleResponse(CheckSoapFaultHandler.java:21)
         at weblogic.webservice.core.HandlerChainImpl.handleResponse(HandlerChainImpl.java:231)
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:243)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
         at iPoS.common.application.PricingAndAuthXmlPort_Stub.getPriceTaxData(PricingAndAuthXmlPort_Stub.java:28)
         at iPoS.pricetax.action.PriceTaxAction.doUpdatePriceTax(PriceTaxAction.java:121)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:300)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:166)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
         at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:272)
         at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    amount read:0inputBufferSize7680overflow256
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: Error at line:3 col:7215 Got character[0] expected a valid XML character (see Fault Detail for stacktrace)
    Detail:
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">Error at line:3 col:7215 Got character[0] expected a valid XML character
         at weblogic.xml.babel.scanner.ScannerState.checkedRead(ScannerState.java:608)
         at weblogic.xml.babel.scanner.CharData.read(CharData.java:65)
         at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:288)
         at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:176)
         at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
         at weblogic.xml.babel.baseparser.CharDataElement.parse(CharDataElement.java:91)
         at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:458)
         at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:317)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:116)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:73)
         at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:46)
         at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImpl.java:148)
         at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:175)
         at weblogic.webservice.core.handler.CheckSoapFaultHandler.handleResponse(CheckSoapFaultHandler.java:21)
         at weblogic.webservice.core.HandlerChainImpl.handleResponse(HandlerChainImpl.java:231)
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:243)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
         at iPoS.common.application.PricingAndAuthXmlPort_Stub.getPriceTaxData(PricingAndAuthXmlPort_Stub.java:28)
         at iPoS.pricetax.action.PriceTaxAction.doUpdatePriceTax(PriceTaxAction.java:121)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:300)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:166)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
         at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:272)
         at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    </bea_fault:stacktrace>
    </detail>; nested exception is:
         javax.xml.rpc.soap.SOAPFaultException: Exception during processing: Error at line:3 col:7215 Got character[0] expected a valid XML character (see Fault Detail for stacktrace)
         at iPoS.common.application.PricingAndAuthXmlPort_Stub.getPriceTaxData(PricingAndAuthXmlPort_Stub.java:34)
         at iPoS.pricetax.action.PriceTaxAction.doUpdatePriceTax(PriceTaxAction.java:121)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:300)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:166)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
         at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
         at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
         at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:272)
         at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Exception during processing: Error at line:3 col:7215 Got character[0] expected a valid XML character (see Fault Detail for stacktrace)
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
         at iPoS.common.application.PricingAndAuthXmlPort_Stub.getPriceTaxData(PricingAndAuthXmlPort_Stub.java:28)
         ... 31 more
    pls help.........
    Saba

    Richard,
    I have just applied patch to upgrade from Portal 3.0.9 to 3.0.9.8.1 (Patch applied to loginserver and portal schema) and the External Applications that were previously set up have gone from the portlet.
    Does this relate to your note at the bottom:
    "Minor issues with Bulk action. 1840420 CUSTOM WRITTEN EXTERNAL AUTH MODULE NEED TO BE UPDATED AFTER 3.0.9 UPGRADE SSOXOID.PKB DOESN'T LOAD.
    External authentication modules that were written before 3.0.9 need to be updated after upgrading to 3.0.9. ssoauthx.pks is updated in 3.0.9 and contains additional routines that need to be implemented." ??
    If I go to the "Login Server Administration" portlet and select the link "Administer External Applications" I get a list of 5 External Applications that have previously been set up.
    If I go back to the Home Page and select "customize" on the "External Applications" portlet I get the message "Your Login Server administrator has not registered any external applications".
    Does that mean I should just run 'ssoauthx.pks' & 'ssoxoid.pkb' or do I need to do something else ??
    Thanks
    Simo

  • Speical chars in xml

    i got text with the char for example(marked in red)
    i try to parse the content that inside the xml
    select cast(XMLMessage as XML).query('MSG/MESSAGE').value('.', 'nvarchar(MAX)') as Content from table1 where id=10
    and i get the error
    XML parsing: line 1, character 330, illegal xml character
    how can i deal with speical chars like this?

    Can you try and replace the character with empty text ?
    replace(@xmldata,'<yur_special_charc>','')
    Also refer this which maybe of help:
    try removing the
    UTF-8 encoding stmt from the xml string
    (the below thread recommends this)
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b0d0aaef-d8da-4591-9159-f455859e3217/cast-x-as-xml-causes-xml-parsing-line-1-character-50-illegal-xml-character-at-copywrite-char?forum=sqlxml
    http://stackoverflow.com/questions/18054325/strange-error-xml-parsing-line-1-character-2038-illegal-xml-character
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • Hebrew chars in XML in or out .

    Hello ,
    When trying to deal with xml files that contains hebrew characters the characters are not presented properly and sometimes would cause either error upon insert of xml file or just invalid data when exporting an xml.
    for an example I have the following code in my Delivery Document :
    I have the very same problem the other way around
    I have an xml file from a business partner  the file opens fine in IE with UTF-8 encoding but once processed in b1i it will show up like the above.
    so far I've tried setting the system type language , and play with different encodings but none worked so far.
    any help much appreciated.
    Thanks ,
    NC.

    apparently I had to change BIU's file format settings and then activate / deactivate the process .
    that solved my problem with the fileout .
    Thanks !

  • How to scape chars for XML?

    Hi!,
    I am generating a XML file.
    Would you please help about escaping the text nodes ?
    The following code produces an invalid XML file for having the "?" on the text node.
    Thansk in advance!
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.*;
    import javax.xml.transform.stream.*;
    public void writeXML(OutputStream os)
    Document docXML;
    Element root;
    DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
    docFactory.setValidating(true);
    DocumentBuilder docBuilder = docFactory.newDocumentBuilder();
    docXML = docBuilder.newDocument();
    root = docXML.createElement("ROOT");
    root.appendChild( docXML.createText("Text?"));
    docXML.appendChild(root);
    docXML.normalize();
    Transformer transformer = TransformerFactory.newInstance().newTransformer();
    transformer.transform(new DOMSource(docXML), new StreamResult(new OutputStreamWriter(os)));

    Thanks.
    I am sorry!
    The java code was escaping correctly characters but the enconding at the top of the generated XML file was wrong, it generates
    <?xml version="1.0" encoding="UTF-8" ?>
    and I require for having european characters
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    How should I change the econding for the generated XML file?

  • Show accent chars in XML data.

    Hi,
    In Flash, I sho in my pages data from XML file. Accents ( ex
    é è à ) arent
    corectly shown. I do I do ?
    Thanks

    Thanks,
    To solve the pb, I say UTF-8 in the header of my XML File,
    and it's ok.
    "ggshow" <[email protected]> a écrit dans le message
    de news:
    envsi3$e9$[email protected]..
    > make sure your xml file encoding saved as unicode

  • Special Chars do not display at XML import

    Hi there. Here is the situation: I am importing external data
    (only text) from a XML file, but when I type a "%" (percentage
    char) in XML it does NOT display in the SWF... why ?? What is the
    best practice to achieve this ?
    Thanks in advance,

    One more question: perhaps you know ... I need also to load
    external weather infos (but only the text, like "47°F"). I
    have been visiting many pages like weather channel, etc but they
    seem to offer pre-designed forms, not only the weather forecasts in
    numbers and degrees.... I need to achieve it but do not know how...
    would you mind on helping me out ? thanx a lot,

  • XML escaping issue in ABAP during XML file transfer to App. Server.

    Hello Partners:
    I was going through some work of XML integration of SAP with a third-party. But came across an issue:
    The text descriptions we are sending within an XML tag has certain special characters like '&'. But the XML parser is not escaping it. Hence its replacing '&' with "&amp;" in the XML data string. So now I need to understand how can we implement escaping via ABAP for generated XML strings? Can you all please help me to understand which methods to use and how?
    It will be much appreciated.
    Thanks in advance.
    Vivek Singh.

    Hello SAP Friends!
    I'm facing the same problem concerning special chars in XML. I've tried to unescape the '&' sign with methods of if_ixml_ostream
       l_ostream->set_ignore_escaping( ignore_escaping = '&' ).
    the character is set and can be called by
      l_str = l_ostream->get_ignore_escaping( ).
    After the rendering was done and the download has finished the xml document can be loaded in EXCEL but the special characters are replaced by & a m p;
    Has anybody found a method to avoid the behaviour?
    My original problem is, the the data have to be in one cell in excel. I know at present no method to download data (text including line feeds) from SAP to excel into one cell.
    Maybe you have found a way to use  ignore_escaping in correct way!
    Thanks a lot in advance!!!

  • Receiving OCI/ORA-27163 when querying XML data in 11g.

    When querying a table with a column stored in XML format, we get this error for large XML values. This works in Oracle 10g but this error happens when the same data is queried in an 11.2.0.3 instance. I have had a support request open with Oracle for about a month and so far it has not made any progress. What we've seen are the following:
    1. The xml data itself is good.
    2. The good xml data when queried with a wholly 10g client/server environment, works.
    3. The same good xml data when inserted into a table in an 11g instance through a stored package run from the 11g instance (server to server) gets the 27163 error.
    4. The same xml data when queried in a 10g instance from an 11g client fails with the 27163 error.
    5. If we disable the 11g XML parser by setting an internal event (alter session set events='31156 trace name context forever, level 0x400';), then run the same code that was run in item 3 above, it does not get the 27163 error. However, the xml loaded to the 11g instance can then only be queried without getting the 27163 error if we use an older 10g client. An 11g client consistently gets the error.
    The server versions are 11.2.0.3 (upgraded from 10.2.0.4). The SQL*Net client versions that we have tested on are 11.2.0.2 and 11.2.0.3 (both produce the 27163 error).
    With considerable trial and error, we found that it is some combination of the file size and format that causes the error. Copied below is the smallest sample data of a failing XML that will produce this erro (about 8K). Remove any single character even in an a comment and the file parses successfully – but it’s not the file size alone as the original 800+KB file where we first dicovered this problem will process if the period in the attribute: @value=”${item.id}” is removed.
    We are at our wit's end, and with an 11g migration project looming, any ideas anyone can suggest would be very helpful.
    Thanks,
    Joe
    Here is a test case to play around with. Sorry I don't have a way to upload a zip file for this, but you can cut & paste from the post:
    1. CREATE TABLE my_xml_test
    (record_id NUMBER(4,0),
    xml SYS.XMLTYPE,
    comments VARCHAR2(200))
    ALTER TABLE my_xml_test
    ADD CONSTRAINT my_xml_test_pk PRIMARY KEY (record_id)
    USING INDEX
    2. mkdir SampleData
    3. cd into SampleData, copy the XML I will post in the first reply to this message into a new text document called xml_items_removed.xml.
    4. cd .. and create a file called 20120112_11g_bad_xml_issue.txt with this in it:
    1, .\SampleData\xml_items_removed.xml,"Fails: OriginalXML w/ all instances of <Item> removed (count 600) -- reduces file size to ca. 55KB but still fails (Saved by XMLSpy)"
    5. Next create your SQL*Loader control file (call it my_xml_test.ctl):
    LOAD DATA
    APPEND INTO TABLE my_xml_test
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    record_id,
    ext_fname FILLER CHAR(200),
    xml LOBFILE(ext_fname) TERMINATED BY EOF,
    comments
    6. sqlldr <username>/<password>@<database> control=my_xml_test.ctl data=20120112_11g_bad_xml_issue.txt log=20120112_11g_bad_xml_issue.log bad=20120112_11g_bad_xml_issue.bad
    7. Once the data is loaded, query my_xml_test table that you created in step 1. You should get the 27163 error:
    SELECT a.record_id,
    comments,
    a.XML,
    length(a.XML.GetClobVal()) clob_length
    FROM my_xml_test a

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSpy v2012 sp1 (http://www.altova.com) by Martin l (National Board of Medical Examiners) -->
    <IRData application="Item Review" version="1.3" itempool="2006001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <ViewerTypes>
              <Viewer id="its-viewer">
                   <Title>Item Text</Title>
                   <Description>Item Text</Description>
                   <BaseUrl>https://www.starttest.com/flex/4.3.0.0/InstitutionViewItem.aspx</BaseUrl>
                   <Parameters>
                        <Parameter name="pid" value="MSST"/>
                        <Parameter name="iid" value="01123"/>
                        <Parameter name="username" value="SomeUser"/>
                        <Parameter name="item" value="${item.id}"/>
                        <Parameter name="code" value="${CODE}"/>
                   </Parameters>
              </Viewer>
         </ViewerTypes>
         <Filters>
              <Filter id="drop-single-filter">
                   <AttributeSource>drop</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="onoff-single-filter">
                   <AttributeSource>onoff</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="reviewed-single-filter">
                   <AttributeSource>reviewed</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="build-multi-filter">
                   <AttributeSource>build</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="flag-multi-filter">
                   <AttributeSource>flag</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="u1dt-multi-filter">
                   <AttributeSource>U1DT</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="fb2-multi-filter">
                   <AttributeSource>FB2</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="fb1t-multi-filter">
                   <AttributeSource>FB1T</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="scorecat-multi-filter">
                   <AttributeSource>scorecat</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="images-multi-filter">
                   <AttributeSource>PIXN</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
              <Filter id="vignettes-multi-filter">
                   <AttributeSource>VIG1</AttributeSource>
                   <ControlType>select-1-drop-down-plus-all</ControlType>
              </Filter>
         </Filters>
         <DataPanels>
              <Control displayed="true">
                   <Filters>
                        <Filter>
                             <Description>Drop</Description>
                             <FilterSource>drop-single-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Version</Description>
                             <FilterSource>build-multi-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>On/Off Test</Description>
                             <FilterSource>onoff-single-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Review status</Description>
                             <FilterSource>reviewed-single-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Flag</Description>
                             <FilterSource>flag-multi-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Discipline</Description>
                             <FilterSource>fb1t-multi-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Organ System</Description>
                             <FilterSource>u1dt-multi-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Step 1 outline</Description>
                             <FilterSource>fb2-multi-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Images</Description>
                             <FilterSource>images-multi-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Vignettes</Description>
                             <FilterSource>vignettes-multi-filter</FilterSource>
                        </Filter>
                        <Filter>
                             <Description>Score categories</Description>
                             <FilterSource>scorecat-multi-filter</FilterSource>
                        </Filter>
                   </Filters>
              </Control>
              <ItemList displayed="true">
                   <Attributes>
                        <Attribute displayed="true">
                             <Description>Item</Description>
                             <AttributeSource>itemref</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>On test</Description>
                             <AttributeSource>onoff</AttributeSource>
                             <ControlType>checkbox-select</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Drop</Description>
                             <AttributeSource>drop</AttributeSource>
                             <ControlType>checkbox-select</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Reviewed</Description>
                             <AttributeSource>reviewed</AttributeSource>
                             <ControlType>check-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Flag</Description>
                             <AttributeSource>flag</AttributeSource>
                             <ControlType>select-1-drop-down</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Description</Description>
                             <AttributeSource>DESCR</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Discipline</Description>
                             <AttributeSource>FB1T</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Organ System</Description>
                             <AttributeSource>U1DT</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Step 1 outline</Description>
                             <AttributeSource>FB2</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <!-- Attribute displayed="false">                         <Description>Organ System plus</Description>                         <AttributeSource>ORGA</AttributeSource>                         <ControlType>text-display</ControlType>                    </Attribute -->
                        <Attribute displayed="true">
                             <Description>Images</Description>
                             <AttributeSource>PIXN</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Vignettes</Description>
                             <AttributeSource>VIG1</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Diff</Description>
                             <AttributeSource>pvalue</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Discr</Description>
                             <AttributeSource>rbvalue</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Answer Key</Description>
                             <AttributeSource>key</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                        <Attribute displayed="true">
                             <Description>Notes</Description>
                             <AttributeSource>notes</AttributeSource>
                             <ControlType>text-display</ControlType>
                        </Attribute>
                   </Attributes>
              </ItemList>
              <CurrentItemInfo>
                   <ItemText displayed="true"/>
                   <ItemData>
                        <Attribute>
                             <DataSource>scorecat</DataSource>
                             <ControlType>select-each-value</ControlType>
                        </Attribute>
                   </ItemData>
              </CurrentItemInfo>
         </DataPanels>
    </IRData>
    <?BASELINE FB2-A.02.01 on:4 off:3?>
    <?BASELINE FB2-A.02.02 on:4 off:4?>
    <?BASELINE FB2-A.03.01 on:3 off:1?>
    <?BASELINE FB2-A.03.02 on:0 off:1?>
    <?BASELINE FB2-A.03.04 on:3 off:2?>
    <?BASELINE FB2-A.03.05 on:1 off:0?>
    <?BASELINE FB2-A.03.07 on:4 off:2?>
    <?BASELINE FB2-A.04.01 on:2 off:5?>
    <?BASELINE FB2-A.04.02 on:5 off:3?>
    <?BASELINE FB2-A.04.03 on:3 off:1?>
    <?BASELINE FB2-A.04.04 on:1 off:1?>
    <?BASELINE FB2-A.05.01 on:12 off:14?>
    <?BASELINE FB2-A.05.02 on:9 off:1?>
    <?BASELINE FB2-A.05.03 on:0 off:6?>
    <?BASELINE FB2-A.06.01 on:7 off:9?>
    <?BASELINE FB2-A.06.02 on:2 off:6?>
    <?BASELINE FB2-A.06.03 on:10 off:5?>
    <?BASELINE FB2-A.06.04 on:1 off:1?>
    <?BASELINE FB2-A.07 on:23 off:20?>

  • SQL*Loader problem - not efficient, parsing error for big xml files

    Hi Experts,
    First of all, I would like to store xml files in object relation way. Therefore I created a schema and a table for it (see above).
    I wants to propagate it (by using generated xml files), hence I created a control file for sql loader (see above).
    I have two problems for it.
    1, It takes a lot of time. It means I can upload a ~80MB file in 2 hours and a half.
    2, At bigger files, I got the following error messages (OCI-31011: XML parsing failed OCI-19202: Error occurred in XML processing LPX-00243: element attribute value must be enclosed in quotes). It is quite interesting because my xml file is generated and I could generated and uploaded the first and second half of the file.
    Can you help me to solve these problems?
    Thanks,
    Adam
    Control file
    UNRECOVERABLE
    LOAD DATA
    CHARACTERSET UTF8
    INFILE *
    APPEND
    INTO TABLE coll_xml_objrel
    XMLTYPE(xml)
    FIELDS
    ident constant 2
    ,file_name filler char(100)
    ,xml LOBFILE (file_name) TERMINATED BY EOF
    BEGINDATA
    generated1000x10000.xml
    Sql Loader command
    sqlldr.exe username/password@//localhost:1521/SID control='loader.ctl' log='loadr.log' direct=true
    Schema
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://www.something.com/shema/simple_searches" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.something.com/shema/simple_searches">
        <element name="searches" type="tns:searches_type"></element>
        <element name="search" type="tns:search_type"></element>
        <element name="results" type="tns:results_type"></element>
        <element name="result" type="tns:result_type"></element>
        <complexType name="searches_type">
            <sequence>
                <element ref="tns:search" maxOccurs="unbounded"></element>
            </sequence>
        </complexType>
        <complexType name="search_type">
            <sequence>
                <element ref="tns:results"></element>
            </sequence>
            <attribute ref="tns:id" use="required"></attribute>
            <attribute ref="tns:type" use="required"></attribute>
        </complexType>
        <complexType name="results_type">
            <sequence maxOccurs="unbounded">
                <element ref="tns:result"></element>
            </sequence>
        </complexType>
        <complexType name="result_type">
            <attribute ref="tns:id" use="required"></attribute>
        </complexType>
        <simpleType name="type_type">
            <restriction base="string">
                <enumeration value="value1"></enumeration>
                <enumeration value="value2"></enumeration>
            </restriction>
        </simpleType>
        <attribute name="type" type="tns:type_type"></attribute>
        <attribute name="id" type="string"></attribute>
    </schema>
    Create table
    create table coll_xml_objrel
    ident Number(20) primary key,
    xml xmltype)
    Xmltype column xml
    store as object relational
    xmlschema "http://www.something.com/schema/simple_searches.xsd"
    Element "searches";

    Hi Odie_63,
    Thanks for your answer.
    I will post this question in the XML DB forum too (edit: I realized that you have done it. Thanks for it).
    1, Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    2, see above
    3, I have registered my schema with using dbms_xmlschema.registerSchema function.
    Cheers,
    Adam
    XML generator:
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import javax.xml.stream.XMLOutputFactory;
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamWriter;
    public class mainGenerator {
        public static void main(String[] args) throws FileNotFoundException, XMLStreamException {
            // TODO Auto-generated method stub
            final long numberOfSearches = 500;
            final long numberOfResults = 10000;
            XMLOutputFactory xof = XMLOutputFactory.newFactory();
            XMLStreamWriter writer = xof.createXMLStreamWriter(new FileOutputStream("C:\\Working\\generated500x10000.xml"));
            writer.writeStartDocument();
            writer.writeStartElement("tns","searches", "http://www.something.com/schema/simple_searches");
            writer.writeNamespace("tns", "http://www.something.com/schema/simple_searches");
            for (long i = 0; i < numberOfSearches; i++){
                Long help = new Long(i);
                writer.writeStartElement("tns","search", "http://www.something.com/schema/simple_searches);
                writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "type", "value1");
                writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "id", help.toString());
                writer.writeStartElement("tns","results", "http://www.something.com/schema/simple_searches");
                for (long j = 0; j < numberOfResults; j++){
                    writer.writeStartElement("tns","result", "http://www.something.com/schema/simple_searches");
                    Long helper = new Long(i*numberOfResults+j);
                    writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "id", helper.toString());
                    writer.writeEndElement();
                writer.writeEndElement();
                writer.writeEndElement();
            writer.writeEndElement();
            writer.writeEndDocument();
            writer.close();
    registerSchema:
    begin
    dbms_xmlschema.registerSchema(
    'http://www.something.com/schema/simple_searches',
    '<?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://www.something.com/schema/simple_searches" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.something.com/schema/simple_searches">
        <element name="searches" type="tns:searches_type"></element>
        <element name="search" type="tns:search_type"></element>
        <element name="results" type="tns:results_type"></element>
        <element name="result" type="tns:result_type"></element>
        <complexType name="searches_type">
            <sequence>
                <element ref="tns:search" maxOccurs="unbounded"></element>
            </sequence>
        </complexType>
        <complexType name="search_type">
            <sequence>
                <element ref="tns:results"></element>
            </sequence>
            <attribute ref="tns:id" use="required"></attribute>
            <attribute ref="tns:type" use="required"></attribute>
        </complexType>
        <complexType name="results_type">
            <sequence maxOccurs="unbounded">
                <element ref="tns:result"></element>
            </sequence>
        </complexType>
        <complexType name="result_type">
            <attribute ref="tns:id" use="required"></attribute>
        </complexType>
        <simpleType name="type_type">
            <restriction base="string">
                <enumeration value="value1"></enumeration>
                <enumeration value="value2"></enumeration>
            </restriction>
        </simpleType>
        <attribute name="type" type="tns:type_type"></attribute>
        <attribute name="id" type="string"></attribute>
    </schema>',
    TRUE, TRUE, FALSE, FALSE);
    end

  • T-Sql update to ntext containing XML

    I need to query to find records with a node that has a particular value, then update another node in the xml.
    I did a round about query with temp tables because I couldn't figure out how to do the cast and the query in the xml in the same step. but now I need to update the xml for certain records.
    for example:
    table A columns:  ID, xml ( ntext data), InStock (char)
    update xml 'book/mustRead' = 'Yes'
    where 'book/author'  = 'James Joyce'
    and InStock = 1
    thanks for any help

    Convert the NText to XML, then use XQuery on the XML.
    XQuery Language Reference (SQL Server)
    Then convert the XML back to NText.
    Also you shouldn't use NText.  Use NVarchar(max) instead.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Error when parsing the XML document

    hi all.
    i have the next problem.
    the sender sistem send to XI an XML. some tags send a '#' caracter.
    Sender Service send:
    Torre B1 - B#Unimev
    when Im traying to test XML inbound, XI show the next error:
    Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x14(:main:, row:1, col:992))
    XML:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ZDEBMAS6>
    -   <IDOC BEGIN="1">
    -      <EDI_DC40 SEGMENT="1">
             <TABNAM>EDI_DC40</TABNAM>
             <MANDT>300</MANDT>
             <DOCNUM>0000000000339708</DOCNUM>
             <DOCREL>640</DOCREL>
             <STATUS>30</STATUS>
             <DIRECT>1</DIRECT>
             <OUTMOD>2</OUTMOD>
           </EDI_DC40>
    -      <E1KNA1M SEGMENT="1">
              <MSGFN>009</MSGFN>
              <REGIO>07</REGIO>
              <STCD1>20147972750</STCD1>
              <FITYP>01</FITYP>
              <STCDT>80</STCDT>
              <STCD3>0</STCD3>
    -         <Z1KNA1M SEGMENT="1">
                 <MSGFN>009</MSGFN>
                  <KUNNR>0001000563</KUNNR>
                  <ZZSOCRCV>3100</ZZSOCRCV>
                  <ZZGBDAT>00000000</ZZGBDAT>
              <b> <ZZAD_STREET_CO>Torre B1 - B Unimev</ZZAD_STREET_CO></b>
                  <ZZAD_ROOMNUM_CO>PB</ZZAD_ROOMNUM_CO>
                  <ZZAD_FLOOR_CO>E</ZZAD_FLOOR_CO>
                  <ZZAD_PSTCD1_CO>M5521AAR</ZZAD_PSTCD1_CO>
                  <ZZAD_CITY1_CO>Mendoza</ZZAD_CITY1_CO>
                  <ZZAD_REGIO_CO>07</ZZAD_REGIO_CO>
               </Z1KNA1M>
               <Z1ADRCM SEGMENT="1">
                  <MSGFN>009</MSGFN>
                  <KUNNR>0001000563</KUNNR>
               <b><STREET>Torre B1 - B Unimev</STREET></b>
                  <FLOOR>PB</FLOOR>
                  <HOUSE_NUM2>E</HOUSE_NUM2>
                  <CITY1>Mendoza</CITY1>
                  <POST_CODE1>5521</POST_CODE1>
                  <COUNTRY>AR</COUNTRY>
                  <REGION>07</REGION>
                  <LANGU>S</LANGU>
              </Z1ADRCM>
          </E1KNA1M>
        </IDOC>
    </ZDEBMAS6>
    Message was edited by: Rodrigo Pertierra
    Message was edited by: Rodrigo Pertierra

    Hi Rodrigo,
    Do you use a specific "encoding" like UTF-8 or ISO-8859-1 in your Sender CC.
    Try changing the Transfer mode to Binary instead of Text.
    Also go through these links:-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Invalid char in XML from inbound IDoc
    Hope this provides a solution.
    Regards.
    Praveen

  • Problem with special Character & in Proxy

    Hi,
    We have a File --> XI --> R/3 Scenario. In this scenario, from XI we are passing the data to R/3 by calling the Proxy. When the data in the file has special character like & (for example <Companyname>Dave&Busters</Companyname>), it is failing in R/3. But if I replace "&" with "&amp;" in the file it works fine. Is there any solution to this problem without writting custom code in XI to replace & with &amp;.
    Thanks
    Sudheer

    >But if I replace "&" with "&" in
    > the file it works fine. Is there any solution to this
    > problem without writting custom code in XI to replace
    > & with &.
    No. If the sender of the message provides an XML format with an unescaped &, then the XML is not valid and therefore cannot be processed.
    All adapters (IDOC, RFC, File with content conversion) perform the escaping and deescaping.
    Regards
    Stefan

Maybe you are looking for

  • Customer Item Open Interface

    Does anyone know what the Lock_flag is for the customer item open interface and what it should be set to when creating customer items? It is a required field but it is not explained in the 11.5.9 documentation.

  • CRM Survey data

    Hi all, I got a requirement to develop a report on solution manager survey data. i found the data sources 0SVY_ANSWER_TEXT 0SVY_APPL_TEXT 0SVY_DATA_1 0SVY_QSTNNR_TEXT 0SVY_QUEST_TEXT 0SVY_STATUS_TEXT 0SVY_SURV_TEXT 0SVY_TAROBJ_ATTR in solution manage

  • How do I change the default "sort by" on import?

    I've been pouring over the forums for a few minutes with minimal success... It seems many people are set on ranting rather than looking for solutions. I'm finding that I can import photos easily, but upon import (in the library grid view), I have to

  • Cant open Windows After Effects project in Mac

    Hello, Im unable to open an AEP that was created on windows on my Mac, we are both registered to cloud and have the same updated After Effects version 11.0.3. The windows version runs on After Affects CC and I don't, could this be the issue, im downl

  • Integrating Jasper Reports with BPM Inbox

    BPM Dashboard has click able graphics which drill down the Inbox with the filtered results. Now we are using Jasper Reports for building Dashboard. We want to implement the same type of drill down functionality with Jasper Charts. Does anyone know ho