jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Get XML back in its original form
Date Tue, 27 May 2008 10:21:17 GMT
Hi,

On Tue, May 27, 2008 at 1:14 PM, Karianne Berg <keibi@start.no> wrote:
> Thank you for your reply. Is there a particular reason why this is not possible?

A JCR content repository like Jackrabbit is not an XML database.

> When I work with XML data that is not tied up to JCR in any way,
> I would like to get the same thing out as I put in.

If you need to store XML documents as-is (as opposed to an abstract
content model that's just serialized to XML), then I would recommend
storing the XML as a binary property, preferably inside a
nt:file/nt:resource structure.

BR,

Jukka Zitting

Mime
View raw message