Hi, The attached files are going to be the final versions to implement the new getRelated() and getRelated(type).. but there is a small drawback..
In order for the new getRelated() to function it needs a 'object.xml' in the configuration-directory. That will break my previous remark about being backwards-compatible. I am a bit nervous to commit a file which makes this mandatory so anybody with objections can reply to this. We, for one, have a few (older) machines where object.xml is not present. So when testing this new implementation, this problem showed up. Its not that big deal, a copy of the object.xml and object.dtd into the configuration directory will solve the 'problem'. But I want to point this out before committing the files. Anybody who wants to try it can copy the attachments in this mail into the org/mmbase/module/core directory. gr, marcel maatkamp VPRO Digitaal
