Re: [xml] the xml schema...

On Tue, Jun 07, 2005 at 09:02:29AM +0530, Sameer Oak wrote:

I was wondering if our gdome2 library had any set of APIs for xml

  I did not follow gdome2 evolution lately. you should ask on the
dedicated list.

It would be good to validate every xml file to its predefined
xml schema beforehand the parsing and just later to generating the xml

This way, the possibility of having the errors occurred during the
actual parsing will be reduced since the chances of falling through the
error checking while parsing will be least and just in case if some
error check is not implemented.

  You can't check before parsing in Schemas/Relax-NG or even DTDs. All
those are based on the expectation the XML parser itself doesn't find
fata errors.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]