On 8/8/07, qcfireball <[EMAIL PROTECTED]> wrote: > > > In reply to Tako Schotanus, regarding extending a node type, I > cross-referenced your reply with the Jackrabbit documentation. I see > clearly that example, but what of the example where I would like to extend > a > node type that has 3 specific attributes and I want to extend that type to > allow an arbitrary number of attributes. > > For example, your example: > >[foo:i8nResource] > nt:resource > >- jcr:language (STRING) > only allows the inherited attributes from nt:resource and the additional > attribute jcr:language of type String. How would we define this to allow > an > arbitrary number of attributes of any type?
Based on the definition for nt:unstructured ( http://wiki.apache.org/jackrabbit/nt%3aunstructured), [foo:i8nResource] > nt:resource - jcr:language (STRING) - * (UNDEFINED) - * (UNDEFINED) multiple should do the trick. -Brian
