Hi,

I could not manage to get the XMLimporter to work. I copied the file mmbase-xmlimporter.jar to /WEB-INF/lib but MMBase does not recognize that it is installed.

I've noticed that I can use a datasourcelist in the xml description of my application. I manage to use that to import a bunch of data.

While trying to import relation insrel something went wrong:

ERR mmbase.module.tools.ApplicationInstaller - Problem installing application : CultureBase.xml, cause: Insert of node __rnumber = 'null ',owner = 'default ',rnumber = 'null ',snumber = 'null ',dnumber = 'null ',dir ='2',otype='6',number='-1'[EMAIL PROTECTED] failed. Field 'rnumber' with type NODE is not allowed to have a null value. The referenced node is not found. Try to reorder the nodes so the referenced node is imported before this one.


I clean up the entire insrel.xml import file and leave there only one relation that I knew the destination and source target were already imported. Still the same error.

Any ideas?

Thanks a lot for you help.
Rui


PS:
The same happens for other relations.

PS2:
This is how my insrel.xml looks like:

<?xml version="1.0" encoding="utf-8"?>
<insrel exportsource="mmbase://dev/culturebase/mm" timestamp="20080828180157"> <node number="123" owner="admin" snumber="69" dnumber="73" rtype="contains" dir="bidirectional">
        </node>
</insrel>

On Aug 26, 2008, at 9:20 AM, André van Toly wrote:

Hi,

I used the XMLimporter with MMBase 1.8 a while ago and, although the documentation remains a bit flaky, it still worked great importing over 1500 clips, 5000 keywords and related nodes for Schooltv Beeldbank. I did the XMLimporter stuff on al local installation, in batches and created apps1 files which I imported on the server.

---André



Op 25 aug 2008, om 17:50 heeft Rui Guerra het volgende geschreven:
Hi all,

Finally I managed to get everything up and running and neatly organize all objects and relations in a mmbase applications.

I've noticed that I can use "datasourcelist" to declare some initial data for my application but I actually need to import some more complex stuff from a previous mmbase installation (MMBase 1.6.6.20040311).

I was wondering if I could use xmlimporter for that task. Is it still being maintained for version MMBase 1.8.6.20080804?

Thanks,
Rui
_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users

--
André van Toly
web http://www.toly.nl mobile +31(0)627233562 ---------------------------------------------------------------- ~~<<>>~~

_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/users

Reply via email to