I have 2 nodeType definitions where one inherits from the other. Both
have a definition for a property having the same name. In this particular
case they happened to be the same (have the same attribute values). On
registration of the nodeType, I get a NodeTypeConflictException:
"ambiguous property definition". Since the inheritance model of nodeType
definition is left up to the implementation, what is jackrabbit's model?
Why wouldn't the subtype definition override the supertype's definition?
FWIW, this is where it is failing in EffectiveNodeType:
if (pd.getRequiredType() ==
epd.getRequiredType()
&& pd.isMultiple() ==
epd.isMultiple()) {
// conflict
String msg = "The property definition
for '"
+ name + "' in node type '"
+ def.getDeclaringNodeType()
+ "' conflicts with node type
'"
+
existingDef.getDeclaringNodeType()
+ "': ambiguous property
definition";
David