I have been trying to import xml data in to JCR using session.importXML("/",
resource, ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW);
First time it works fine, but when I do the import the same data again it
doest not throw exception even though the uids in the xml are the same.
I thought there might be something wrong with uids. So I have changed the
type to mixinTypes as below even that does not help.
<sv:property sv:name="jcr:mixinTypes" sv:type="Name" sv:multiple="true">
<sv:value>mix:referenceable</sv:value>
</sv:property>
Any idea why I am seeing the strange behaviour ?
--
View this message in context:
http://jackrabbit.510166.n4.nabble.com/ImportUUIDBehavior-IMPORT-UUID-COLLISION-THROW-does-not-seems-to-work-when-same-record-imported-twice-tp4661861.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.