You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Mach (JIRA)" <ji...@apache.org> on 2014/03/03 15:57:23 UTC
[jira] [Created] (SOLR-5804) xpath with an namespace:attribute not
working in XPathEntityProcessor
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org