Note that the atom feed contains a default XML namespace: <feed xmlns="http://www.w3.org/2005/Atom".
I have specified the iterator as /feed/entry but this results in no triples being produced as the xpath probably does not find any xml elements.
Is there a way to tell the yarrrml and the RML mapper to use the default XML namespace when resolving the xpath?
If so, how do I specify the xpaths namespace in the iterator (e.g. /ns:feed/ns:entry) and in other places?
BTW, specifying an XML namespace in the subject mapping produces an incorrect RML file, e.g.
using s: ex:id/earthquake/$(./ns:id) produces:
Issue type: :question: Question
I am testing Matey and the yarrrml-parser using an XML source. This is an atom feed looking like this:
The yarrrml file looks like this:
Note that the atom feed contains a default XML namespace:
<feed xmlns="http://www.w3.org/2005/Atom"
. I have specified the iterator as/feed/entry
but this results in no triples being produced as the xpath probably does not find any xml elements.Is there a way to tell the yarrrml and the RML mapper to use the default XML namespace when resolving the xpath? If so, how do I specify the xpaths namespace in the iterator (e.g.
/ns:feed/ns:entry
) and in other places?BTW, specifying an XML namespace in the subject mapping produces an incorrect RML file, e.g. using
s: ex:id/earthquake/$(./ns:id)
produces:I will log this as a separate bug.