Hi Caleb,

Thanks for the answers.


>
> 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.
>
> Yes, I've figured as much. But having looked at the file I still couldn't
see any obvious problems with it. What I ended up doing though was to leave
the .xar intact and then when importing it on another xwiki instance, I
selected which spaces to import by ticking the appropriate boxes within the
wiki's import page itself.

>
> > 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.
>
> Great stuff.

Once again, thanks!

Regards,
PM.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to