[
https://issues.apache.org/jira/browse/SOLR-5804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexandre Rafalovitch resolved SOLR-5804.
-----------------------------------------
Resolution: Won't Fix
> 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
> Priority: Major
> Labels: attributes, easytest, namespaces, xpath
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]