5 messages in org.apache.jackrabbit.usersRe: Get XML back in its original form
FromSent OnAttachments
Karianne BergMay 26, 2008 4:51 pm 
Alexander KlimetschekMay 27, 2008 2:21 am 
Karianne BergMay 27, 2008 3:13 am 
Jukka ZittingMay 27, 2008 3:20 am 
Karianne BergMay 30, 2008 7:22 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Get XML back in its original formActions...
From:Jukka Zitting (jukk@gmail.com)
Date:May 27, 2008 3:20:54 am
List:org.apache.jackrabbit.users

Hi,

On Tue, May 27, 2008 at 1:14 PM, Karianne Berg <kei@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,