Setting cursor to Start Tag in kXML

Hi Friends,
I am parsing XML doc in J2ME app using kXML, after parsing XML once it sets its cursor to the end of document, can anybody tell me how can I set it to start of doc?
after parsing doc if wanna see where is the cursor, I am using event.getType() and its showing me value '8', which is end of document.
Thanks,
Rohan Chandane

Is this possible?BDB JE does not have a way to index records by ordinal position. This is a common problem with database systems. Please see the following thread.
Re: traversing and pagination
If you have additional questions, please don't hesitate to ask.
--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Error message end tag and start tags dont match when publishing to flickr from lightroom 5.3

    I have had an ongoing problem that lightroom publishing to flickr times out frequently when uploading many photos.  However, for about the last week or two weeks i have been getting a different error message:
    Error message: “Can’t update this collection.  An internal error has occurred:  End tag ‘body’ does not match the start tag ‘hr’. 
    Windows 7 system.
    I set up a photoset in lightroom (have tried both smart and regular photosets with same results).  These photosets can contain anywhere from 16 to 3000 or more photos. The first photos are uploaded – maybe 10, maybe 100, maybe 1000.  Then it generally seems to stop working.  Sometimes I can continue publishing new photos or republishing, sometimes I cant.  For example I currently have 11 flickr publish photosets in one lightroom catalog, with the following success numbers:
    NAHCR00 total 3044, published: 1851
    NAHCR01 total 748,published: all
    NAHCR03 total: 532 published: all
    NAHCR04  total: 412 published: all
    NAHCR05 total: 340 published: 152
    NAHCR07 total: 248 published: 50
    NAHCR08 total: 524 published: 197
    NAHCR09 total: 44 published: all
    NAHCR10 total: 40 published: all
    NAHCR11 total: 32 published: all
    NAHCR12 total: 124 published: 4
    I have succeeded in uploading over 28000 pictures from flickr (mostly from three other lightroom catalogs to several flickr account, both paid and free).  The other catalogs marks the photosets as public  and generally seems to be more successful at uploading.
    All of these problem photosets are marked as private so that only I can see them.  The  photos themselves have peculiar names including many special characters including chinese characters, arabic alphabets, spaces, commas, exclamation marks etc etc.  I tried telling lightroom to rename the files to names with no special characters but it still fails.
    I emailed Flickr with the above information and this was their response:
    Thank you for contacting Yahoo Flickr.
    I would first like to apologize for any inconvenience you have experienced while attempting to upload photos to your Flickr account.
    First, Lightroom is a 3rd-party application; we can't offer any support for it. Please contact the developer of that application for help.
    With that said, please note that there's a known issue with Avast's Web Shield and AVG antivirus that causes issues with uploads. If you have either of these applications, disable the "Link Scanner", add Uploadr to the exceptions list, and then try to upload. If the issue persists, temporarily turn off the anti-virus / firewall and try to upload again.
    Please also see the following article on Flickr's upload limitations:
    Flickr upload limitations
      Lastly, here are some general troubleshooting steps that you can try: 
    Most connection issues arise due to a problem between your computer and Flickr and are often temporary. Try the following:
    Briefly power off any broadband modems and routers to reset the network connection.
    If you connect wirelessly, move your computer closer to the wireless access point, or 'plug in'.
    If you're connected through a router, try plugging directly into the broadband modem.
    See your manual for configuration options if the router is slowing or blocking uploads.
    Also, try lowering your # or matching it to your ISP's value.
      Additional troubleshooting 
    Try uploading with an alternate method:The web upload page, the Uploadr app, or upload by email.
    If you're using an older version of Uploadr, update to the latest version.
    Search our forums to see if there are any specific network hardware incompatibilities.
    I realize that this isn't a satisfying response to your request, and I am sorry for that. Please let me know if I may be of further assistance, or if you have any questions or concerns.
    Thank you again for contacting Yahoo Flickr.
    Regards,
    Elliot
      Yahoo Customer Care

    I had the same problen with Lightroom 5 - Prepares the files but won't Upload to Blurb. Tried numerours times. It is a Landscape size Book 132 Pages. There is a BUG in Lightroom and here is how I got it to work:
    Check each slide and make sure APPLY BACKGROUND GLOBALLY, GRAPHIC or BACKGROUND COLOR and not checked,. If so Uncheck them.
    Go to EDIT and SELECT ALL Slides in the Book.
    Select Apply Background Globally - turn it off and on several times, then leave it off
    Select GRAPHIC - turn it off and then turn it on and off several times
    Select BACKGROUND COLOR - turn it on then off then on then off
    I ended up with APPLY GLOBALLY unchecked for Every Page.
    GRAPHIC was turned on with a Graphic set at 12% Opacity on every Page
    Again check each page first for these Checkmarks or just fix exverything with SELECT ALL.
    Background Color was Turned off. 
    NOW UPLOAD THE BOOK - It took a couple hours but it uploaded without a hitch., I turned off all Firewalls and Plugged directly into the Router. I am using an IMac 27" with 32 GB of memory and this is the only way it would work. The Mac is about 7 days old and Lightroom 5 is also 7 days old. BUGGIEST piece of software I have ever used.
    Note - one of the above steps fixes the BUG - I am not sure which one but one will fix your book. It finally uploaded to BLURB today. It took a few hours though.

  • Hi friends i have doubt on set cursor.

    i am using dialog programming. here in the first text field i am auto generating the number, so user should only suppose to enter the values for other repective fields only.but in execution the cursor is positioning at the first field. it should start from the second and so on.
    i tried using SET CURSOR FIELD F2. but tbe result is same. please provide me guidence on this.

    Hi,
    In the PBO of the dialog module,write the following code :
    SET CURSOR FIELD `FIELD2`.
    Remember the FIELD2 is the name assigned to the textbox of the screen.
    Best regards,
    Prashant
    PS : Please reward all helpful answers

  • Back In One Frm To Prev Frm Than Than Set Cursor Postion

    Hi all
    In My Project One Problem Is Arising, me Run Project in Web ,
    Prob is When I run Project and Calling Form Main to Other From And Back To Main From than Cursor Position is Not Set ,
    So Any Function In Oracle Form To Set Cursor Position In Form.
    Help Me,
    Thanks

    hi role
    your ansid g8 and it working in simple application, but my appliation is run in the web and useing java applet , in that his is not working but in case i put any ack or message box in the when_window_active event and run . than it's working
    means
    start application and go main menu
    1 entry form
    2 add record
    3 display record
    choice "textbox"
    in text box i select any number into 3 and go this form but main form not exit, it nessacery, now i cloesd potion form and back to main form then cursor not set in text box , manuly click on text box .
    but i put message box in window_active event than is set
    so what is the prob i not understood
    help me

  • How to set cursor at the first line in a table control?

    Hi,
           I have a customized infotype screen where a table control is being used to input new values.The tab control has 30 lines.Now, the problem is that when the screen is displayed, the cursor always starts at 8th or 4th line.The behaviour is not very consistent.I tried the following statement in the PBO, but no effect.
    SET CURSOR FIELD P9417-ZCOUNTRY LINE 1.  ( P9417-ZCOUNTRY is the name of the tab control field where i want to set the cursor ).This is the last statement in the PBO.
    Can someone please tell me why still I am not able to set the cursor at the first line? I have infact noticed that , in the debugging mode , sometimes the cursor starts at the first line.Please help. Thanks

    I have got a new requirement on this now. If the table control does not have any records , then the cursor position should be on the first row.Otherwise, if it already has some records, then the cursor should be at the first empty row.I wrote the code like below.
    if sy-ucomm = 'INSERT'.
    set cursor 'P9714-ZCOUNTRY'  line 1.
    else if sy-ucomm eq 'CHANGE'.
    describe table itab lines fill.
    fill = fill + 1.
    set cursor 'P9714-ZCOUNTRY'  line fill.
    endif.
    I am facing a strange problem now.The table control has some 10 rows when you see the screen for the first time.If the number of records already present is less than 10, I am able to position the cursor on the first empty row.But if the number is say 15, then the cursor position goes to eighth or fourth line or sometimes the first line.
    Is there any way to display the last few records , ie, if there are 15 records , is there any way to display the last five rows when I see the screen for the first time, rather than showing the first 10 records?How can I position the cursor at the first empty row, when there are more records?
    Thanks in advance..good answers will be rewarded.
    Mahesh

  • Set cursor position in console

    Hello,
    I would like to set the position of the cursor in the console (command prompt).
    Is ther a way to do this ?
    public void printChar(int x, int y, char ch) {
         <set cursor position>(x,y);
             System.out.println(ch);
        }Thanks

    Ymas wrote:
    Do i have to add something like import java.???
    No, nothing starting with "java.*" will help you. There is no way you can do that using only what Java provides itself, you will need to use external libraries.
    Chances are, you don't want to do this right now and forget about it, just write one line after another.
    If it s not too long could you write me the code for <*set cursor position*>(x,y);Find, download, learn to use JCurses or a similar library and write it. If that sounds like a lot of work for such a "simple" functionality then yes: that is a lot of work for such a little thing.
    It's generally not worth doing.

  • GRC: Negative ack; PI: End tag 'enviNFe' does not match the start tag 'NFe'

    Bom dia SAP Boosters!
    Como muita gente estou aqui brigando com o GRC NFe. Esse forum tem resolvido meus problemas, até agora. Por isso inicio um novo tópico pois estou tendo o seguite problema que nao encontrei resposta:
    O grc e o pi estao em servidores separados. Do lado do grc, na sxmb_moni mostra para a interface BATCH_nfeRecepcaoLote_OB erro no acknowledgement status. abrindo o item error do ack msg id aparece:
    <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">NEGATIVE_ACKNOWLEDGEMENT</SAP:Code>
      <SAP:P1></SAP:P1>
      <SAP:P2></SAP:P2>
      <SAP:P3></SAP:P3>
      <SAP:P4></SAP:P4>
      <SAP:AdditionalText></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
      <SAP:Stack>Negative acknowledgment triggered by a process</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    No lado do PI, ao consultar esta interface e abrir o payload do item Request Message Mapping, aparece a mensagem de erro: End tag 'n0:enviNFe' does not match the start tag 'NFe'. e todo o xml fica em uma linha só.
    Voltei entao no xml do sender e de fato encontrei a tag NFe, onde deveria constar os dados das notas fiscais, sendo aberta mas nao sendo fechada, e sem dados, desse jeito.
    <?xml version="1.0" encoding="utf-8" ?>
    - <n0:nfeRecepcaoLote2 xmlns:n0="http://sap.com/xi/NFE/006">
      <n0:cUF>35</n0:cUF>
      <n0:tpEmis>1</n0:tpEmis>
      <n0:tpAmb>2</n0:tpAmb>
    - <n0:nfeDadosMsg>
    - <n0:enviNFe versao="2.00" xmlns:n0="http://www.portalfiscal.inf.br/nfe">
      <n0:idLote>000000000000025</n0:idLote>
      <n0:NFe asx:root="" xmlns:asx="http://www.sap.com/abapxml"></n0:NFe>
      </n0:enviNFe>
      </n0:nfeDadosMsg>
      </n0:nfeRecepcaoLote2>
    Alguém já viu esse bug? estou com grc 10 e SP 08 e das notas que sairam depois nenhuma fala disso.
    Obrigado.

    Fiz um teste que parou de dar erro de acknowledgement e chegou a enviar o lote para a sefaz, que retornou erro de schema porque o xml continua vazio:
    Na interface determination gerada quando criei o cenário NFE_BATCH_WebAS_Outbound_Batch, a que contém a interface BATCH_nfeRecepcaoLote_OB, tirei o operation mapping BATCH_nfeRecepcaoLote2_TO_nfeRecepcaoLote2. Embora não seja mais retornada a mensagem de erro na tag, o payload continua no mesmo formato postado acima. Entao coloquei de volta.
    Bem, pesquisando vi que a função que gera o xml é a  /XNFE/006_SIGN_NFE_OUT. As notas aparecem como assinadas no monitor do grc, mas vou ter que ver entao como esta ocorrendo a geraçao do xml por esta funçao, certo?

  • My cursor recently started to dissapear when im not using it but when i press a key it flashes back for a second... how do i fix this?

    Well I'm a frequent Firefox user ad recently my cursor has started to dissapear when I'm not moving it. However when i press a key it flashes back for a second also, when I'm moving it flickers a lot (one moment its there one moment it isn't). How do i fix this?
    == This happened ==
    Every time Firefox opened
    == Earlier today (july 20th 2010)

    Never saw this problem until today, first on Facebook, then on these Mozilla support pages. I had one Firefox window with multiple FB and Mozilla tabs open.
    Here's my observations: On the FB and Mozilla pages, the cursor (arrow/hand) acted identical and as described here, would disappear after 2-3 seconds of inactivity or non-motion, then instantly reappear with mouse movement or key strike but only momentarily if no further motion/action occurred. Interestingly, I also had one FoxNews tab (actually FoxNewsInsider) open, and observed slightly different activity. The Cursor/hand would disappear as described above, but instead of staying invisible, it flashed on /off for what appeared to be <1 second on then <1 second off, until mouse movement or key strike. Now, here's the really interesting part ... When I opened a second FoxNewsInsider tab, the problem corrected itself with no direct action on my part to resolve the issue. I was going to close all tabs, then Firefox and perform the system reboot to correct this annoyance ... but, still have not seen the problem.
    Okay, I'm not going to say viewing FoxNewsInsider webpages not only provides one perspective on news, and the added benefit of fixing cursor/hand problems .. but maybe there's some to being well informed ... Sorry folks, couldn't resist ... :) I will be watching for the disappearing cursor issue again, and will reply here with any updates or changes in my observations.

  • Encountering error End tag does not match start tag 'group'

    Hi guys,
    am a newbee to XML Publisher.
    I am encountering the below error:
    Creating XDO Report at: Wed May 25 16:38:14 GMT+05:30 2011
         sql = select 'TEST' from dual;
         description = Learning XML Reporting
         port = 1561
         user = apps
         host = e2dscorhrmdba01.cendant.com
         sid = ABGHRDEV
         ReportParameters = {}
         path = D:\lanosrep\XML\Output\FirstXMLReport
         data_source_name = ABGHRDEV
         name = FirstXMLReport
    oracle.xml.parser.v2.XMLParseException: End tag does not match start tag 'group'.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205)
         at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:516)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1242)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
         at oracle.apps.xdo.dataengine.DataProcessor.getSQLSchema(DataProcessor.java:528)
         at oracle.apps.xdo.dataengine.DataProcessor.writeXMLSchema(DataProcessor.java:476)
         at CreateXDOReport.createXDOReport(CreateXDOReport.java:164)
         at CreateXDOReport.process(CreateXDOReport.java:108)
         at CreateXDOReport.main(CreateXDOReport.java:298)
    I have tried reinstalling the patch but of no use.
    Please guide me.

    I changed the sql query
    select 'TEST' from dual;
    to select 'TEST' from dual
    It is working fine now :)

  • Set cursor in a specific view of transaction MM01/MM02

    Hi,
    We have to check a condition in the user-exit EXIT_SAPLMGMU_001, for transaction MM01/MM02, and if the condition fails the client wants to set the cursor in a specific field from a specific view. Is it possible? I tried to use the sentence SET CURSOR referenced to a remote program but it doesn't work.  
    Does anybody knows how to solve this problem?
    Thanks in advance
    Regards
    Maribel

    Hi
    I hope, you have read the documetation attached with this Standard Enhancement - MGA00001.
    EXIT_SAPLMGMU_001
    Where Is the Customer Exit - EXIT_SAPLMGMU_001 called?
    The customer exit is in function module MATERIAL_UPDATE_ALL. The
    function module checks the data for errors (logical relationships,
    foreign keys, fixed domain values, and so on) when the material master
    is updated.
    Use
    o New fields
    You can make checks possible for new fields of your own. These
    checks must be identical to the checks that you carry out for your
    new fields in online maintenance.
    o Existing fields
    For existing fields, you can extend and intensify the checks.
    You can also change data for descriptions and general material data
    (MARA). For example, the descriptions can be generated from attributes
    of the material.
    Limitations
    You cannot bypass existing checks.
    Interface to Application
    The respective data of the current logical transaction is contained in
    the structures, for example, in structure WMARA for MARA. Nonrelevant
    structures are transferred with their initial values.
    General material data that can be changed (CMARA) has the structure
    MARU. This MARA view contains fewer internal fields than MARA itself. If
    WMARA is filled, CMARA is also filled when accessed.
    The customer exit contains the exception APPLICATION_ERROR for your
    self-defined error situations.
    Using the language element MESSAGE .. RAISING APPLICATION_ERROR, you can
    terminate the current (logical) transaction and display your message in
    the log.
    Also, I guess, have you put some code in the Includes available with the EXITS and then activated the Project in CMOD.
    <b>Reward points</b>
    Regards

  • Set cursor in Control String component

    Hello:
    I would like to set cursor in "Control String" automatically when I open my VI. If I open my VI, cursor should be seen automatically in the text field of "Control String". The user hasn`t set cursor by mouse into this field. Has anybody an idea how can I do?
    Thanks!

    Create a property node for the control on your block diagram and set the Key Focus property value to TRUE.
    http://zone.ni.com/reference/en-XX/help/371361H-01​/lvprop/ctrl_key_focus/
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Set Cursor.vi fails after it has been called for 30 different panel refs in LV 7.1.1

    Make sure both attached files (Run LabVIEW_Cursor_TestCase.vi, SimpleVI.vi) are in the same folder. Run LabVIEW_Cursor_TestCase.vi notice that the -3 error code is returned from "Set Cursor.vi" after it has been called with 30 different panel refs. If "Set Cursor.vi" is replaced with "Set Busy.vi" the same error occurs.Is there a workaround for this problem other that setting the cursor image manually in user32.dll? I must be able to open more than 30 panels and set them all to busy. In the test case I used a single VI, simply to demonstrate the error.
    Message Edited by Jerred on 05-04-2007 10:06 AM
    Attachments:
    LabVIEW_Cursor_TestCase.vi ‏68 KB
    SimpleVI.vi ‏13 KB

    This bug is fixed in LabVIEW 8.0 and later.  Unfortunately, I know of no workaround in LabVIEW 7.x.  When I encountered this bug in one of my UIs in LabVIEW 7.x, my "fix" was simply to ignore the error outputs from the cursor VIs, and to live with the fact that I had no custom cursors after 30 windows had been opened.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How do I set cursor.index to anywhere in the graph array?

    I am using LV 8.5.1 and feeding an XY graph with an X-Y array of data. Only a section of the array is displayed on the graph. I have a cursor (single-plot).
    I would like to set Cursor.Index property node of the cursor associated with the plot to the maximum index value of the graphed array regardless of the XScale range. I don't seem to be able to do it. I cannot set it beyond a certain number. When I rescale the graph I have a new maximum number. Is this what should happen?
    To get around this, I am momentarily setting the XScale.ScaleFit property to 1, which then allows me to set Cursor.Index to maximum (I then immediately reduce my scale range appropriately). I am having to do this before every occurrence of setting the Cursor.Index in case the new setting exceeds the currently allowed maximum value. Just seems a bit clunky.
    Thanks for any help.

    This is no longer a problem. My data is too big to feasibly be fed into a graph so am having to chop it up and use my own index pointer.

  • How to set cursor in table control?

    I have a table control (Screen 300) to display invoice number and amount. For some checks we have around 200 invoices to be displayed.  When user enters the invoice number in invoice text box and click on OK, it should highlight the invoice number and amount row or set the cursor position.
    I have another problem.
    Screen 300 is being called from Screen 200. When the user clicks on OK in 300, 300 is getting closed. Acutally it should be displayed with Cusor position or highlighted row.
    I appreaciate your help ... Thanks

    I believe that you can use the SET CURSOR statement to do the first part of your requirement.  Something like this should work:
    SET CURSOR FIELD w_field LINE w_line.
    Here's the info from SAP help:
    Effect
    : The cursor is positioned on the screen element whose name is contained in upper case in field. The data object field must be character-type and flat. The screen layout or a table control is scrolled in the display so that the screen element on which the cursor is positioned is visible. If the specified screen element is not found, the statement is ignored.
    If the specified screen element is part of a table control or a step loop, the line of the table control or group of the step loop in which the cursor is positioned on the specified screen element must be specified using the addition LINE. For the data object line, the type i is expected. If there is no line or group for the value of line, or the addition LINE is not specified, the statement is ignored. The statement is also ignored if the addition LINE is specified and the screen element is not part of a table control or step loop.
    I hope this helps.
    - April King

  • My Macbook Pro (OSX 10.6.7 2.26 GHz Intel Core 2 Duo) has started misbehaving on me. When I'm working, the cursor will start spontaneously moving to the left in a straight line, and randomly right clicking on things.  If I close the computer and open it b

    my Macbook Pro (OSX 10.6.7 2.26 GHz Intel Core 2 Duo) has started misbehaving on me. When I'm working, the cursor will start spontaneously moving to the in a straight line, and randomly right clicking on things.
    If I close the computer and open it back up, it sometimes stops for a little while, then will spontaneously start again. Any help would be truly appreciated. Thanks!

    See this knowledge base article. Also, you might want to update to 10.6.8 (don't know that that will fix your problem, but it's the latest version of Snow Leopard).
    Clinton

Maybe you are looking for

  • Opening desktop app from internet application

    Hello, I have build an desktop application using swing package. It should be called by an internet application(jsp page). I am placing the desktop appliation(jar file) in a client machine. If the application is not in client machine then it should te

  • Urgent help needed: RFC messages from R3 system are not arriving to the XI

    Hello, We have a RFC to RFC scenario in which when we execute a function module it sends a message to XI through a sender RFC communication channel but the message is not coming to XI. I checked the TCP IP connection between R3 and XI the test connec

  • How to realize Soft SPS in parallel to DAQ ?

    Problem: To control Robots in prallel with a running DAQ. Suggestion: Create a Soft Control (Profi Bus or alike) and an DAQ Software as a LabVIEW Applikation Question: Is this possible to realize or not ?

  • Mountain Lion wifi WEP security connection issues

    After installing Mountain Lion I experienced connection issues with my linksys router when waking from sleep. After trying numerous recommended fixes that would only work for a short period of time I have come across a fix that resolved all issues. 1

  • Import slides from scanner for Photoshop Elements 13

    How do I import slides from my Epson scanner. I don't get the option of what type, photo, negative or slide to import like I did on a previous Photoshop Elements. I am using Elements 13 now. I would appreciate the help. Thanks, Pat