Re: xsd validation in libxml++
- From: <tremmel gtec at>
- To: <libxmlplusplus-list gnome org>
- Subject: Re: xsd validation in libxml++
- Date: Mon, 19 Aug 2013 08:39:52 +0200 (CEST)
Hey again,
I sadly need to use a SAX parser instead of DOM and can't use the example
posted here. I looked up and it should work with the function
xmlSchemaSAXPlug anyone has an example for that ?
Regards, Christoph
Hey Kjell,
I think that should do it. Thank you very much.
Christoph
Hi Christoph,
Is this what you need?
https://git.gnome.org/browse/libxml++/tree/examples/schemavalidation
There are probably parts of libxml2 that have not been wrapped in C++
code in libxml++. If you miss something in libxml++, you can file a
bug in Bugzilla. If you also attach a patch, there is a high
probability that it will be implemented.
Kjell
2013-08-09 09:46, Hugo van den Brand skrev:
Dear Christoph,
Your question made me think of a code that I wrote in C++ using an
xmlschema.
I also did find a validation for a schema file in libxml++.
I countered this by using libxml2 (the C implementation) to check the
xmlschema.
I wrote one function containing only libxml2 C commands.
After checking I just closed the file and reopened it with the
DomParser in C++ code.
This makeshift solution worked for me and I could provide my function
if you need it.
That of course raises the question whether xsd schema checking is or
will be in libxml++?
Best regards,
Hugo
On Fri, Aug 9, 2013 at 7:51 AM, <tremmel gtec at
<mailto:tremmel gtec at>> wrote:
Hello,
is there an easy way to use xsd validation instead of dtd
validation in
libxml++ ?
Regards, Christoph Tremmel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]