1. Xerces is a fully validating parser so YES it is possible to validate a
XML document against a schema or DTD with Xerces. The schema validator has
been around a couple of months now so I think is beginning to be stable.

2. I think this package is compiled with gcc. If it is compatible with g++ i
do not know. You will just have to test it.
http://xml.apache.org/dist/xerces-c/stable/xerces-c2_2_0-linux7.2Proton.tar.
gz
If it isn't then compiling Xerces source with gcc should be a breeze.

Regards

Erik Rydgren
Mandarinen systems AB
Sweden


-----Original Message-----
From: Esther Parrilla Endrino [mailto:[EMAIL PROTECTED]]
Sent: den 19 februari 2003 17:34
To: [EMAIL PROTECTED]
Subject: Xerces C++ compiler


Hello all!

I need to do a very simple example in C++ of a class that parses an XML
file and validates it against its schema.
Looking the http://xml.apache.org/xerces-c/index.html page I read that
Xerces C++ implements partially DOM3 and so I suppose it�s possible to
do what I neeed... My platform shall be RedHat 7.3, so I have seen that
I can download the rpm file: Redhat Linux 7.2   Intel C++ Compiler v6,
icc  ... but my classes are going to be compiled using g++ not the Intel
compiler...
I have a few questions:
- Is it possible to valide an XML file against its schema using Xerces
C++ parser?
- Can I use the Xerces API downloaded from Apache which is compiled with
Intel compiler with my C++ classes that are compiled with g++?
   Or do I have to download the Xerces source and try to recompile it
with g++?

Well, if someone could help me I would appreciate it a lot!
Thanks in advance! :)

e~

--

~ Code matters more than comercials ~

--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to