Wouter de Vaal wrote:

I'm trying to store meta data on a binary resource and I get the following error:
org.xmldb.api.base.XMLDBException: :The resource associated with key 'bin' in collection '/db/publications/testxmlcollection' is not XML document
at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:201)
at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.setMetaData(CollectionImpl.java:764)
at nl.relate4u.publications.xmldb.XMLCollection.setMetaData(XMLCollection.java:729)
... 24 more
I see there is not binary type defined in the MetaData class. Does this mean MetaData is not supported for binary resources?


Fixed in the CVS. See BinaryResourceTest, last method.

Vadim




Reply via email to