You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Jobst Loeffler <jo...@imk.fhg.de> on 2002/05/24 17:10:46 UTC
Indexing and namespaces
Hi,
can someone tell me how to do indexing of large collections of XML
documents in connection with namespaces? I am using the Xindice database
to manage large collections of MPEG-7 data. The structure of such a
document is as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Mpeg7 xmlns="urn:mpeg:mpeg7:schema:2001"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mpeg7="urn:mpeg:mpeg7:schema:2001"
xsi:schemaLocation="urn:mpeg:mpeg7:schema:2001 Mpeg7-2001.xsd">
<Description xsi:type="ContentEntityType">
<MultimediaContent xsi:type="AudioType">
<Audio>...
... </Audio>
</MultimediaContent>
</Description>
</Mpeg7>
I tried to do the following to create an index on Audio nodes:
> xindiceadmin add_indexer -c /db/IndexerTest/withIndex -n asindex -p [http://www.w3.org/2001/XMLSchema-instance]Audio
and
> xindiceadmin add_indexer -c /db/IndexerTest/withIndex -n asindex -p [urn:mpeg:mpeg7:schema:2001]Audio
In both cases the error message was:
> xindiceadmin: No match
Thanks in advance for any help.
Jobst
--
J o b s t L o e f f l e r jobst.loeffler@imk.fhg.de
Competence Center NetMedia tel +49 2241 14 19 56
Fraunhofer-Institute for Media Communication http://www.imk.fhg.de