[Melbourne-pm] XML::Xerces

Toby Corkindale toby.corkindale at strategicdata.com.au
Mon May 21 21:11:25 PDT 2012


On 22/05/12 13:59, Christopher Short wrote:
> Well, we've not managed to get this working.
>
> To give you some background, we've decided it's probably time to
> upgrade our website from perl 5.8 to 5.14 ;-)
>
> I'm installing a copy of our site onto a fresh server and so am
> methodically plodding through the site to find required modules etc.
>
> Part of the site uses XML::Xerces and XML::Xerces::DOMParser so I need
> to get those working.

It looks like they removed DOMParser from that module ten years ago, so 
it really doesn't look like it was popular enough to get reincarnated 
elsewhere.

Could you re-write the bits of the site that use DOMParser to use a 
current API? (It doesn't look like DOMParser provided anything 
particularly special)


> As per the requirements for this package, I am indeed installing the
> matching version of Xerces-C first, as well as SWIG 2.0.6 to
> "regenerate the bindings" using the XERCES_DEVEL = 1 trick mentioned
> by Rob.
>
> Version 2.7.0
> =>  everything installs
> =>  but DOMParser has been removed
>
> Version 1.7.0
> =>  includes DOMParser
> =>  fails during the build of Xerces-C
> "UnixHTTPURLInputStream.cpp:99:22: error: iostream.h: No such file or directory"
>
> Version 1.5.2
> =>  includes DOMParser
> =>  Xerces-C builds and installs
> =>  fails during the build of XML::Xerces
> "error: iostream.h: No such file or directory"
> Also many complaints about
> "deprecated conversion from string constant to "char *"
> and
> "cannot convert "char*" to "PerlInterpreter*"
>
> Bleh!
> Anyone have any tips?
> Christopher
>
> On 17 May 2012 11:46, Christopher Short<christopher.short at monash.edu>  wrote:
>> Well, we finally managed to get Swig and Xerces C and XML::Xerces 2.7
>> installed ...
>>
>> ... but then we found that they'd removed DOMParser which we needed,
>> so we're now trying to reinstall an earlier, buggier version. grr

-- 
.signature


More information about the Melbourne-pm mailing list