Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User prodigy47's Avatar
    Join Date
    Oct 2011
    Posts
    76
    hi all,
    i have some problems again. my rss reader give me that error:

    the Error:
    QNetworkReplyImpl::_q_startOperation was called more than once
    Error FODC0002 in tag:trolltech.com,2007:QtXmlPatterns:QIODeviceVariable:src, at line 1, column 2: Encountered incorrectly encoded content.


    and it didnt show me any data. i havent got xml files. my rss reader read my own asp file. its the same xml file.

    how can i fix it?

  2. #2
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    Hi,
    I guess it's a document problem.
    The xml tag says it's encoded in UTF-8 but actually it's not.

    UPDATE: Check this thread on stackoverflow: http://stackoverflow.com/questions/4...reader-from-qt
    Last edited by gnuton; 2011-11-23 at 10:07. Reason: Add external reference

  3. #3
    Registered User prodigy47's Avatar
    Join Date
    Oct 2011
    Posts
    76
    still there is an error.
    my xml file is an A.S.P. file. i think the problem is this.
    my app didnt parsing my asp file (with xml parsing method).

    i am working for parsing ASP file (with xml parsing method in Qt/QML).

    should i use html parsing method?
    what can i do?

    best regards.

  4. #4
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    You can check your file with http://validator.w3.org/.
    You can use XML parser only if your file is a valid XML file.

    BTW I think html should be more appropriate, but I don't think you can access to ASP code embedded in the HTML.
    Last edited by gnuton; 2011-12-19 at 10:43.

  5. #5
    Registered User diorahman's Avatar
    Join Date
    Dec 2010
    Posts
    41
    Maybe you could "bridge" your RSSFeed and force it to be valid by burning it first at Google's FeedBurner.

  6. #6
    Registered User prodigy47's Avatar
    Join Date
    Oct 2011
    Posts
    76
    my a.s.p. file contains dynamic data. so everyday the data is changing.

    so i need help. its urgent. thans for ur reply.

    best regards.

  7. #7
    Nokia Developer Champion mikkovtr's Avatar
    Join Date
    Nov 2009
    Posts
    198
    Could you show an example of rss data your asp code is generating? Because most likely problem is there.

  8. #8
    Registered User prodigy47's Avatar
    Join Date
    Oct 2011
    Posts
    76
    here is my a.s.p. file contains.

    <?xml version="1.0" encoding="iso-8859-9" ?><rss version="2.0" xmlns:media="http://www.apps-dev.com/repository/mersin.asp" xmlns:ynews="http://www.apps-dev.com/repository/mersin.asp"><rss><pharmacies>
    <item>
    <phrname>DURUS PHARMACY</phrname>
    <phraddress>CITY CENTRE 1/B1</phraddress>
    <phrphone>555 - 555 55 55</phrphone>
    </item>
    </pharmacies></rss>
    best regards.

  9. #9
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    Hi,
    Your XML file is not valid. RSS tag is open two times.
    Remove the second <rss> and it works.

    BTW this needs to be fixed in the RSS generator and not in Qt!

  10. #10
    Registered User prodigy47's Avatar
    Join Date
    Oct 2011
    Posts
    76
    i tried but no result @gnuton. btw thanks ur reply.
    i deleted second <rss> tag and i edited my a.s.p. file. again same result=no result
    its very annoying.

    i am desperate again

    best regards.

  11. #11
    Registered User prodigy47's Avatar
    Join Date
    Oct 2011
    Posts
    76
    hi m8,
    i solved... i retrieved the data in my a.s.p. file.
    thanks a lot for everybody (for their helps).

    best regards.
    Last edited by prodigy47; 2011-12-22 at 02:30.

Similar Threads

  1. External reader plugin for NFC reader (ACR122)
    By mathias4u in forum Mobile Java Tools & SDKs
    Replies: 17
    Last Post: 2012-09-02, 14:02
  2. Reader NFC
    By zamby.ing in forum Near Field Communication
    Replies: 1
    Last Post: 2009-10-21, 22:12
  3. PDF Reader
    By helwg1130 in forum Mobile Java General
    Replies: 2
    Last Post: 2009-07-20, 22:07
  4. resource reader error
    By G2N in forum Symbian User Interface
    Replies: 4
    Last Post: 2004-11-19, 02:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved