Hi Michael, > in short, there is a xml:id registry and some abstract base classes in > sfx2, and a interface com.sun.star.rdf.XMetadatatable for entities that > may have xml:id.
Unfortunately, this existing API is indeed coupled with meta data. I don't need this for meta data: I just discovered that the original implementation of our XForms support used non-unique xml:ids for the various objects (models, instances, bindings). Fixing this requires some document-wide xml:id-pool, but the existing meta data API talks about ODF and RDF and, well, meta data ... nothing I have. So, I should create a separate interface for creating and revoking such IDs at the document, and the meta data implementation should be adjusted to use this pool when creating new IDs. Something like this. Ciao Frank -- - Frank Schönheit, Software Engineer [email protected] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
