jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Jackrabbit cannot store xml file
Date Mon, 05 Jul 2010 10:52:59 GMT
On Mon, Jul 5, 2010 at 12:11, Xiaojie Shen
<Xiaojie.Shen@cybercomgroup.com> wrote:
> Is it a known issue that jackrabbit cannot save xml file? The file content
> is empty if I store .xml file. If the file extension is changed to .txt and
> remove the first row “<?xml version="1.0" encoding="ISO-8859-1"?>”,
> jackrabbit saves the file content.

No, this is a feature of the default webdav servlet, which will import
the XML natively as JCR nodes, which then no longer appear as file
when reading back from webdav (since it is not a nt:file).

See the list archives:
http://jackrabbit.markmail.org/thread/2dyan7mm2wrbsovv (+ responses)
http://markmail.org/message/rg4im42n3h53lt7i
http://markmail.org/message/fakmlpufetwkpck5

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message