[Qt-interest] How to: parse an xml file with tags

Thiago Macieira thiago at kde.org
Tue Feb 16 22:24:53 CET 2010


Em Terça-feira 16. Fevereiro 2010, às 22.13.38, Josiah Bryan escreveu:
> Ross - Not to add fuel to the fire, but you do realize that Qt is
> GPL/LGPL and the source is available. Even if Thiago et al doesn't
> update QDom from here till eternity, you still could take the source for
> QDom, add it to your own source control repo and update it yourself?
> QDom won't disappear off the face of the planet, it just won't get
> updated by Trolltech - you could still update it to keep it usable with
> future Qt versions once Trolltech (in the far future) drops it...
> 
> Just my thoughts... I've had to do this with other open source projects
> that I relied on, but the maintainers changed direction. So I just
> grabbed a copy of their source at the point that it worked for me and
> added it to my repo for use internally, and updated it to work with more
> recent versions of Qt.

I should also add some more details:

There are no Qt 5 plans. Anything about it is speculation. We don't know when 
it will happen and what it will contain -- or what will be left out. Will 
there be a DOM API? No idea.

But my guess is that there won't be.

The interesting thing about the QtXml module in Qt 4 is that it requires very 
little of the rest of Qt. If Qt 5 doesn't come with DOM support, maybe someone 
can port QtXml 4 to Qt 5 and maintain it.

That someone may be able to give DOM the love it needs and make it even 
better. We're not seeing the value in it because we believe XML streaming is 
more useful and more efficient.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100216/16af215b/attachment.bin 


More information about the Qt-interest-old mailing list