Cannot open the input XML source

Hello

I'm trying to retrieve an RSS feed in XML format and display in the QML file.

Here is the code snippet:

                QByteArray dataArray = reply->readAll(); //reply is QNetworkReply
        qDebug() << "dataArray " << dataArray.data();

        bb::data::XmlDataAccess xda;

        QVariant channelRootData = xda.load(dataArray, "/rss/channel/");
        if (xda.hasError()) {
            bb::data::DataAccessError error = xda.error();
            qDebug() << "JSON loading error: " << error.errorType() << ": "
                    << error.errorMessage();
            return;
        }

HTTP request is successful but XmlDataAcess is unable to analyze the recovered data.

but the same XmlDataAcess is able to analyze the static XML file with the following code

QVariant channelRootData = xda.load("app/native/assets/sample.xml", "/rss/channel/");

Could someone help me.

Try using this function instead:
xda.loadFromBuffer (dataArray, "/ channel/rss /")

XDA. Load() treat the buffer as file name.

Tags: BlackBerry Developers

Similar Questions

  • WINDOWS cannot OPEN THE FILE D:\Sources\Install.wim REQUIERED. Make sure that all required files for installation aare available and restart the installation. Error code: 0x8007000D,.

    IM TRYING to re - INSTALL WINDOWS VISTA ON MY T-6321 to the front door, BUT WHEN I INSERT THE DISC, AND INSTALL, a MESSAGE APPEARS SAYING: WINDOWS cannot OPEN THE FILE D:\Sources\Install.wim REQUIERED. Make sure that all required files for installation aare available and restart the installation. Error code: 0x8007000D, SHOULD ALL BE ON THE DISCALREADY?

    Hi JRCLNSIN100,

     

    Welcome to Microsoft Answers Forums.

    We would like to get some more information from you to help solve your problem. You better, please answer the following questions.

    ·         What is the disk you use to reinstall?

    ·         Is this a recovery or reinstalling the disc you are using?

    ·         When exactly do you get this error message?

    ·         What is the edition of Windows Vista, you try to install?

    ·         How old is the drive that you are using?

    ·         How are you starting the installation process?

    After researching the error 0x8007000D code is essentially due to file corruption and a problem with the drive itself.

    First check if you have scratches or dust on the disc and clean the surface and try again.

    To check if the disk is wrong, you will need to copy the contents of the DVD to the hard drive and try to install using that.

    To perform a flat installation of Windows Vista, follow these steps.

    Note The hard disk must have at least 3 GB of free space on the disk for the Windows Vista installation files. The hard disk must have at least 15 GB of additional disk space to install Windows Vista. For more information about system requirements for Windows Vista, see the Microsoft Web site at the following address:

    http://www.Microsoft.com/Windows/products/windowsvista/editions/SystemRequirements.mspx

    1. Insert the Windows Vista installation disc.
    2. Start Windows Explorer.
    3. In Windows Explorer, click to select the drive for the Windows Vista installation disc.
    4. On the Edit menu, click select all.
    5. On the Edit menu, click copy.
    6. Click to select the hard disk you want to contain the flat installation files.
    7. On the file menu, point to new, click the folder, type Windows Vista Setupand then press ENTER.
    8. Double-click the Windows Vista Setup program, and then click Paste on the Edit menu.
    9. Double-click Setup.exe, and then follow the instructions that appear.

    See the link below for more information on flat installation.

    How to perform a flat installation of Windows Vista

    http://support.Microsoft.com/kb/928902

    This problem can also occur if the firmware of the DVD drive is defective or obsolete.

    If the step above does not resolve the question suggests that you install the latest drivers for the DVD player on the computer.

    For more information please visit the link below.

    Error message when you try to install Windows Vista by using the DVD drive on the computer: "Windows cannot install required files".

    http://support.Microsoft.com/kb/930984

    Hope this information is useful.

    Let me know if it worked.

    All the best!

    Thanks and greetings

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • recover my system. used to install Windows Vista. get the message cannot open the file E:\Sources\Install.wim. Also the code error 0 x 80070002

    So all this started because I tried to clean my computer to give to a friend. I tried refomatting the hard drive, but something was wrong here. After that, when I turn on the computer I get a black screen with message Bootmgr missing. I read a little inside and saw that I could download a Windows Vista recovery disk because my computer did not come with one.
    After that I downloaded and burned the ISO image to a CD, things started looking better. I got to the screen when you select the language and keyboard. Then install windows screen. My options there were 'Install now' and 'repair your computer '. When I try to install, I put in my product key that seems fine. The next message I get is "Windows cannot open the required file E:\Sources\Install.wim. The file does not exist. Make sure all files required for installation are available, and restart the installation. "Error code: 0 x 80070002.
    When I try to repair, he said "select an operating system to repair, and then click Next."
    Operating System: Windows Vista (TM) Home Basic (recovered)
    Partition Size: 34318 MB
    Location: (D :) ACER
    If you do not see your operating system listed, click on load drivers to load the drivers for your hard drives. I try to select Windows Vista retrieved and clicked Next, but what is said "this version of system recovery options is not compatible with the version of windows that you want to repair" or get a recovery of tools such as repair system, System Restore, complete pc windows, tool windows and command promy memory diagnostic restoration. the only problem is he says operatins system: (unknown) unknown local disk...

    Any help would be appreciated. Really want to give my friend a laptop that wont even turn on. Laughing out loud

    Was it Neosmart?

    This isn't an installation disc. It's a record of startup repair!
    You use the repair disk option, not Install.

    How to get Vista recovery Media and/or to use the Vista recovery Partition on your computer.

    There is no Vista free download legal available.

    https://secure.TX.Acer.com/rcdb/main.aspx?brand=Acer

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.

    See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.

    Normally, you have to press F10 or F11; Acer is in some models Alt + F10 at startup to start the recovery process...

    Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Ask them if you can also make recovery disk/s for the recovery Partition in case of a system Crash or hard drive failure.

    They will tell you how to do this.

    Every computer manufacturer has their own way of making recovery disk/s.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Or borrow a good Microsoft Vista DVD (not Dell, HP, etc).
    A good Vista DVD contains all versions of Vista.
    The product key determines which version of Vista is installed.

    There are 2 disks of Vista: one for 32-bit operating system, and one for 64-bit operating system.

    If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu

    http://support.Microsoft.com/default.aspx/KB/918884

    MS advice on the conduct of clean install.

    http://www.theeldergeekvista.com/vista_clean_installation.htm

    A tutorial on the use of a clean install

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Super Guide Windows Vista Installation

    After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.

    Save all data, because it will be lost during a clean installation.

    See you soon. Mick Murphy - Microsoft partner

  • Cannot open the input device. Another program, it may have already. RC = - 10 (Ventrilo)


    • Duuring the time I downloaded Ventrilo, I was getting rather annoyed with it. I can't speak to members of my Guild felloe that this error message keeps popping up, to open the input device. Another program, it may have already. RC = - 10... Ive asked them suggestions, but all I received didn't come clear to solve the problem...

    I use a headset called Gembird AP-870. I searched the web, trying to find a solution but have not found anything that can help me... If anyone knows how I can solve this problem I will be grateful...

    It is located directly above the ORB start and said in fact start search inside.

    If you can't find it always, hit the Windows key and R at the same time to open run and type msconfig.exe, and then enter.  As you will get to the same place.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Cannot display the page XML cannot display the input XML using the stylesheet XSL, how to fix?

    How can I fix this error code:

    The XML page cannot be displayed

    Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    System error:-2146697211. Error during processing of resources "file:///C:/Documents and Settings/a/desktop/SMART.xslt.

    The operating system is Windows XP Home Edition.  I use browsers IE 8, Safari and Mozilla Firefox.
    I'd never see this error until I installed HDDScan (http://hddscan.com/), a diagnostic utility, to check my hard drive.   The test is a S.M.A.R.T. analysis and produces this error message when you use this software.
    A web site indicates that installing Microsoft. NET Framework can solve this problem.  I already have this class in Add Remove Programs: Microsoft .NET Framework 1.1, Microsoft .NET Framework 2.0 Service Pack 2, Microsoft. NET Framework 3.0 Service Pack 2, Microsoft .NET Framework 3.5 SP1, Microsoft. NET Framework 4 Client Profile.
    Is the problem, a missing software program or a corrupted file?  What is Microsoft. NET Framework?  I use selective with most of the disabled items in the services (except hide all Microsoft) and start more disabled under Startup.  Is there something that needs to be checked to activate a service or start to correct this error message?
    How to solve system 2146697211 errors: cannot display page XML cannot display the XML input using the XSL stylesheet?

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. Please post your question in the MSDN forum. You can follow the link for your question.

    http://social.msdn.Microsoft.com/forums/en-us/iewebdevelopment/threads

    Hope the helps of information.

  • Get the Error Message When you try to reinstall Vista: Windows cannot open the required file: E:\Sources\install.wim

    I'm trying to reinstall windows vista for the following reasons:

    1. I have SQL Server 2008 installed on my computer.  I deleted some files a long time ago and it screwed something and I couldn't reinstall.
    2. I had partitioned my hard drive for vista half and half SuSE and I deleted who and when I did, I think I deleted another partition - my recovery partition (E:\?).
    3. I need to clean my laptop.

    When I try to start the installation of a disk and I put in my product key, I get the following error:

    Windows cannot open the required file E:\Sources\install.wim.  The file does not exist.  Make suure all files required for installation are available, and restart the installation.  Error code: 0 x 80070002.

    Let me know if you have any ideas how I can fix it.  My next step was to recreate this E directory and download the install.wim file and re start the installation.  I could not find the file install.wim well.

    Rob

    Hi Rob,

    I checked the link you provided.  What you downloaded was just the Vista recovery environment.  You cannot actually re - install Vista with that and if you blew your recovery partition unfortunately you may be out of luck.  You blew your partition containing Vista runs so the SFC will be of no help either.  I wish I had better news for you, but I don't see any way o get on without a Vista DVD.  I have good news for you if.  When you get your HP drive if you have problems with the installation, we will be able to help you with that.

    Take care and let us know if you need assistance when the disc arrives. Locutys of Borg

    Resistance is futile

    If you don't succeed the first time skydiving probably isn't for you!

  • ERROR: Cannot open the data source for the user

    Hello, I followed the instructions in the URL below

    http://gavinsoorma.com/2010/02/GoldenGate-installation-Oracle-11g-on-Red-Hat-Linux/

    and I get the ERROR: cannot open the data source for the user

    I run the sql for the role but nothing

    any ideas please.

    Sun solaris operating system
    database version 9.2.0.7

    Previous question that you were:
    Where did you get the GoldenGate for Oracle 9i software?

  • Error: Cannot open the file: 1

    [INFO]              Parsing of the command line options
    [INFO]              Bbwp.properties analysis
    [INFO]              Validation of archive WebWorks
    [INFO]              The analysis of config.xml
    [INFO]              The application of filling source
    [INFO]              Compiling applications WebWorks
    [INFO]              Packaging of the record bar
    Error: Cannot open the file: 1

    Once I rebooted my machine it worked... But I dint knew why this error occurred

  • Error: Cannot open the disk: Test.vmdk

    Hi all

    I'm having a problem with the ovftool.

    Here's what I did.

    (1)I have created a virtual machine running CentOS.

    2)these are the 3 files I had.

    Test.vmx

    Test.VMDK (file descriptor)

    # Disk DescriptorFile

    version = 1

    CID = 5046e880

    parentCID = ffffffff

    createType = "vmfsPreallocated."


    # Description of the measure

    RW 83886080 VMFS 'Test - flat hard' 0


    # The database disk

    #DDB


    ddb.virtualHWVersion = "4".

    DDB. Geometry.Cylinders = "83220.

    DDB. Geometry.Heads = "16".

    DDB. Geometry.sectors = "63".

    ddb.adapterType = "free".

    Test - flat hard

    (3) this is the command I ran

    OVFTool 'Test.vmx' 'Test_New.ova '.

    (4) it is the error I got.
    2012-09 - 05T 12: 24:57.817 + 05:30 [verbose 7F22134FE740 "Default"] [ovfTool.cpp] is the initialization of the libs
    2012-09 - 05T 12: 24:57.817 + 05:30 [verbose 7F22134FE740 "Default"] [ovfTool.cpp] the determination of source
    2012-09 - 05T 12: 24:57.818 + 05:30 [verbose 7F22134FE740 "Default"] [ovfTool.cpp] the determination of targets
    Source VMX opening: Test.vmx
    2012-09 - 05T 12: 24:57.821 + 05:30 [verbose 7F22134FE740 "Default"] could not open the disk:./Test-1-0.vmdk
    2012-09 - 05T 12: 24:57.821 + 05:30 [7F22134FE740 verbose "Default"] Exception: cannot open the drive:. / Test-1 - 0.vmdk. Reason: The specified file is not a virtual disk
    Error: Cannot open the disc: Test-1 - 0.vmdk

    Help, please!

    Thank you

    createType = "vmfsPreallocated."

    is not an options valid here - have you set yourself?

    Try
    createType = "vmfs".

  • Cannot open the catalog on CD

    I need to export a catalog for a college assignment and burn it to CD. The export had a slight hiccup with conflicts in the metadata to dng files 2, but I just ran over the data. The main problem is when I burned the files on a CD and tried to open the catalog on CD, I get the following error:

    "lightroom cannot open the catalog named"..." "" located on the DVD RW drive (e) volume because Lightroom can't save the changes to this place.

    What I am doing wrong? I use LR3.4 and under Win Vista on my laptop at home. Is this a problem with my pc? Can I use the Mac to College instead? I need to know as soon as the transfer is due May 11, 2012 (on Friday).  Thanks for any input.

    A catalog cannot exist on a CD and be used as a catalog must be writable and are not CD. You can copy the catalog from the CD to the computer, that you have the CD to use however.

    The best option is to use a flash drive (USB key) for that well that rather than a CD.

  • Cannot open the application "Mail" because PowerPC applications are no longer supported

    I work on a MacBook Pro mid 2012

    Intel Core i5 2.5 GHz

    OS X El Capitan 10.11.6

    The Mail app suddenly quit and when I tried to resume, I got this message

    "Cannot open the application"Mail"because the PowerPC applications are no longer supported."

    This also happens with the "Maps" app

    All Mac software are up to date, but "Mail" has been working fine since my last update that was awhile ago.

    I am confused to say the least. Suggestions? Thank you!

    If you do a Get Info (command - I) on Mail and Maps applications, what version numbers do you see?

    Try a reboot.

    Make a backup using Time Machine or a cloning program, to ensure that data files can be recovered. Two backups are better than one.

    Try to set up another admin user account to see if the same problem persists. If back to my Mac is enabled in system preferences, the guest account will not work. The intention is to see if it is specific to an account or a system wide problem. This account can be deleted later.

    Isolate a problem by using a different user account

    If the problem is still there, try to start safe mode using your usual account.  Disconnect all devices except those necessary for the test. Shut down the computer and then put it up after a 10 second wait. Immediately after hearing the startup chime, hold down the SHIFT key and continue to hold it until the gray Apple icon and a progress bar appear. Startup is considerably slower than normal. This will reset some caches, forces a check for directory and disables all start-up and connection, among other things. When you restart normally, the initial restart may be slower than normal. If the system is operating normally, there may be 3rd party applications that pose a problem. Try to delete/disable the third-party applications after a reboot using the UN-Installer. For each disable/remove, you need to restart if you do them all at once.

    Safe mode - on El Capitan

    Start Mode without failure-El Capitan.

  • ID but cannot open the phone

    معرف ولكن لا يمكن فتح الهاتف

    I know that ID but cannot open the phone

  • Cannot open the application "Adobe Installer" because PowerPC applications are no longer supported.

    I'm trying to install Adobe Creative Suite 2 Premium on my MacBook Pro (OS X El Capitan).  When I click on the install icon, I get the following message: cannot open the application "Adobe Installer" because PowerPC applications are no longer supported.  Can I do to solve this problem?

    Try to install mode without failure. Hold the SHIFT key while rebooting.

  • Satellite A300-M01 - fingerprint - cannot open the sensor with Win XP

    Hello

    I got a Satellite A300-M01 with Windows Vista but my my software is very slow, so I'm a Windows XP Installer to put in. After that, the fingerprint reader no longer works the registration of fingerprints he'll only say 'Cannot open the sensor' and if you access the service of this device it says "specified device instance handle does not match this device."

    I already downloaded the driver for this sensor of isd.toshiba.com.au, but after the installation, the problem is the same. Any info is much appreciated.

    Thank you.

    Ray

    Hello!

    Have you installed the tools and all the other drivers of Toshiba?

    Search on the Toshiba site for a BIOS update.
    Maybe this can solve the problem.

    Good bye

  • 9.1 Safari cannot open the page after el capitan 10.11.4 updated updated

    have an imac (retina 5 k, 27 ", end of 2014)

    4 GHz of processor intel core i7

    8 GB 1600 Mhz DDR3

    1 TB of flash storage

    running Safari 9.1 (11601.5.17.1)

    Safari opens but does not open the page - get - Safari cannot open the page - safari can't open the page because the server dropped the connection unexpectedly.

    Journal of the console after repeated attempts-

    appreciated all help to solve them.

    Go step by step and test.

    1. turn off the power to the router. Unplug it from the wall. Wait a while.

    Plug it in, back to the wall. Turn on the router. Wait for all lights are light up properly. It will take a while.

    Restart the computer.

    Boot mode safe.

    https://support.Apple.com/kb/PH18760?locale=en_US

    2 remove Caches.db

    Close all windows and close all applications.

    Hold down the 'option' key, then click on the "Go" menu in the Finder menu bar.

    Select 'Library' in the menu dropdown.

    Library > Caches > com.apple.Safari > Caches.db

    Right-click on the Caches.db file and select "move to trash".

    Close the windows.

    Restart and restart Safari.

    3 empty Caches

    Safari > Preferences > advanced

    Tick the box "Show develop menu in menu bar."

    Develop menu will appear in the Safari menu bar.

    Click on develop and select 'Empty cache' in the menu dropdown.

    4. remove the Cookies

    Safari > Preferences > privacy > Cookies and other data from the website:

    Click on the button "Details".

    Delete all cookies except those from Apple, your internet service provider and the banks.

    5 Disable Extensions and test them.

    Safari > Preferences > Extensions

    Uncheck 'Enable the Extension' and test.

    Enable the Extensions one by one and test.

    To uninstall any extension, select it and click the "Uninstall" button

Maybe you are looking for