Ponder Muse wrote:
Hi,
I have a few questions about the xwiki's 'import' function and was wondering
if I could get answer to any if not all of the following:
1. I have done an 'export' on an xwiki server instance and I then stripped
the generated .xar to remove some unwanted spaces within it (this included
editing the archive.xml within). When I then try to import the stripped .xar
on another xwiki server instance, I get: "There was an error reading the
file abc.xar. Error number 0 in 5: Package: Error when reading XML." What
does this error mean?
Probably that you made a mistake editing the package.xml file.
2. If I am importing a .xar into a server instance via a web browser, then
is it ok to do it from a remote client or do I have to be on the same host
machine the xwiki server is on?
You can do it from a remote machine.
3. If I export spaces which contain attachments to a .xar file. Will the
attachments still be available when importing the .xar file on another xwiki
instance? If so, where are attachments stored in the .xar file?
Yes they will. They are base 64 encoded and stored in the xml file for the page
which they are attached to.
Caleb
Thanks in advance for your help.
Regards,
PM.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users