LDQ read using LDQ APIs returning junk characters in an xml string

Hi Everyone,
We are facing a strange problem while using LDQ APIs to read the stored data in LDQ.
We use the following API
l_content_tab = unit_reader->get_next_contents( q_count ).
loop at l_content_tab  assigning <l_content_wa>.
msg_contents = <l_content_wa>->get_cdata( )
endloop.
The message contents is a string in XML form.
While reading from LDQ, though the string is well formed , it replaces the very last closing tag '>' with a junk character.
It works perfect 99% of the time, but some systems we see this strange behavior and up-on re-reading it, it gives the right string.
Has any one faced such an issue before?
Regards,
Liji

Hi Everyone,
We are facing a strange problem while using LDQ APIs to read the stored data in LDQ.
We use the following API
l_content_tab = unit_reader->get_next_contents( q_count ).
loop at l_content_tab  assigning <l_content_wa>.
msg_contents = <l_content_wa>->get_cdata( )
endloop.
The message contents is a string in XML form.
While reading from LDQ, though the string is well formed , it replaces the very last closing tag '>' with a junk character.
It works perfect 99% of the time, but some systems we see this strange behavior and up-on re-reading it, it gives the right string.
Has any one faced such an issue before?
Regards,
Liji

Similar Messages

  • Export to Excel using DESTYPE=ENHANCEDSPREADSHEET gives junk characters

    Hi,
    We are using "DESTYPE=ENHANCEDSPREADSHEET" for exporting report data to excel in Reports 11.
    But it gives a weired output. There are too many junk characters seen. The exported excel worksheet cannot be used for anything other than just viewing.
    This is really waste.
    Any one please suggest an alternative for this.
    Kind Regards,
    Joe.

    Hi
    finally i get the excel but with question marks in columns with greek characters.This is a nls_lang problem
    Pls answer urself on these questions...
    1. did u change it to Greek in ur Windows Registery... ?
    2.Did - the most important - ur windows has Greek characters installed ?
    if the answer is no pls make sure u have installed it and test it in a note pad before re-trying.
    Hope this helps...
    Regards,
    Ammatu Allah.

  • DME File returning junk characters when download to PC

    Hi Experts,
    I am facing problem while downloading the DME file. My file contains russian characters but downloaded file showing junk characters.
    I have already set codepage for russia in my profile as 1500. I have also installed russian language in my system. Also i am logged in SAP in RU language and set the codepage as CYRILIC(ISO) and language as russian.
    Please help me on this. I have also searched in forum but could not get proper answer.
    Regards,
    A. Trivedi

    Hi Ashish,
    please try setting codepage to 4120 (Unicode) in OBPM3.
    It worked out fine with a Kyrillic invoice reference I just tested in our dev system. Be sure to use a proper text editor for displaying the downloaded file, e.g. Notepad++
    Regards,
    Christoph

  • CAN Read using Frame API

    I'm working with raw CAN data. The protocol sends out response as raw bytes(8 or upto 30)  on CAN Bus when data is requested by a CAN message.
    Example:
    Tx : Message ID with number of bytes you want to receive
    Tx   12X   30 00 00 00 00 00 00 00
    You'll receive the requested 30 bytes (only once) in this format
     22 00 00 00 00 00 00 00
     23 00 00 00 00 00 00 00
     24 00 00 00 00 00 00 00
    I started working using the Transmit Receive same Port.vi in the examples modified it to suite my application.
    I changed the Vi to identify the 24 as the last byte and stop the Vi or wait 1/2 sec if it does not find any data.
    The Problem:
    The Problem I'm facing is sometimes the Vi is missing reading the data and runs for 1/2 sec and shuts off. I am using other trace tools to make sure the desired data is on the bus.
    If I run the Vi 10 times the Vi would miss reading the data atlest 4 times. Since the data is received only once after the request it is important to read immediately after the write.I'm posting the code and help to improve the read process would be appreciated.
    Attachments:
    Transmit_once_Receive_Multiple_Msgs.vi ‏99 KB

    Hi Vamsi,
    If your NI CAN card has 2 ports, you can use the bus monitor to check that the data on the bus is seen by the NI CAN card (you had mentioned that you have other trace tools, but this will make sure that the NI CAN card is reading the bus properly).  You can learn about the bus monitor:
    How Can I Monitor the NI-CAN Bus?
    Using the NI-CAN Bus Monitor Without Going Through MAX 
    To troubleshoot your code, you can use indicators and probes on your String wires at various pointsto make sure that the frame data looks like you expect as you're parsing it.  
    Mark E.
    National Instruments
    Schedule a Free 1-Hour online LabVIEW Tutorial with an NI Applications Engineer

  • Fwrite (junk characters)

    Hi,
    I have problem with this code it put the junk data in output file :
    #include <stdio.h>
    #include <string.h>
    int main (int argc, char *arg[])
    char data[6];
    char fil_date[20];
    memset ( data,"ALTA",5);
    fp = fopen("abc.txt","w+");
    sprintf(fil_data,"%5s-----hello",data);
    fwrite(&fil_data,sizeof(fil_data),fp);
    //fprintf(fp,"%5s---hello",data);
    output file(abc.txt has data lik ):
    ALTA^@^@^@
    ---- And if i remove the comment before fprintf() and comment the fwrite()
    ---- then the program is creating output file without junk characters.
    why is this fwrite() adding junk in output file..

    An one more thing , there is another copy paste error , actually i have intialized the fil_data to before being used using the memset (),
    even then it is giving an awkward behaviour i.e creating junk characters.
    As i know, before inserting data to char array it should be intialized with '\0'.
    And i have done that in both the char arrays, even then when i write the data to file , it is inserting junk characters.
    But if i use the strlen() inplaeof sizeof in the fwrite() API , then junk characters are removed.
    And also if i use the Fprintf() , then also junk characters are removed.
    I couldn't understand the difernet behviuour of the 2 API's.
    Alhtough both of them are writing to the file.
    help needed.

  • Junk characters display while using multipart with html content in Javamail

    Hi All,
    I have used Java mail API to send mail with attachment. To enable to attachment in mail and to do content formatting i have used multipart and html content type together.
    My web application runs on apache tomcat 5.5 in MAC server. Java version is 1.5.
    The Function which i have used for sending mail with attachment is as follows:
    public void sendmailAttached(String to,String from,String host,boolean debug,String mailContent,String mailSubject,String cc,String attachFiles)
              String mailarray[]=to.split(";");
              Properties props = new Properties();
              //props.put("mail.smtp.port","425");
              props.setProperty("mail.smtp.host", host);
              if (debug) props.setProperty("mail.debug", ""+debug);
              Session session = Session.getInstance(props, null);
              session.setDebug(debug);
              try {
                   Message msg = new MimeMessage(session);
                  msg.setFrom(new InternetAddress(from));
                 javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[mailarray.length];
                 for (int i=0;i<mailarray.length ;i++ )
                                            toAddress=new javax.mail.internet.InternetAddress(mailarray[i]);
              msg.setRecipients(Message.RecipientType.TO, toAddress);
              msg.setSubject(mailSubject);
              try{
                        String ccaray =cc;                    
                        String mailarray1[]=ccaray.split(";");
                        javax.mail.internet.InternetAddress[] CCAddress=new javax.mail.internet.InternetAddress[mailarray1.length];
         for (int i=0;i<mailarray1.length ;i++ )
         CCAddress[i]=new javax.mail.internet.InternetAddress(mailarray1[i]);
              msg.setRecipients(Message.RecipientType.CC,CCAddress);
              }catch(Exception ss)
                        System.out.println("CC mail exception is ====>"+ ss.getMessage());     
              msg.setSentDate(new java.util.Date());
              Multipart multipart = new MimeMultipart("related");
              BodyPart messageBodyPart = new MimeBodyPart();
              messageBodyPart.setContent(mailContent, "text/html");
              multipart.addBodyPart(messageBodyPart);
                   String fileName = attachFiles.substring(attachFiles.lastIndexOf("/")+1,attachFiles.length());
                   if(!fileName.equals(""))
                        messageBodyPart = new MimeBodyPart();
              DataSource source = new FileDataSource(attachFiles);
              messageBodyPart.setDataHandler(new DataHandler(source));
              messageBodyPart.setFileName(fileName);
              multipart.addBodyPart(messageBodyPart);
              msg.setContent(multipart);
              Transport.send( msg );
              catch(MessagingException mex)
                   Exception ex = mex;
                   if (ex instanceof SendFailedException)
                   SendFailedException sfex = (SendFailedException)ex;
    Address[] invalid = sfex.getInvalidAddresses();
    if (invalid != null) {
    if (invalid != null) {
    for (int i = 0; i < invalid.length; i++)
    System.out.println("Invalid Addresss --------> " + invalid[i]);
    try
         Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress(from));
              Multipart multipart = new MimeMultipart("related");
         BodyPart messageBodyPart = new MimeBodyPart();      
         messageBodyPart.setContent(mailContent, "text/html");
    multipart.addBodyPart(messageBodyPart);
    Address[] validUnsent = sfex.getValidUnsentAddresses();
    javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[validUnsent.length];                         
    if (validUnsent != null) {
    for (int i = 0; i < validUnsent.length; i++)
    System.out.println("Valid Address ------>"+validUnsent[i]);
    String test = validUnsent[i]+"";
    toAddress[i]=new javax.mail.internet.InternetAddress(test);
    msg.setRecipients(Message.RecipientType.TO, toAddress);
    msg.setSubject(mailSubject);
    String fileName = attachFiles.substring(attachFiles.lastIndexOf("/")+1,attachFiles.length());
                   if(!fileName.equals(""))
                        messageBodyPart = new MimeBodyPart();
              DataSource source = new FileDataSource(attachFiles);
              messageBodyPart.setDataHandler(new DataHandler(source));
              messageBodyPart.setFileName(fileName);
              multipart.addBodyPart(messageBodyPart);
    msg.setContent(multipart);
    Transport.send( msg );
    catch(Exception e)
         System.out.println("Mail Not Send");
              else
                        System.out.println("Mail Server Not Connectd ");
    This code is working properly and i am able to send mail with attachment and html formatted content without any problem. But console of server is filled up with too much junk characters because of which the catalina.out file of tomcat server is becoming fully filled.
    Sample cosnole display with  junk characters are as follows:
    Subject: HBSP - DRUCKER - QC - CH16 - QC  R2 Completed
    MIME-Version: 1.0
    Content-Type: multipart/related;
         boundary="----=_Part_34_15681668.1247471518887"
    ------=_Part_34_15681668.1247471518887
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    <b>Hi,</b><br><br>     Chapter CH16 in the project DRUCKER is Completed . <br><br>     <b>Comments :</b> Qc Accepted.<br><br> <b><i>Thanks,<br>ANTONY.</i></b>
    ------=_Part_34_15681668.1247471518887
    Content-Type: application/octet-stream; name=9420317_CH06_p084-119.pdf.zip
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=9420317_CH06_p084-119.pdf.zip
    UEsDBBQAAAAIAMOz6TqHaQ4BUtXhAGzP8QAZAAAAOTQyMDMxN19DSDA2X3AwODQtMTE5LnBkZsQ7
    CTxUX9tCUpIWEomxpoWZuTN3FmvW7P9skaUajCXGiCHSYiuKFrIvlWStROSvaBEtiIpkK5WlUipa
    ZKl898wYRP/37fve7/e69TjnPuc5z3LOuc95zjP3ym7S1lXAKuL5ZTu7HjTyL8ATiCgMiu6wA6Wi
    gjZy86RSvN12U51QWLQRCguT8ESISED/hcITMWgdFJZIgPAwBm2CwhHQFqAdRySRcWg9lC2KBBNQ
    WAIRZ6+mxk/1dEI48qNYF7+/N9WZHwiCSPyY8QtLQDFLlCf/AhYGgiHyDBwBIs7EETEzcCR4Bg6H
    IZBn4LBE7AwcNBOHJ87EwWQ8aTqOgIWJM3C4mX2JMH6GLiQiHjMDR8bD03BYDBYizcDh8LjpOCyM
    xczAETH4mbgZOmNhmDCDHwE7Qz+IhMNO54eHCKTp/GAcboYuBBJMmi6DSIZxU+lYF7KSJnEMb4qb
    B9WbH1md5sjCROHJMHqTN9VvfPGRcGgzOp2BwhOQMUKZofU9nenIDYF1o22rgtXU1EWGRgsia2vp
    Like this display of junk characters are filling up multiple pages of console file.
    Can any one suggest me how to overcome this problem?
    Many thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    There is no "sendmail" method in the JavaMail API.
    The debug flag is set using the Session.setDebug method, or by setting the Session property "mail.debug".
    If you're using someone else's helper classes with JavaMail, they may provide another way to set it.

  • Junk characters using form MR_PRINT

    Hi friends,
    My user generated Invoices using MRRL and generated output using MR90.
    Spool created for these invoices. But in the print, we are getting some lines with junk characters. It looks like chinese characters.
    1. If I see the Spool print preview, still I see the junk characters. That means there is no problem with printer. And it should be a problem either with Output triggering or MR_PRINT form.
    Another point is that, user facing this problem from yesterday only. Earlier to that everything was fine.
    1. Did anyone face this problem?
    2. How can I repeat output in MIR4 to test it again?
    Thanks in advance.
    Regards,
    AK

    Hello
    Regarding SAPLPD it will only be supported for frontend printing in Releases < 4.6C. For all other Releases, please note the
    following:
    For frontend printing, customers should use access method 'G' instead of access method 'F'. See note 821519 for
    more details.
    For server-based printing via access method 'S' or 'U', customers should use SAPSprint instead of SAPLPD. Note
    894444 has all the details. This is valid for ALL Releases.
    For non-latin characters and Unicode use the details as per note 812821.
    Best regards.

  • JDOM + READING HINDI XML  + JUNK CHARACTERS + NEED HELP

    MY QUESTION :
    The Junk characters you see in below xml are hindi characters. When I change font to DVBW-TTYogesh in notepad I am able to see Hindi text.
    When I retreive element's content using getText() of JDOM's Element class I am getting junk characters but not hindi text.
    How to retrieve Hindi Text ?
    <?xml version="1.0" encoding="UTF-8"?>
    <content id="v1_t1_st1">
         <name><![CDATA[������� ���������� �������������� ���� ����������� ����� ��������� ������]]></name>
         <step id="1" loadFullPage="true">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_01.mp3"/>
              <graphic src="02_10_01_001_01.swf"/>
              <transcriptText><![CDATA[������������, ������� ��� �������� ���������� ��� ��� ��� ��� ������������ �������� ��� ����� ����� ��� ������ ��������� ��� (������) �������� ��������� ��� ������������ ��� ���� ������ ��������������� �������� ��� ������ ��� ����������]]></transcriptText>
         </step>
         <step id="2" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_02.mp3"/>
              <graphic src="02_10_01_001_02.swf"/>
              <text>
                   <point><![CDATA[������ �������������� ��������]]></point>
                   <point><![CDATA[������ ��� ������������]]></point>
              </text>
              <transcriptText><![CDATA[������ �������������� ������� ���� ��������� ������������ ��� ���� ������ ������� ������� �� ���� ��� ������ ��� ������ ������� ��� ������ ��� ��� ������ ��� ��� �������� ��� ���� ��� ����� ������� ���� ���� ������� ��� ����� ����� ������������ ���� ������������ ������� ���, ������ ���� ������ ������ ����� ��� ��������� ���� ������ ��� � ���� ��� ����� ��� ������������ ���� ������]]></transcriptText>
         </step>
         <step id="3" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_03.mp3"/>
              <graphic src="02_10_01_001_03.swf"/>
              <text>
                   <point><![CDATA[�������� �������]]></point>
              </text>
              <transcriptText><![CDATA[������� ������� ������� ���������� ��� �������� ���, ����� ����� ������� ���������� ��� ����� ��� �������� ������� ����� ���������, ������ ������� ��� ������ ������� ��� ������� ���� ��������� ��� ������]]></transcriptText>
         </step>
         <step id="4" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_04.mp3"/>
              <graphic src="02_10_01_001_04.swf"/>
              <text>
                   <point><![CDATA[����� ������� �����]]></point>
                   <point><![CDATA[������]]></point>
              </text>
              <transcriptText><![CDATA[����� ������� ��� ��� �������� �������� ������ ��� ����� ������� ������ ����� ������� ����� ��� �������� ����  ���� ���� ������� ��, �������� ��������� ������ ���������� ���� ������� ��� ������ ��� ����� ��������� ��� ������ ������ ������ ����]]></transcriptText>
         </step>
         <step id="5" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_05.mp3"/>
              <graphic src="02_10_01_001_05.swf"/>
              <text>
                   <point><![CDATA[������� ������]]></point>
                   <point><![CDATA[���������]]></point>
                   <point><![CDATA[U ������]]></point>
              </text>
              <transcriptText><![CDATA[������ ����� ������ ������ ���� ������� ������� ����� ��������� ��� ����� ������� ����� ��� ����� ������� ������ ���� ��������� ������ ������� ���������� ���� ��� ����� �������� ������� ����<br/>������ ���������� U ��������� ��� ������ ��� ������ ��� ����� ������� ������ ����� ������� ����]]></transcriptText>
         </step>
         <step id="6" loadFullPage="true" templateType="TemplateBullet">
         <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_06.mp3"/>
              <graphic src="02_10_01_001_06.swf"/>
              <text>
                   <point><![CDATA[��������]]></point>
                   <point><![CDATA[������� �����]]></point>
                   <point><![CDATA[��������� �����]]></point>
                   <point><![CDATA[�������� ���� ]]></point>
              </text>
              <transcriptText><![CDATA[������� ��� ������ ���� ������� ����� ������� ��������� ��� ����� ��� ���������� ���� �������� ������� ����<br/>�������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ������ ��� ������ ������� ����<br/>���� ������, ������� ����� ��� ������ ���� ������ ������� ���<br />������ ����� ������ ��������������� ����� ������� ���������� ��� ������� ������ ������� ���]]></transcriptText>
              <Practice>
                   <Question audio="02_10_01_001_06_q.mp3"><![CDATA[�������, ������� ����� ������� ��������� ������ ��� �������������� ��� ���������� ��� ������� ������� �� -]]></Question>
                   <Answers>
                        <Option answer="1"><![CDATA[������� ����� ����� ��������� �����]]></Option>
                        <Option><![CDATA[����� ������]]></Option>
                   </Answers>
                   <CorrectFeedback audio="02_10_01_001_06_fb1.mp3"><![CDATA[���� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></CorrectFeedback>
                   <IncorrectFeedback audio="02_10_01_001_06_fb2.mp3"><![CDATA[���� ����� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></IncorrectFeedback>
                   <Alert></Alert>
              </Practice>
         </step>
         </content>
    MY QUESTION :
    The Junk characters are hindi characters. When I change font to DVBW-TTYogesh I am able to see Hindi text.
    When I retreive element's content using getText() I am getting junk characters but not hindi text.
    How to retrieve Hindi Text ?
    2nd question :
    When I store Hindi language in xml I am not able to see hindi characters.

    MY QUESTION :
    The Junk characters you see in below xml are hindi characters. When I change font to DVBW-TTYogesh in notepad I am able to see Hindi text.
    When I retreive element's content using getText() of JDOM's Element class I am getting junk characters but not hindi text.
    How to retrieve Hindi Text ?
    <?xml version="1.0" encoding="UTF-8"?>
    <content id="v1_t1_st1">
         <name><![CDATA[������� ���������� �������������� ���� ����������� ����� ��������� ������]]></name>
         <step id="1" loadFullPage="true">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_01.mp3"/>
              <graphic src="02_10_01_001_01.swf"/>
              <transcriptText><![CDATA[������������, ������� ��� �������� ���������� ��� ��� ��� ��� ������������ �������� ��� ����� ����� ��� ������ ��������� ��� (������) �������� ��������� ��� ������������ ��� ���� ������ ��������������� �������� ��� ������ ��� ����������]]></transcriptText>
         </step>
         <step id="2" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_02.mp3"/>
              <graphic src="02_10_01_001_02.swf"/>
              <text>
                   <point><![CDATA[������ �������������� ��������]]></point>
                   <point><![CDATA[������ ��� ������������]]></point>
              </text>
              <transcriptText><![CDATA[������ �������������� ������� ���� ��������� ������������ ��� ���� ������ ������� ������� �� ���� ��� ������ ��� ������ ������� ��� ������ ��� ��� ������ ��� ��� �������� ��� ���� ��� ����� ������� ���� ���� ������� ��� ����� ����� ������������ ���� ������������ ������� ���, ������ ���� ������ ������ ����� ��� ��������� ���� ������ ��� � ���� ��� ����� ��� ������������ ���� ������]]></transcriptText>
         </step>
         <step id="3" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_03.mp3"/>
              <graphic src="02_10_01_001_03.swf"/>
              <text>
                   <point><![CDATA[�������� �������]]></point>
              </text>
              <transcriptText><![CDATA[������� ������� ������� ���������� ��� �������� ���, ����� ����� ������� ���������� ��� ����� ��� �������� ������� ����� ���������, ������ ������� ��� ������ ������� ��� ������� ���� ��������� ��� ������]]></transcriptText>
         </step>
         <step id="4" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_04.mp3"/>
              <graphic src="02_10_01_001_04.swf"/>
              <text>
                   <point><![CDATA[����� ������� �����]]></point>
                   <point><![CDATA[������]]></point>
              </text>
              <transcriptText><![CDATA[����� ������� ��� ��� �������� �������� ������ ��� ����� ������� ������ ����� ������� ����� ��� �������� ����  ���� ���� ������� ��, �������� ��������� ������ ���������� ���� ������� ��� ������ ��� ����� ��������� ��� ������ ������ ������ ����]]></transcriptText>
         </step>
         <step id="5" loadFullPage="true" templateType="TemplateBullet">
              <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_05.mp3"/>
              <graphic src="02_10_01_001_05.swf"/>
              <text>
                   <point><![CDATA[������� ������]]></point>
                   <point><![CDATA[���������]]></point>
                   <point><![CDATA[U ������]]></point>
              </text>
              <transcriptText><![CDATA[������ ����� ������ ������ ���� ������� ������� ����� ��������� ��� ����� ������� ����� ��� ����� ������� ������ ���� ��������� ������ ������� ���������� ���� ��� ����� �������� ������� ����<br/>������ ���������� U ��������� ��� ������ ��� ������ ��� ����� ������� ������ ����� ������� ����]]></transcriptText>
         </step>
         <step id="6" loadFullPage="true" templateType="TemplateBullet">
         <title><![CDATA[������ - ��������������� ����� ������� ����������]]></title>
              <audio src="02_10_01_001_06.mp3"/>
              <graphic src="02_10_01_001_06.swf"/>
              <text>
                   <point><![CDATA[��������]]></point>
                   <point><![CDATA[������� �����]]></point>
                   <point><![CDATA[��������� �����]]></point>
                   <point><![CDATA[�������� ���� ]]></point>
              </text>
              <transcriptText><![CDATA[������� ��� ������ ���� ������� ����� ������� ��������� ��� ����� ��� ���������� ���� �������� ������� ����<br/>�������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ������ ��� ������ ������� ����<br/>���� ������, ������� ����� ��� ������ ���� ������ ������� ���<br />������ ����� ������ ��������������� ����� ������� ���������� ��� ������� ������ ������� ���]]></transcriptText>
              <Practice>
                   <Question audio="02_10_01_001_06_q.mp3"><![CDATA[�������, ������� ����� ������� ��������� ������ ��� �������������� ��� ���������� ��� ������� ������� �� -]]></Question>
                   <Answers>
                        <Option answer="1"><![CDATA[������� ����� ����� ��������� �����]]></Option>
                        <Option><![CDATA[����� ������]]></Option>
                   </Answers>
                   <CorrectFeedback audio="02_10_01_001_06_fb1.mp3"><![CDATA[���� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></CorrectFeedback>
                   <IncorrectFeedback audio="02_10_01_001_06_fb2.mp3"><![CDATA[���� ����� ����� ���! �������, ������� ����� ������� ��������� ������ ��� ������� ����� ����� ��������� ����� ��� ���������� ��� ������� ������� ����]]></IncorrectFeedback>
                   <Alert></Alert>
              </Practice>
         </step>
         </content>
    MY QUESTION :
    The Junk characters are hindi characters. When I change font to DVBW-TTYogesh I am able to see Hindi text.
    When I retreive element's content using getText() I am getting junk characters but not hindi text.
    How to retrieve Hindi Text ?
    2nd question :
    When I store Hindi language in xml I am not able to see hindi characters.

  • I have been able to open PDF docs using C# API Process.Start("Full_path_To_the_PDF_File") in windows 7 or windows 8 with all previous versions of Acrobat32 reader.

    I have been able to open PDF docs using C# API Process.Start("Full_path_To_the_PDF_File") in windows 7 or windows 8 with all previous versions of Acrobat32 reader.
    However, with v11.0, the same command, in Windows 8, it does not open the PDF document. I can see the Acrobat(32) started in the task manager, but the document does open. Not sure how I can troble shoot this problem. Any help would be appreciated.

    I haven't use the C# API but I imagine it is the same as C ShellExecute. Which in turn is the same thing (in essence) as double clicking in Windows Explorer.
    So... does Adobe Reader run normally on this machine?
    And does it start and open if you double click on a PDF file?

  • How to read records from Relationship table using ABAP API's

    Hi All,
    I need to retrieve the records from Relationship table. In Java API's I came to know there is an option to retrieve this. I could not find anything in ABAP API's. Is there any option in ABAP API's to do this.
    Please Suggest.
    Thank You,
    Gajendra.

    Hi Gajendra,
    You can mainly read records from MDM (in a DDIC structure) using ABAP API's using the following function modules/methods:
    1. RETRIEVE: This is used to generically retrieve records from tables. Attributes and Values can also be retrieved.
    2. RETRIEVE SIMPLE: Retrieve records from MDM in a simple way.( simple data types).
    3. RETRIEVE CHECKOUT: Retrieves all checked out ID's.
    4. RETRIEVE ATTRIBUTES: Retrieves attribute(s) from a Taxanomy table.
    You will find all these methods in the following interface
    Interface : IF_MDM_CORE_SERVICES
    Hope it helps.
    *Please reward points if found useful.
    Thanks and Regards
    Nitin Jain

  • Question about using JavaMail API to read the calendar folder...

    Hi,
    I've made an application that goes to the mail server, fetches all mails in the calendar folder and tells you the meetings you have in a particular day.
    I'm using JavaMail API for this. My problem is that the application is very slow because I'm forced to fetch (one by one!) the contents of every message.
    My question is: How can Outlook show so fast the mettings you have? Do they have a specific API that allows them to get the right info by only calling certain methods? Is there something similar in Java?
    Thaks for your help!
    Note: I use method:
    folder.fetch(allMessages, fetchProfile);howerver the fetchProfile class does not allow me to specfy that I want to dowload the contents of the message (you only can specify the content_info); specifying all headears does not help me either.

    Clarification:
    The VI you have posted will work as following:
    1) The task will read 2 analog inputs (ai0, ai3).
    2) The acquisition starts, oncece digital signal (trigger) is detected on PFI0
    3) The sampling rate will be as specified in "rate" control - it is continuous analog input acquisition, which means that after trigger is received (point 2), the board will start to generate hardware clock with frequency you specify as "rate"
    4) with each rising edge of that hardware clock, the measurement is taken, and stored into buffer of driver.
    5) DAQmx read will try to read "number of samples per channel" number of samples each time is called - and if there is not enough measurement stored in buffer (step 4), then DAQmx read will wait until DAQ card will measure reaquested number of samples (or timeout occurs before requested number of samples has been acquired)
    6) DAQmx read will be then called 1000 times - so totaly you will read 1000 * "number of samples per channel"  number of samples.
    You do not have to be worried about speed of the loop. In fact, if you need to read just 1000 samples, with 1kS/s, then you can remove for loop and you can change measurement mode from continuous to finite samples, and specify number of samples to read to be 1000. You will read them all properly. I recomend you to read User Manual for your DAQ device - lets say M Series User Manual.
    I hope it is clear now.
    regards,
    stefo

  • Dots are appearing on characters after created PDF through *.dwg file using AutoVue API

    Hi,
       I created PDF's through *.dwg file using AutoVue API 20.2.2. I observed in more zoom of PDF, every character or line has dots. At the same time on second page of PDF drawing lines are thicker that first page of PDF.
       Please kindly help on this, how to remove dots and drawing lines are published same as on first page.
    Thanks,
    Siva

    As with any format that does not support zoomable line thickness, the output is dpi dependent
    Imagine the DPI impact on a PDF is similar to the DPI on an image, except you can zoom into the lines, they look smooth (it is vector) but the position for the specific points is not as accurate as it should
    So it all boils down to how are you generating the PDF?

  • How to read inline feed using android api for odata

    Hi,
    Need help on reading inline feed using android api. BB and iOS supports inline but for android there is no api.
    Please suggest the workaround
    Regards,
    Satish

    This link is very useful:
    Knowledge Management and Collaboration (KMC)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Knowledge%20Management%20and%20Collaboration%20Developers%20Guide.html
    Patricio.

  • Asynchronous read & write by using Asynchronous api provided in nio-java 7

    HI,
    I am trying to write a small program to implement **asynchronous read & write by using Asynchronous api provided in nio in java 1.7** in windows machine.
    i tried the following code to write a small string to a file asynchronously.file is getting created but the contents are not dispalying.
         static long startTime = System.currentTimeMillis();
         static long endTime;
         static long execTime;
         public static void main(String[] args) {
              String path = "C:\\AsynchWrite.txt";
              Path file = Paths.get(path);
              final AsynchronousFileChannel channel;
              long pos = 1;
              try {
                   OpenOption[] options = { StandardOpenOption.CREATE,
                             StandardOpenOption.WRITE, StandardOpenOption.SYNC };
                   channel = AsynchronousFileChannel.open(file, options);
                   ByteBuffer buffer = ByteBuffer.allocate(1000);
                   String writeThis = "Testing by writing a line";
                   byte[] src = writeThis.getBytes();
                   buffer.put(src);
                   channel.write(buffer, pos, null,
                             new CompletionHandler<Integer, Object>() {
                                  @Override
                                  public void completed(Integer result, Object attachment) {
                                       System.out.println("completed successfully");
                                       System.out.println("start time :" + startTime);
                                       endTime = System.currentTimeMillis();
                                       System.out.println("end time : " + endTime);
                                       execTime = endTime - startTime;
                                       System.out.println("Execution Time :" + execTime);
                                       System.out.println("Execution Time(ms) :"
                                                 + execTime);
                                       try {
                                            channel.force(true);
                                            channel.close();
                                       } catch (IOException e) {
                                            // TODO Auto-generated catch block
                                            e.printStackTrace();
                                  @Override
                                  public void failed(Throwable exc, Object attachment) {
                                       // TODO Auto-generated method stub
                                       System.out.println("failed!!");
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         }Please help me out
    Thanks in advance,
    Ravi

    It looks like you are missing buffer.flip() after your put as otherwise the buffer position will be at 25 (not 0 as you expect).

  • Read timed out, for file checkin using SCS API

    Hi,
    I have installed content server and deployed CIS in standalone oc4j.
    I want to checkin files using the SCS API. Initially I was to able checkin a file of size 120MB successfully. When I tried to checkin a file of size 300MB , file is checked in but an Exception with the msg "Read timeout out" is thrown.
    I am able to checkin the same file(300MB) through content server front end without any error.Why do I get exception when using the API?
    [2008-01-11 09:56:07,343] [main] WARN (com.stellent.cis.server.api.scs.protocol.impl.HDAProtocol) - Unable to find end header mark! ()
    [2008-01-11 09:56:07,343] [main] WARN (com.stellent.cis.server.api.scs.protocol.impl.HDAProtocol) - Did not read any headers from input, setting type to UNKNOWN_TYPE
    com.stellent.cis.client.command.CommandException: com.stellent.cis.server.api.scs.request.SCSRequestException: Error reading the response from the Content Server: Read timed out
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:338)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.execute(SCSCommand.java:222)
         at com.stellent.cis.client.command.impl.services.CommandExecutorService.executeCommand(CommandExecutorService.java:57)
         at com.stellent.cis.client.command.impl.CommandFacade.executeCommand(CommandFacade.java:158)
         at com.stellent.cis.client.command.impl.BaseCommandAPI.invokeCommand(BaseCommandAPI.java:84)
         at com.stellent.cis.client.api.scs.document.checkin.impl.SCSDocumentCheckinAPI.checkinFileStream(SCSDocumentCheckinAPI.java:707)
         at test.CheckinFile.execute(CheckinFile.java:85)
         at test.CheckinFile.main(CheckinFile.java:60)
    Caused by: com.stellent.cis.server.api.scs.request.SCSRequestException: Error reading the response from the Content Server: Read timed out
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.parseResponse(SCSRequestProcessor.java:223)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.processRequest(SCSRequestProcessor.java:114)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:61)
         at com.stellent.cis.server.api.scs.request.stream.SCSOptimizedPublishFilter.handleRequest(SCSOptimizedPublishFilter.java:128)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.stream.SCSOptimizedRetrieveFilter.handleRequest(SCSOptimizedRetrieveFilter.java:250)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.rewrite.SCSRewriteURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.cache.impl.SCSServiceCacheFilter.handleRequest(SCSServiceCacheFilter.java:104)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestFilterChain.doRequestFilter(SCSRequestFilterChain.java:58)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestExecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeViaProxy(SCSCommand.java:353)
         at com.stellent.cis.server.api.scs.impl.SCSCommand.executeRequest(SCSCommand.java:335)
         ... 7 more
    Caused by: java.net.SocketTimeoutException: Read timed out
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
         at com.stellent.cis.server.api.scs.protocol.impl.HDAProtocol$1.read(HDAProtocol.java:379)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at com.stellent.cis.server.api.scs.protocol.impl.BaseHDAProtocol.determineFormat(BaseHDAProtocol.java:150)
         at com.stellent.cis.server.api.scs.protocol.impl.HDAProtocol.readMessage(HDAProtocol.java:308)
         at com.stellent.cis.server.api.scs.request.impl.SCSRequestProcessor.parseResponse(SCSRequestProcessor.java:206)
         ... 20 more
    Regards
    Raji

    I would probably guess that CIS is configuring its socket threads to have particular timeouts (to limit the time you would wait if something seriously went wrong with the request). Typically CIS is focused on page generation in APP servers or portals and these app servers (or portals) tend to like timeouts on their requests. This of course is unsuitable for the scenario of uploading the file. I would consult the CIS documentation to see if there are any mechanisms for tuning this behavior. If not, try contacting support.

Maybe you are looking for

  • Possible to rebuild iPhoto Library in a new location?

    I have managed (between multiple updates of iPhoto over the years) to wind up with a lot of duplicate photos in my iPhoto Library folder. What I'd like to do is have iPhoto rebuild it's library in a new location, so as to eliminate anything in that f

  • CTI Integration

    Hi Everyone, I am setting up contact center, implementing Oracle Teleservice module with AVAYA IR/PBX/ACD systems. Could anybody suggest which is the appropriate CTI middleware, where from i can acquire it, and guidelines on integration procedure. Th

  • How can I copy a whole day?

    I want to copy a whole day worth of activity's to make them repeat. How do I do this? I tried command A and click and drag over all the items but that only make a new event.

  • Jpeg and dpi?

    How do I create in jpeg format an image no larger than 8" h x 8" w at a resolution of 300dpi or less that I can transfer to a CD-Rom that is PC compatible?  I'm entering a sculpture competion, and these are the requirements.  Many thanks!

  • Safari "can't establish a secure connection to the server insert website "

    Per the title, Safari has started saying that it cannot establish a secure connection to the server. This occurs when I try to log in to any website. I have reset Safari, I have turned my router off and on (I am using a WiFi connection). I upgraded (