jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: XML-string as property value
Date Tue, 05 Feb 2008 07:52:23 GMT
Roland Porath wrote:

> What about the org.apache.jackrabbit.server.io.XmlHandler used in
> config.xml? shouldn't that guy be able to handle xml input?

yes and no.
the XMLHandler uses Session.importXML instead of
creating a nt:file node and storing the stream as
binary jcr:data property.

so: yes it does handle xml input
but: there might be nodetype constraints that make
your import fail.

for the very details see section "7.3 Importing Repository Content"
in jsr 170.


View raw message