hi

sorry. i reread you mail multiple times, and i don't get
your point.

here is what jsr170 defines:

- that PropertyDefinition.getRequiredType() may be one of
  STRING, BINARY, DATE, LONG, DOUBLE, NAME, PATH, REFERENCE,
  BOOLEAN or UNDEFINED.

- If PropertyDefinition.getRequiredType() is UNDEFINED,
  then a Property having this definition may be of any type.

- The value of a property may never be UNDEFINED. Thus,
  Property.getType() will never return UNDEFINED.

- Node.setProperty: If the node type of this node does not indicate
  a specific property type, then the property type of the supplied
  Value object is used and if the property already exists (has
  previously been set) it assumes both the new value and new
  property type.

if you want to point out, that the NodeTypeRegistry doesn't
get informed about new registrations: that's a known issue
(see TODO.txt) and covered by the jira issue, you created
recently.

regards
angela


Reply via email to