jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: SystemView Import and UUID
Date Thu, 19 Jul 2007 09:08:05 GMT
hi,
the current implementation needs a valid uuid if the attribute is
present. it's discussable if an empty attribute should be treated like
a non existing one.

feel free to post a jira enhancement issue.
regards, toby

On 7/18/07, qcfireball <qcfireball@yahoo.com> wrote:
>
> I am trying to do a SystemView Import, and have a UUID created if the node
> does not already exist.  I use an XSLT to x-form my XML into the proper
> SystemView, and include a node for jcr:uuid.  If this value is empty, the
> JCR throws an exception.  If I remove the jcr:uuid node, the JCR imports the
> XML without Exception.
>
> My problem is that I don't want to maintain 2 XSLT's or have to post process
> the XML to remove the jcr:uuid node.
>
> Is there any way to import XML with the following jcr:uuid node value in the
> imported XML?
>
> <sv:property sv:name="jcr:uuid" sv:type="String">
>     <sv:value/>
> </sv:property>
> --
> View this message in context: http://www.nabble.com/SystemView-Import-and-UUID-tf4102939.html#a11667706
> Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message