Results 1 to 2 of 2

Thread: XML issue

  1. #1
    Join Date
    Feb 2007
    Posts
    13
    Thanks
    2

    Talking XML issue

    I'm currently using QT 4.3.0 on redhat 9.

    I'm sub classing from QXmlDefaultHandler, and using the XMLSimple reader I get the following fatal exception thrown:

    error triggered by consumer.

    It gives a line number and a column number that relates to the close tag on the first line.

    For example:

    <document>
    </document>

    I've used other XML files that I know are correct, and have stripped everything out except for the begin and close tags like above

    Now on a side note, we use QT 4.4.1 on windows. The software that I've developed previously on Windows uses the same XML classes and this is the first time that I've seen an issue.

    Is there a bug with QT 4.3.0 that was fixed in QT 4.4.1?

    Any help would be greatly appreciated

  2. #2
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: XML issue

    Shot in the dark: What happens if your .xml document starts with <?xml version="1.0" encoding="UTF-8"?>?

    If this fails, could you just post your code? It's hard to help otherwise...

Similar Threads

  1. qt4.4 pc specs requirements or qt3 support issue?
    By triperzonak in forum Installation and Deployment
    Replies: 0
    Last Post: 9th August 2008, 03:40
  2. QMainWindow Maximization Issue
    By vishal.chauhan in forum Qt Programming
    Replies: 6
    Last Post: 15th March 2007, 14:30
  3. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 03:59
  4. Mysql LD_LIBRARY_PATH Issue
    By Think_Positive in forum Installation and Deployment
    Replies: 3
    Last Post: 13th February 2007, 20:16
  5. Replies: 5
    Last Post: 22nd September 2006, 09:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.