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

Metadata Extractor revisited

From: Nic Gibson <nicg@corbas.co.uk>
Date: Tue, 14 Feb 2017 10:34:05 +0000
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <etPan.58a2dd1d.3998b0bb.8fe8@corbas.co.uk>
 
Hi all

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 


Now I’m getting the same thing having dug out some old code from before the step libraries being separate. I’ve got somewhere by reading the source code in that I think I need to do something like:


<?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>

in my calabash config. Now it is probably working (probably because I’m getting errors in metadata not in XProc). Is this documented somewhere and is this something I should be doing another way?


cheers

nic
Received on Tuesday, 14 February 2017 10:34:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 14 February 2017 10:34:42 UTC