SAXParseException: character conversion error: Illegal character 0x9A...

This is my problem:
I use JDom to parse remote XML document with DTD linked to it. But I get that error. Request is:
SAXBuilder builder = new SAXBuilder();
Document doc = builder.build(new URL(url));
This works fine when I use these XML and DTD docs locally, which means that I give xml file name as a parameter from console. Then everything goes well. But when I move my program to server and try to run it there, SAXParseException is thrown. Why???
Error is:
error on line 1 of document "http://server.net/doc.dtd" Character conversion error: Illegal ASCII character 0x9A (line number may be too low)
What this means? And why this just happens when I run program in server? Help, please
tia J_J

Exactly that's the problem.
String class :
* This class is implemented to map an ordinary java.lang.String
* into an xml compliant String
public class String2Xml
     private final String invalidChars [] = {"�",
                                                       "�",
                                                       "�",
                                                       "�",
                                                       "�",
                                                       "�",
                                                       "�",
                                                       "�",
                                                       "�",
                                                       "�",
                                                       "`",
                                                       "�",
                                                       "<",
                                                       ">",
     private final String replaceChars [] = {"��",
                                                       "&#223;",
                                                       "&#228;",
                                                       "&#246;",
                                                       "&#252;",
                                                       "&#196;",
                                                       "&#214;",
                                                       "&#220;",
                                                       "&#167;",
                                                       "&#128;",
                                                       "&#96;",
                                                       "&#180;",
                                                       "<",
                                                       ">",
                                                       "&apos;"};
     * Constructor
     public String2Xml();
     * This operation is implemented to check if the given String
     * matches one of the invalidChars. If an invalid char is found
     * it'll be replaced.
     * @return String - the correct xml String
     public String checkString(String check)
          for (int i = 0; i < invalidChars.length; i++)
               check = check.replaceAll(invalidChars, replaceChars[i]);
          System.out.println("Check : " + check);
          return check;

Similar Messages

  • Character conversion error

    Hi all,
    We are getting the following error when trying to parse an xml string resource - Character conversion error: "Illegal ASCII character, 0xc2" (line number may
    be too low)-. We have not been able to get around this. We have tried creating the InputSource two different ways:
    reader = new StringReader(stringSource);
    src = new InputSource( reader );
    and
    src = new InputSource(new InputStreamReader(new ByteArrayInputStream(stringSource.getBytes())));
    The problem does appear to go away if we treat the DTD we are validating against as a file. If we set it has a uri, we get the above problem.
    Is anyone else experiencing this problem?
    Any help would be greatly appreciated.
    Thanks in advance,
    Greg

    Hi,
    2 possible solutions:
    1) try using the xerces parser instead of sun's parser
    2) look at the posting at the following url and see wether the posted solution solves your problem: http://forums.java.sun.com/thread.jsp?forum=34&thread=67558
    Hope this helps,
    Kurt.

  • "character conversion error" while parsing xml files

    Hello,
    I'm trying to parse MusicXML (Recordare) files, but I'm getting an exception.
    I'm using the SAX parser (javax.xml.parsers.SAXParser).
    Here is the code I use to instantiate it:
    final javax.xml.parsers.SAXParserFactory saxParserFactory = javax.xml.parsers.SAXParserFactory.newInstance();
    final javax.xml.parsers.SAXParser saxParser = saxParserFactory.newSAXParser();
    final org.xml.sax.XMLReader parser = saxParser.getXMLReader();
    I'm using my own handler, but I get the same exception even if I use org.xml.sax.helpers.DefaultHandler.
    The error I get is:
    Character conversion error: "Illegal ASCII character, 0xc2" (line number may be too low).
    The first few lines of my xml files look like this:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE score-partwise
    PUBLIC "-//Recordare//DTD MusicXML 0.6 Partwise//EN"
    "http://www.musicxml.org/dtds/partwise.dtd">
    <score-partwise>
    [...etc...]
    If I delete the <!DOCTYPE ...> line, then I don't get the exception anymore. But the MusicXML files I get (from some other program) always contain this line, and it would be quite some work to delete them from every file manually.
    So does anyone know if there is a way to avoid deleting that line in every file, while still being able to parse the xml files without exceptions?
    Or maybe does anyone know what the exact cause of the exception is? (because I don't know what exactly causes it)
    Thank you in advance.
    Greetz,
    Jipo

    So does anyone know if there is a way to avoid
    deleting that line in every file, while still being
    able to parse the xml files without exceptions?ok this is side-stepping the real problem but I've used this code to filterout DTD references for other reasons   public static InputStream filterOutDTDRef(InputStream in) throws IOException {
          BufferedReader iniReader = new BufferedReader(new InputStreamReader(in));
          StringBuffer newXML = new StringBuffer();
          for(String line = iniReader.readLine(); line!=null; line = iniReader.readLine())
             newXML.append(line+"\n");
          in.close();
          int s = newXML.indexOf("<!DOCTYPE ");
          if(s!=-1)
             newXML.replace(s,newXML.indexOf(">",s)+1,"");
          return new ByteArrayInputStream(newXML.toString().getBytes());
       }and it actually speeds up the parsing phase too (since the DTD ref.s were on the web and the XML standard mandates that there is a fetch for each xml file parsed..)
    you can feed the above into the InputSource constructor that takes an InputStream argument.
    Now for the real problem... 0xc2 is "LATIN CAPITAL LETTER A WITH CIRCUMFLEX" according to a unicode chart - which is not an ASCII character (as the error message correctly reports). I'm not sure why the file is being parsed as ASCII though? You could try parsing in a FileReader to the inputsource and hope it picks up the default character encoding of your system, and that that character encoding matches the file. Or you could try passing in a FileReader constructed with a explicit character encoding (eg "UTF8") and see if that does the trick?
    asjf

  • Character conversion error: Unconvertible UTF-8 character beginning..

    Hello,
    I'm using TrAX for XSLT transformations, and having a following
    problem
    Character conversion error: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be too low).
    org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xa9" (line number may be too low).
            at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
            at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
            at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
            at org.apache.crimson.parser.Parser2.maybeTextDecl(Parser2.java:2795)
            at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2880)
            at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
            at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
            at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
            at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
            at mlts.converter.XMLImport.outputESGML(XMLImport.java:311)
            at mlts.converter.Converter.processFile(Converter.java:312)
            at mlts.converter.Converter.Convert(Converter.java:229)
            at test.main(test.java:7)Following the source code, I've found that the exception is thrown
    when it reads DTD. I tried to read DTD using InputSource
    in ascii, in latin-1 and my program reads it without any problem.
    I really appreciate any help,
    Thanks

    http://forum.java.sun.com/thread.jsp?forum=34&thread=254927

  • Character conversion error: "Unconvertible UTF-8 character beginning with 0

    Hi All,
    I developed an Adapter Module and added to Adapter Framework.
    package sample;
    import java.io.InputStream;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import com.sap.aii.af.mp.module.Module;
    import com.sap.aii.af.mp.module.ModuleContext;
    import com.sap.aii.af.mp.module.ModuleData;
    import com.sap.aii.af.mp.module.ModuleException;
    import com.sap.aii.af.ra.ms.api.Message;
    import com.sap.aii.af.ra.ms.api.XMLPayload;
    @ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
    @ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
    @ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
    @ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
    @stateless
    public class SetAttachmentName implements SessionBean, Module {
         private SessionContext myContext;
         private String mailFileName = "UStN";
         public void ejbRemove() {
         public void ejbActivate() {
         public void ejbPassivate() {
         public void setSessionContext(SessionContext context) {
              myContext = context;
         public void ejbCreate() throws CreateException {
         public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              // create a second attachment for the receiver mail adapter
              try {
                   //                  get the XI message from the environment
                   Message msg = (Message) inputModuleData.getPrincipalData();
                   //               creating parsable XML document
                   InputStream XIStreamData = null;
                   XMLPayload xmlpayload = msg.getDocument();
                   XIStreamData = xmlpayload.getInputStream();
                   DocumentBuilderFactory docBuilderFactory =
                        DocumentBuilderFactory.newInstance();
                   DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
                   Document doc = docBuilder.parse(XIStreamData);
                   //            finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
                   String absenderIDTag = null;
                   absenderIDTag = moduleContext.getContextData("<RCVPRN>");
                   //            finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
                   Element element = doc.getDocumentElement();
                   NodeList list = doc.getElementsByTagName(absenderIDTag);
                   mailFileName += "_" + list.item(0).getFirstChild().toString();
                   String anIDTag = null;
                   anIDTag = moduleContext.getContextData("<CREDAT>");
                   element = doc.getDocumentElement();
                   list = doc.getElementsByTagName(anIDTag);
                   mailFileName += "_" + list.item(0).getFirstChild().toString();
                   Date date = new Date(System.currentTimeMillis());
                   //            Add date to the Message
                   SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
                   mailFileName += "_" + dateFormat.format(date);
                   String belegNummerTag = null;
                   belegNummerTag = moduleContext.getContextData("<BULK_REF>");
                   element = doc.getDocumentElement();
                   list = doc.getElementsByTagName(belegNummerTag);
                   mailFileName += "_" + list.item(0).getFirstChild().toString();
                   //               creating the attachment
                   byte by[] = xmlpayload.getText().getBytes();
                   XMLPayload attachmentPDF = msg.createXMLPayload();
                   attachmentPDF.setName(mailFileName);
                   attachmentPDF.setContentType("application/pdf");
                   attachmentPDF.setContent(by);
                   //adding the message to the attachment
                   msg.addAttachment(attachmentPDF);
                   //                  provide the XI message for returning
                   inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {
                   //                  raise exception, when an error occurred
                   ModuleException me = new ModuleException(e);
                   throw me;
              //                  return XI message
              return inputModuleData;
    I get the following error
    Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
    Any tips, pointers ?
    Thanks in Advance
    Mukhtar

    Hi Henrique,
    I am using .getNodeValue()
    import java.io.InputStream;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.ejb.CreateException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import com.sap.aii.af.mp.module.*;
    import com.sap.aii.af.ra.ms.api.*;
    @ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
    @ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
    @ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
    @ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
    @stateless
    public class UStNAttachmentName3 implements SessionBean, Module {
         private SessionContext myContext;
         private String mailFileName = "UStN";
         public void ejbRemove() {
         public void ejbActivate() {
         public void ejbPassivate() {
         public void setSessionContext(SessionContext context) {
              myContext = context;
         public void ejbCreate() throws CreateException {
         public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              // create a second attachment for the receiver mail adapter
              try {
                   // get the XI message from the environment
                   Message msg = (Message) inputModuleData.getPrincipalData();
                   // creating parsable XML document
                   InputStream XIStreamData = null;
                   XMLPayload xmlpayload = msg.getDocument();
                   XIStreamData = xmlpayload.getInputStream();
                   DocumentBuilderFactory docBuilderFactory =
                        DocumentBuilderFactory.newInstance();
                   DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
                   Document doc = docBuilder.parse(XIStreamData);
                   // finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
                   String absenderIDTag = null;
                   absenderIDTag = moduleContext.getContextData("<RCVPRN>");
                   // finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
                   Element element = doc.getDocumentElement();
                   NodeList list = doc.getElementsByTagName(absenderIDTag);
                   mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
                   String anIDTag = null;
                   anIDTag = moduleContext.getContextData("<CREDAT>");
                   element = doc.getDocumentElement();
                   list = doc.getElementsByTagName(anIDTag);
                   mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
                   Date date = new Date(System.currentTimeMillis());
                   // Add date to the Message
                   SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
                   mailFileName += "_" + dateFormat.format(date);
                   String belegNummerTag = null;
                   belegNummerTag = moduleContext.getContextData("<BULK_REF>");
                   element = doc.getDocumentElement();
                   list = doc.getElementsByTagName(belegNummerTag);
                   mailFileName += "_" + list.item(0).getFirstChild().getNodeValue();
                   // creating the attachment
                   byte by[] = xmlpayload.getText().getBytes();
                   XMLPayload attachmentPDF = msg.createXMLPayload();
                   attachmentPDF.setName(mailFileName);
                   attachmentPDF.setContentType("application/pdf");
                   attachmentPDF.setContent(by);
                   //adding the message to the attachment
                   msg.addAttachment(attachmentPDF);
                   // provide the XI message for returning
                   inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {
                   // raise exception, when an error occurred
                   ModuleException me = new ModuleException(e);
                   throw me;
              // return XI message
              return inputModuleData;
    Still I get the same error.
    org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
    Adapter-Framework: Character conversion error: "Unconvertible UTF-8 character beginning with 0xaa" (line number may be too low).
    Regards,
    Mukhtar

  • Character conversion error when installing Java Portlet Container Preview

    I'm trying to tets out JSR 168 portlets on our Oracle 10g server. I'm following the instructions at http://portalstandards.oracle.com/
    I download and try to install the "Java Portlet Container Preview Release 2", and I get the following error:
    [oracle@jupiter home]$ java -jar ~/wsrp-install.jar ~/jwsdp-1.3
    File "/home/oracle/jupiter_mid/j2ee/home/config/global-web-application.xml" modified successfully
    oracle.webdb.utils.PortalExceptionImpl: Error transforming file "config/server.xml"
    at oracle.portal.PortalException.<init>(PortalException.java:66)
    at oracle.webdb.wsrp.server.install.InstallException.<init>(InstallException.java:31)
    at oracle.webdb.wsrp.server.install.Main.applyTransformation(Main.java:387)
    at oracle.webdb.wsrp.server.install.Main.install(Main.java:122)
    at oracle.webdb.wsrp.server.install.Main.main(Main.java:98)
    Caused by: javax.xml.transform.TransformerException: Character conversion error: "Unconvertible UTF-8 character beginning with 0x92" (line number may be too low).
    at org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:739)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:715)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
    at oracle.webdb.wsrp.server.install.Main.applyTransformation(Main.java:371)
    ... 2 more
    caused by: ; SystemID: http://xmlns.oracle.com/ias/dtds/application-server-9_04.dtd; Line#: 1; Column#: -1
    javax.xml.transform.TransformerException: Character conversion error: "Unconvertible UTF-8 character beginning with 0x92" (line number may be too low).
    at org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:739)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:715)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
    at oracle.webdb.wsrp.server.install.Main.applyTransformation(Main.java:371)
    at oracle.webdb.wsrp.server.install.Main.install(Main.java:122)
    at oracle.webdb.wsrp.server.install.Main.main(Main.java:98)
    [oracle@jupiter home]$
    This is what the server.xml looks like:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!DOCTYPE application-server PUBLIC "-//Oracle//DTD OC4J Application-server 9.04//EN" "http://xmlns.oracle.com/ias/dtds/application-server-9_04.dtd">
    <application-server localhostIsAdmin="true"
    application-directory="../applications"
    deployment-directory="../application-deployments"
    connector-directory="../connectors">
    <rmi-config path="./rmi.xml" />
    <sep-config path="./internal-settings.xml" />
    <jms-config path="./jms.xml" />
    <javacache-config path="../../../javacache/admin/javacache.xml" />
    <log>
    <file path="../log/server.log" />
    </log>
    <transaction-config timeout="30000" />
    <java-compiler name="javac" in-process="false" extdirs="/home/oracle/jupiter_mid/jdk/jre/lib/ext" />
    <global-application name="default" path="application.xml" />
    <application name="BC4J" path="../applications/BC4J.ear" auto-start="true" />
    <application name="BC4JManager" path="../applications/BC4JManager.ear" auto-start="true" />
    <application name="IsWebCacheWorking" path="../applications/IsWebCacheWorking.ear" auto-start="true" />
    <application name="jdev_test2" path="../applications/jdev_test2.ear" auto-start="true" />
    <global-web-app-config path="global-web-application.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    <cluster id="1214162165" />
    </application-server>
    server.xml looks ok, and I've tried tweaking it to no avail. Anyone know what could cause this?

    Could you make sure you don't have any extra Apache libraries hanging around in your global classpath, i.e. ensure there is nothing extra in <J2SE Home>/jre/lib/extThere's a xercesImp.jar under mid/j2ee/OC4J_Portal/applications/jpdk/jpdk/WEB-INF/lib/xercesImpl.jar, but there's also one under jwsdp-1.2/jaxp/lib/endorsed/xercesImpl.jar. Is that supposed to be in there?
    Neither of these are getting loaded, though; running java -verbose shows that all of org.apache.xalan.* is being loaded from mid/jdk/jre/lib/rt.jar
    FWIW, ../../lib/xmlparserv2.jar does exist, but doesn't look like it's being loaded. :-\

  • Conversion error, from character set 4102 to character set 4103

    Hi,
    We've developed a JCO server(in Java) with an ABAP report the function provided by the JCO server.
    MetaData:
         static {
              repository = new Repository("SMSRepository");
              fmeta = new JCO.MetaData("ZSMSSEND");
              fmeta.addInfo("TO", JCO.TYPE_CHAR, 255,   0,  0, JCO.IMPORT_PARAMETER, null);
              fmeta.addInfo("CONTENT", JCO.TYPE_CHAR, 255,   0,  0, JCO.IMPORT_PARAMETER, null);
              fmeta.addInfo("RETN", JCO.TYPE_CHAR, 255,   0,  0, JCO.EXPORT_PARAMETER, null);
              repository.addFunctionInterfaceToCache(fmeta);     
    Server parameters:
           Properties prop = new Properties();
           prop.put("jco.server.gwhost","shaw2k07");
           prop.put("jco.server.gwserv","sapgw01");
           prop.put("jco.server.progid","JCOSERVER01");
           prop.put("jco.server.unicode","1");
           srv = new SMSServer(prop,repository);
    If we run JCO server in both my client machine(from developer studio) and in the WAS machine(stand alone Java program), everything is ok. In the Abap side, the SM59 unicode test return the destination is an unicode system, and the ABAP report call the function can run smoothly.
    But we package this JCO server to a web application and deploy to WAS, problem occured. The SM59 unicode test still say the destination is an unicode system. But the ABAP report runs with an ABAP DUMP:
    Conversion error between two character set
    RFC_CONVERSION_FIELD
    Conversion error "RETN" from character set 4102 to character set 4103
    A conversion error occurred during the execution of a Remote Function
    Call. This happened either when the data was received or when it was
    sent. The latter case can only occur if the data is sent from a Unicode
    system to a non-Unicode system.
    I read the jrfc.trc log, it shows it receives data in unicode 4103(that's ok), but send data in unicode 4102(that's the problem).4102 is UTF-16 Big Endian and 4103  UTF-16 Little Endian. Our system is windows on intel 32 aritechture, so based on Note 552464, it should be 4103.
    Why it sends data (Java JCO server send output parameter to ABAP) in 4102?????
    What's the problem??? Thank you very much!!
    Best Regards,
    Xiaoming Yang
    Message was edited by:
            Xiaoming Yang

    Hello Experts,
    Any replies on this?
    I am also getting a similar kind of error.
    Do you have any idea on this?
    Thanks and Best Regards,
    Suresh

  • XML Error - Illegal character or entity reference syntax

    Illegal character or entity reference syntax.
    Illegal character or entity reference syntax.
    The error occurred in D:\Docwf\dashboard\dsp_TestXML.cfm:
    line 80
    Called from D:\Docwf\dashboard\fbx_Switch.cfm: line 357
    Called from D:\Docwf\dashboard\fbx_Switch.cfm: line 1
    Called from D:\Docwf\fbx_fusebox30_CF50.cfm: line 241
    Called from D:\Docwf\fbx_fusebox30_CF50.cfm: line 1
    Called from D:\Docwf\fbx_fusebox30_CF50.cfm: line 1
    Called from D:\Docwf\index.cfm: line 37
    78 :
    <ProjectNo>#nqOffTimeExp.prProjNo#</ProjectNo>
    79 :
    80 : </cfloop>
    81 : </AccountPayable>
    82 :
    This is the error page and my code is attached below. As you
    can see in the code there are two instances where I am creating XML
    files. In the first case I am not getting any error but in the
    second case I get the error . Any ideas ???
    Thanks.
    CODE:

    Change this:
    <Description>#nqOffTimeExp.iddescript#</Description>
    <FirstName>#nqOffTimeExp.eoFirst#</FirstName>
    <LastName>#nqOffTimeExp.eoLast#</LastName>
    <ChargeDate>#nqOffTimeExp.idchargesdt#</ChargeDate>
    <BillCode>#nqOffTimeExp.idbillcode#</BillCode>
    <ProjectNo>#nqOffTimeExp.prProjNo#</ProjectNo>
    To this:
    <Description>#
    XmlFormat (nqOffTimeExp.iddescript)#</Description>
    <FirstName>#
    XmlFormat (nqOffTimeExp.eoFirst)#</FirstName>
    <LastName>#
    XmlFormat (nqOffTimeExp.eoLast)#</LastName>
    <ChargeDate>#
    XmlFormat (nqOffTimeExp.idchargesdt)#</ChargeDate>
    <BillCode>#
    XmlFormat (nqOffTimeExp.idbillcode)#</BillCode>
    <ProjectNo>#
    XmlFormat (nqOffTimeExp.prProjNo)#</ProjectNo>

  • Character conversion error in PDF output of smartform

    Hi all,
    I am printing slaes order confirmation through smartform, they are based on two message type - ZBA0 (for Printing) and ZBA1 (for e-mail). the print option of smartform is coming fine, but the problem is when i am e-mailing the Order as pdf attachment. i need to print conferma du2019ordine. in itlian, but its printing conferma d# ordine.
    Kindly suggest how to rectify the error, how to check the encoding format used and see where ' is geting converted to #.
    Ii hope i am clear. in case of doubt please revert.
    Thanks
    Rohan

    Hi Raju,
    Thanks for the information, i got the same thing on SAP notes also, but could you give me a hint as to how to see if it is supported for italian ?? or should i take the most common font like Arial, times new roman and assume it would be supported ?
    any help in this would be appreciated
    Thanks,
    Rohan

  • Bizarre character encoding error; %7F character inserted frequently???

    Hi there,
    I've been experiencing an issue with my Mac (Macbook, 2.0 GHz) for at least the last six to nine months. While typing, sometimes if I use home-select (ctrlshiftleft arrow key--to select an entire line of text), and then press "delete", the text will appear to delete but a %7F character will appear in its place. This character is invisible on the Mac, but visible to all non-Mac readers as a square box. If I am going back through a text box, the %7F character is totally invisible to me, but if I press left or right the cursor will move behind or ahead of the character.
    I normally only notice it when someone I am talking to says "What's that weird box in your typing" or if I do it in a place like the address bar of Safari such that when I press enter it tries to resolve the domain %7fhttp://www.google.ca or some such.
    This happens in all applications for me, although I notice it most in Safari since that's the place where I'm doing the most line selecting and text editing like that.
    I wish I could drum up an example of this happening to me, but I still haven't figured out consistently what behaviour of mine causes this, only that it happens fairly regularly but not consistently when I select text with the keyboard and press delete.
    To make matters worse, I can't seem to find any reference to this happening to anyone else. Of course it's impossible to Google the error message, since Google ignores %7F as a search term.

    That makes sense. Is there some particular character combination that would insert this character (again, it comes up as a box) while I'm typing, rather than actually performing a Delete?
    I'm assuming that's what's happening--that whatever particular key combination I'm pressing to do the delete, I sometimes fumble and press another key combination instead, which inserts the character rather than doing the delete.

  • XMI Parser: illegal character range

    Hello,
    I am reading a very long string from an XMI parser and storing it in a string. At some point when I try to read that string, I get the error:
    illegal character range around index 1611
    and get the symbol "^" which points way beyond the last character in this string. How can I remove the white spaces and the character .
    Any ideas?
    Thanks

    Just a guess: it sounds as if your string contains characters that are not valid in XML, for example control characters such as NUL (\0).

  • Export Scott Schema Conversion Error  [SOLVED]

    I'm trying to export default user SCOTT to DMP file.
    But error occured. Some kind of character conversion error.
    This is the log generated:
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    EXP-00056: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00000: Export terminated unsuccessfully
    What is the solution for this case?
    Thanks
    Message was edited by:
    user465837+++eric

    >
    How if I dont have 9.2 DB?You have attempted to export from one above...?
    Can you skip the TOAD util and just log on to the server and run exp from there?
    Another option would involve downloading the 9.2 Database Client (9i Downloads) and install on a nearby PC, or if you have one with 9.2 already installed, and export from there.
    Any tricks to export user from different version of
    DB instance? (Is it a must that having same version
    of DB to exp-imp?)No tricks. The rule is: to export from lower to higher, you must use the lower versions exp tool. (Then use target version of imp for importing. The key is to get the exp dump of correct version and format.)
    NB: while
    C:\>dir c:\exp.exe / s
    Volume in drive C is Disk_C
    Volume Serial Number is 347F-B884
    only return thatIt's searching, give it (plenty of) time.
    Message was edited by:
    orafad

  • Error occurred during character conversion in SXMB_MONI

    Hello Experts,
    Good Day!
    I would like to seek your help here. When i used tcode SXMB_MONI to search for messages i get this error : Error occurred during character conversion.
    So far no problem with the program. Its work for all other dates. Just for one particular day and specific time period, im geting this error.
    Does anyone know what is this error means? Please reply..
    Thanks for your help.
    Looking forward for ur replies..

    Hi Presheela,
    Basically this problem occurs when ur payload contains any special characters like '&' ,'>'...etc .So you have to take care of how to deal with these characters in XI.
    Refer the following documentation:
    How to Work with Character Encodings in Process Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
    Regards,
    Vinod.

  • Error " conversion error between two character sets" in PI MONI

    Hi Experts
    I am doing file to Idoc scenario. I am getting the following error in PI MONI "conversion error between two character sets".
    please suggest me how to solve the issue.
    thanx in advance.

    Hi Mickael
    Below is the complete error message found in PI MONI.
    SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SYSTEM_DUMP</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>PI Server : XBTO80__0000 : Conversion error between two character sets.</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • Illegal character error on good filename

    I created a new RoboHelp project and tried to insert a graphic named Timeline.jpg. I got the following error:
    Unable to rename file, "Timeline.jpg".
    The filename contains illegal characters.
    I tried inserting a graphic that I had used in a previous RoboHelp project and got the same error. Then I opened a previous RoboHelp project and was able to successfully insert the Timeline.jpg graphic into that project.
    I'm on Windows XP and RoboHelp 8. I would really like to avoid having to re-install RoboHelp, but I'm not sure where to look to troubleshoot this error message. Any help on this matter would be greatly appreciated.
    Thanks.

    Sorry that I wasn't more specific in reporting my solution.
    I cannot say that the deletion RB7 helped because I had done that before making my other changes.  Another website that I had visited suggested that Robo sometimes has a problem when a previous version still exists, so I can't say that removing it solved the problem.
    Previously, all the project files were in a folder on my desktop, several layers deep.  BeforeI upgraded to v.208 I did not have a problem inserting images and I never got the "illegal character name" or "cannot rename" errors.  AfterI upgraded the problems began.  BTW, I had checked the file path back to the image locations to make sure there were no spaces, illegal file names, etc.  So I knew the errors were bogus.
    After the upgrade I also noticed that all of the images I had previously inserted remained viewable in Preview Topic, but ALL of the images disappeared when I looked at the project after compilation.  At that time I was able to insert new images by saving them to the Gallery folder of RB8.  Perhaps I may have been able to insert them from another, nearby folder...I don't know.
    AfterI deleted RB7 I figured, heck, why not make everything clean and simple and copy the whole project from the desktop folder to a new folder in the root of "C."  When I re-opened the project everything was okay - back to normal.
    If I can suggest anything from my experience it would be that clean, simple directory structures are what RB-8.208 likes most and if you get too far away from RB's project folders you may get similar errors.
    Hope this helps, and thanks again for your assistance!
    John

Maybe you are looking for

  • Wifi idle 1min doesnt work after that

    hey all, i have this problem ever since i bought this phone. when ever im browsing over wifi and stops browsing for 1min and if i again start browsing it jst doesn't work and shows me that it is trying to load the page. however this thing never happe

  • Issue combining CC sphere with Shatter 3D text

    Hi to all, I created a simple 3D text with the shatter effect extrusion in a composition.Later,I used the cc sphere to wrap it around a sphere. But when I use the CC sphere, it looses the 3D characteristic of the Text and the text becomes flat over t

  • Lack of iPhone content filtering

    Why does Apple not allow (or provide) any advanced content filtering software on the iPhone/iPad? Simply turning off internet browsers and preventing App downloads is not a solution. I believe many people would use content filtering software/features

  • Unable to get keyboard or mouse focus back after waking from sleep

    Here's a problem with very specific symptoms, which I've seen on a number of Macs that I support: - After waking from sleep, the Macs are unable to fully achieve focus on any window. All windows, in all apps, appear to be in the background -- their f

  • Is just my airport extreme?

    This is my setup: I have my apple laptop and my pc desktop hooked up to my wireless linksys router. I have a 8.0Mbps cable connection hooked into the router. My laptop is connected via my built-in airport extreme and my pc is hooked up through a hard