Schema validation is not integrated with the DOM
parser the way DTD validation is. Like Pablo says, you must create
both a parser object and a validator object. If you use libxml++
2.38.0 or later, use XsdValidator. SchemaValidator is deprecated.
There is an example in libxml++:
https://git.gnome.org/browse/libxml++/tree/examples/schemavalidation Kjell Den 2016-02-06 kl. 00:38, skrev Pablo
Madoery:
If any information in this message is really confidential, you should not have sent it to a mailing list, where anyone can read it. |