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

Thiago Macieira thiago at kde.org
Tue Feb 16 22:06:47 CET 2010


Em Terça-feira 16. Fevereiro 2010, às 21.31.30, Ross Driedger escreveu:
> There are some very compelling reasons to continue supporting DOM:
> 1) It is a W3C standard model.  To discontinue support for is this is
> highly presumptuous.

Which is a very good reason not to have it in Qt. DOM is a full API and it 
doesn't match Qt's principles or style.

Maybe we should remove the Qt convenience functions we added to QDom?

> 2) There is a substantial code base that uses it.  I have invested a
> good deal of time converting my code from xerces to Qt and them
> extending it.  Can I invoice Nokia for the time and effort it will
> take to convert my code into some other proprietary XML model?  I
> didn't think so.

There was a great deal of code invested in Qt 3 before Qt 4 came.

> The more I think about this the angrier I get, considering that DOM
> support is one reason I chose Qt as my framework and that changing the
> implementation to suit something else will likely represent many
> month's work.
> 
> ...and I don't think Nokia will pay my invoice to convert my code...

What part of "Qt 5 is still many years away, it shouldn't be a problem now" 
was lost on you?

-- 
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/08504ec8/attachment.bin 


More information about the Qt-interest-old mailing list