Hmm. Brain failure. Very sorry :<.
Of course the current version is 2.7 (not 1.7).
I'm assuming you mean 2.6 rather than 1.6?
If you really do mean 1.6 then it won't work. It's been a long time
(and someone will correct me I'm sure) but 1.6 used a completed
different structure for the DOMNode that is incompatible with the 2.x
series.
If that's the case, then you might want to try compiling up 2.7 as a
separate library on your system. The libraries are versioned, so you
should actually be able to run them in parallel. I commonly compile the
library using specific versions of Xerces, regardless of what is on the
system as the default, and you can configure the library that it
compiles against using ./configure options. (--with-xerces=....)
Apologies for the incorrect response the first time around. My excuse
is new baby and no sleep!
Cheers,
Berin
Berin Lautenbach wrote:
The library has a bunch of #ifdef statements in there for various
aspects and will detect the version of Xerces it is working against
during the ./configure operation.
The general aim has always been to support Xerces "N" (currently 1.7)
and "N-1" (currently 1.6). So you should be fine.
Cheers,
Berin
Cliff1016 wrote:
Hi All,
My supervisor is asking me to implement some functions doing the XML
signature. I was thinking about using the Apache XML security library but
then my supervisor said that our server has Xerces-C v1.6 installed and I
cannot upgrade it since we have lots of old programs depending on it. So,
does anybody know if I could use Xerces-C v1.6 or if there is any
other work
around for this. Your replies will be greatly appreciated.
Cliff