W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2017

Re: Metadata Extractor revisited

From: Nic Gibson <nicg@corbas.co.uk>
Date: Tue, 14 Feb 2017 15:00:11 +0000
To: XProc Dev <xproc-dev@w3.org>, Norman Walsh <ndw@nwalsh.com>
Message-ID: <etPan.58a31b7b.1efd16a6.8fe8@corbas.co.uk>

On 14 February 2017 at 14:57:51, Norman Walsh (ndw@nwalsh.com<mailto:ndw@nwalsh.com>) wrote:
Nic Gibson <nicg@corbas.co.uk> writes:
> Back in 2014 Erik Siegal asked about getting the metadata extractor to
> work because he was getting this error when he tried:
> Misconfigured. No 'class' in configuration for cx:metadata-extractor

Huh. Did I not reply to that? Mea culpa.

The docs here:


include an example image that I believe works. The implementation
notes at the bottom of that page point to the project details. If you
get the extension through Maven, I think you’ll get the necessary
dependencies as well.

> <?xml version="1.0" encoding="UTF-8"?>
> <cc:xproc-config xmlns:cc="http://xmlcalabash.com/ns/configuration"
> xmlns:cx="http://xmlcalabash.com/ns/extensions" >
>     <cc:implementation
> class-name="com.xmlcalabash.extensions.MetadataExtractor"
> type="cx:metadata-extractor"/>
> </cc:xproc-config>

I wouldn’t expect that to be necessary anymore as I use annotations in
the class file itself.

Interesting - I can’t make it work without that in the config file. I’ll give it another go later.


Be seeing you,

Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
Received on Tuesday, 14 February 2017 15:00:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:31 UTC