Jan Mach created SOLR-5804:
------------------------------
Summary: xpath with an namespace:attribute not working in
XPathEntityProcessor
Key: SOLR-5804
URL: https://issues.apache.org/jira/browse/SOLR-5804
Project: Solr
Issue Type: Improvement
Components: contrib - DataImportHandler
Affects Versions: 4.6
Reporter: Jan Mach
I would like to use attributes originaly with namespaces. E.g. i have two main
tags:
<dc:contributor xml:lang="cz">John Doe</dc:contributor>
<dc:contributor lang="en">Mark Tester</dc:contributor>
Field definition, where I remove namespaces, is
<field column="attr_myTest" xpath="/metadata/contributor/@lang"/>
The result of the extraction is (extracted only one attribute):
"attr_myTest": ["en"]
but the expected result should be extracted all two attributes:
"attr_myTest": ["cz", "en"]
I would like to ask you to implement a patch to be able to use attributes with
namespaces in original XML. For tag names removing namespaces works fine.
Thanks a lot!
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]