The XML can't be empty upon creation. That's what's causing the error.

Regards,

Jeroen

On Thu, 2008-06-19 at 12:27 +0200, Bart van der Schans wrote:
> Hi Yomo,
> 
> It is not a limitation. Probably the xml file triggers an extractor 
> which fails. Did you look in the repository logs for any errors?
> 
> Regards,
> 
> Bart
> 
> Yomo Guiamo wrote:
> > Hello,
> >
> > As I was trying to store a valid XML document onto a Hippo repository
> > (through a Java Class or directly on the Repository itself with vi) I
> > encountered a rather unexpected problem. For some reason it's not possible
> > to create a new .xml file on the Hippo Repository in the
> > files/default.preview/content/documents even if you create your own folder
> > (collection) in either the content or the documents folder.
> >
> > The workaround I used was to create a .html with the XML contents in that
> > .html file and then rename it to a .xml file. Weird eh?
> >
> > My question is: what is the reason for this limitation? The limitation for
> > directly creating.xml files is the case in the 'files' directory and its
> > subdirectories (other dirs like 'history' and 'workingresource' face the
> > same problem). Should one set specific properties first when trying to
> > create a .xml file on the repository - through the commandline or a Java
> > Class - or is something else going on?
> >
> > I access the repository with the root account by the way.
> >
> > Regards,
> > Yomo
> > ********************************************
> > Hippocms-dev: Hippo CMS development public mailinglist
> >
> > Searchable archives can be found at:
> > <a href="http://hippocms-dev.markmail.org/";>MarkMail</a> and <a
> > href="http://www.nabble.com/Hippo-CMS-f26633.html";>Nable</a>.
> >
> 
> 
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
<a href="http://hippocms-dev.markmail.org/";>MarkMail</a> and <a 
href="http://www.nabble.com/Hippo-CMS-f26633.html";>Nable</a>.

Reply via email to