xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wouter de Vaal" <wouter_de_v...@hotmail.com>
Subject Re: Problem using CustomDocuments in MetaData for collections
Date Thu, 10 Jun 2004 13:58:06 GMT
> Wouter de Vaal wrote:
>
> > I'm trying to use the custom document part of meta data and
> > experiencing some problems.
> > If I add meta data to a collection or document all the attribute stuff
> > shows up in the ugly browser and in my code
> > when I do a retrieve of that meta data via the MetaService, however
> > I've also set some custom xml to the MetaData using
> >
> > meta.setCustomDocument(DOMParser.toDocument(someXMLString));
> >
> > and this doesn't show up in the ugly browser (any attributes on the
> > meta data do show in the uglybrowser)
> > and also when I try to retrieve it using
> >
> >
> > meta.getCustomDocument()
> >
> > it returns null. Is this feature not implemented or maybe am I doing
> > something wrong?
> >
>
> Did you set meta after setCustomDocument using
> MetaService.setMetaData(id, meta) method?
>
Nope, before, first create meta data object and call setCustomDocument and
then call setMetaData.
The custom document just doesn't show up in the database...

Wouter

Mime
View raw message