I see the confusion (with me)! myfile/jcr:content/jcr:data set when setting/getting the Node property in java, I am using cadaver to put/ get files from a command line to jackrabbit via the WEBDAV interface.

I have only been doing this for a few days now, can I set this somehow using cadaver? Or is there a way to tell jackrabbit to treat xml files this way through the repository.xml?

Thanks

On Jun 5, 2008, at 8:43 AM, Alexander Klimetschek wrote:

Put the serialized XML stream into a binary property:
myfile/jcr:content/jcr:data (where myfile is of type nt:file and
jcr:content is of nt:resource).

See also the JCR spec for more info on nt:file/nt:folder and nt:resource.

Alex

On Thu, Jun 5, 2008 at 3:25 PM, Wade Girard <[EMAIL PROTECTED]> wrote:
okay, I see this:

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.

How do I do this?

On Jun 4, 2008, at 5:58 PM, Alexander Klimetschek wrote:

On Wed, Jun 4, 2008 at 10:55 PM, Wade Girard <[EMAIL PROTECTED] >
wrote:

No, These are all xml files ranging in size from 776 kb to 4 kb

Are you importing the XML content as node structures? See this mail
for a possible improvement:
http://markmail.org/message/uebgv5co6qxxgfff

Regards,
Alex

--
Alexander Klimetschek
[EMAIL PROTECTED]

Wade Girard
[EMAIL PROTECTED]


--
Alexander Klimetschek
[EMAIL PROTECTED]

Wade Girard
[EMAIL PROTECTED]





Reply via email to