On Monday 27 June 2005 17:37, Stephen Torri wrote:
> The QT parser does not validate an input XML file against the associated
> DTD. It will not tell you were something is wrong in the file and give a
> message saying what it was expecting to see. LibXML provides that
> validation which has made it incredibly easy to fix problem XML files.
> If you can show me how to do that with Qt XML parser I will switch the
> code over to it.

Qt's XML parser isn't a validating parser, but that's certainly not a reason 
to bring libxml in. We've managed to do without a validating parser for 5 
years now, and xml-related errors have never been an issue so I think we can 
keep it that way.

If the format you use for your xml file is so complicated that it requires a 
validating parser and a DTD to check, then you have a very serious design 
problem. You're just handling guitar chords here, e.g. a set of 6 numbers. 
That hardly requires a complex xml format.

-- 
Guillaume.
http://www.telegraph-road.org


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to