Hi guys - Im working on a RIF-CS import from ANDS. Im using the rifXmlMap.json file, but Im getting the following:
2012-11-01 17:16:01,045 ERROR namicPageServiceImpl Thu Nov 1 17:16:01 2012 ERROR Exception occurred evaluting XPath: //my:Title. Exception: XPath expression uses unbound namespace prefix my
org.dom4j.XPathException: Exception occurred evaluting XPath: //my:Title. Exception: XPath expression uses unbound namespace prefix my
Thing is I cannot see where this error comes from, either from the example RIF-CS, or the json file:
{
"comment": "This is a sample RIF-CS mapping. It is important to check this against your RIF-CS as there can be some differences across feeds etc",
"mappings": {
"//rif:registryObjects/rif:registryObject/rif:collection/rif:name[@type='primary']/rif:namePart": ["title", "dc:title", "redbox:submissionProcess.dc:title"],
"//rif:registryObjects/rif:registryObject/rif:collection/rif:description[@type='brief']": ["description", "dc:description", "redbox:submissionProcess.dc:description"],
"//rif:registryObjects/rif:registryObject/rif:collection/rif:subject[@type='local']": "dc:subject.vivo:keyword.0.rdf:PlainLiteral",
"//rif:registryObjects/rif:registryObject/rif:collection/rif:subject[@type='anzsrc-for']": "dc:subject.anzsrc:for.0.rdf:resource",
"//rif:registryObjects/rif:registryObject/rif:collection/rif:subject[@type='anzsrc-seo']": "dc:subject.anzsrc:seo.0.rdf:resource"
},
"exceptions": {
"output": "skos:note.0.dc:description",
"fields": {
"dc:subject.anzsrc:for.0.rdf:resource": "Cannot resolve ANZSRC (FOR) Codes",
"dc:subject.anzsrc:seo.0.rdf:resource": "Cannot resolve ANZSRC (SEO) Codes"
}
},
}