JasperETL, XML::Lib and XML Metadata

0
Hi!
I'm trying to create an XML metadata schema in JasperETL (1.1.2), on Windows.
I have a lot of problems there with XML::LibXML and others.

Metadata->File xml->Create, give it a name.
Pressing "Next", I get the (error) message
"The Perl Module XML::Lib is not installed."
Unfortunately, I cannot find this module anywhere ... the only matching one is libxml-perl (http://search.cpan.org/dist/libxml-perl-0.08/). Yet even though it is installed, the error msg persists.

Going on, the following happens.
I can open an xml file, the structure is shown.
I set one of the nodes to Xpath loop expression, and one of the sub-nodes or values to Fields to extract.

No matter how simple the XML file, not matter what I select, on pressing Preview I get the message
"Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
Output not generated."

Going on anyway to the next panel.
Error message:
"Guess failure
Output not generated."
Then, I only get "At least one item must exist on Schema".

So I just add the (single) schema item myself, save, set to a FileOutputXML, connect to a FileOutputDelimited.
Running the stuff, I get
"Can't locate XML/LibXML.pm in @INC ..."

So, XML::Lib, XML/LibXML _is_ necssary; but in which package do I find it?
Are the UI errors related to this, or do they have a different cause?


After some searching I found XML::LibXML ... unfortunately, it uses libxml2 ...
Well, I'll try to install the stuff, yet maybe someone can give me a hint how to do it?

Thanks,
Sebastian
csbac's picture
128
Joined: Mar 12 2007 - 7:42pm
Last seen: 12 years 10 months ago

4 Answers:

0
Hi again!
I managed to install XML::LibXML, was quite a job ... libXML2, use Visual Studio, etc.
If someone needs it, I can post a guide.

Now it works, just the first error message in the UI keeps popping up - obviously, it checks for the existence of XML::Lib, which does not exist, instead of checking of XML::LibXML, which does exist and is installed now.

Changing the check in the UI would greatly enhance the searching for the right package ...

Yours,
Sebastian
csbac's picture
128
Joined: Mar 12 2007 - 7:42pm
Last seen: 12 years 10 months ago
0
csbac wrote:
Hi again!
I managed to install XML::LibXML, was quite a job ... libXML2, use Visual Studio, etc.
If someone needs it, I can post a guide.


Hi Sebastian,

I don't know our OS and our perl distribution, but with activestate and ppm tool, it's very easy to install XML-LibXML.
Launch a command line and type the following commands :

ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML-Common.ppd

ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML.ppd

Regards,
Cedric Carbone
ccarbone's picture
Joined: Jan 31 2007 - 6:13am
Last seen: 12 years 12 months ago
0
Thanks ... for the next time, I know it now ...

It's Win XP with ActiveState, yes, otherwise compiling wouldn't have been such a problem ...

Should have googled for the right keywords, it seems. Only found the source distribution (on CPAN).

Thanx,
Sebastian
csbac's picture
128
Joined: Mar 12 2007 - 7:42pm
Last seen: 12 years 10 months ago
0
csbac wrote:
Thanks ... for the next time, I know it now ...

It's Win XP with ActiveState, yes, otherwise compiling wouldn't have been such a problem ...

Should have googled for the right keywords, it seems. Only found the source distribution (on CPAN).

Thanx,
Sebastian


Don't forget the JasperETL installation guide. It is available under the tab Documentation on Jasperforge web site.
ccarbone's picture
Joined: Jan 31 2007 - 6:13am
Last seen: 12 years 12 months ago
Feedback
randomness