Hi Jaco, In your definition, you only declare single values properties. You need to declare both the single valued properties and multiple valued properties.
For an example see: http://wiki.apache.org/jackrabbit/nt:unstructured Jaco Prinsloo a écrit : > Hi Experts, > > I have a node definition which looks as follow: > > [my:file] > >> nt:file >> > - * (*) > > With it I can create files that accept any property (which I need as I don't > know the names of the properties beforehand). > This works fine except if I try to store an array (of String) in the > property (through Node.setProperty), in which case I get the following > message: > > javax.jcr.nodetype.ConstraintViolationException: no matching property > definition found for {http://test.com/jcr}descriptions > > This is when trying to set a property with the name my:descriptions to a > String array (it works fine if I just set a String). > Any ideas? > > Thank you, > Jaco > > -- Sébastien Launay
