[ 
https://issues.apache.org/jira/browse/TIKA-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ray Gauss II updated TIKA-846:
------------------------------

    Attachment: bag-element-metadata-handler.diff

Patch to parse RDF bag elements.
                
> Ability to Parse RDF Bag Elements in XML
> ----------------------------------------
>
>                 Key: TIKA-846
>                 URL: https://issues.apache.org/jira/browse/TIKA-846
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.0
>            Reporter: Ray Gauss II
>             Fix For: 1.1
>
>         Attachments: bag-element-metadata-handler.diff
>
>
> Should be able to parse RDF bag elements as multi-valued metadata fields, i.e:
>  <IPTC:Contact>
>   <rdf:Bag>
>    <rdf:li>Ray</rdf:li>
>    <rdf:li>Gavin</rdf:li>
>   </rdf:Bag>
>  </IPTC:Contact>
> Unfortunately in some libraries and command lines a single value in that same 
> value may be presented as:
>  <IPTC:Contact>Ray</IPTC:Contact>
> ElementMetadataHandler should have a constructor which accepts a metadata 
> Property in addition to the constructor which accepts a metadata name and be 
> able to parse either format above if that Property.PropertyType is a bag.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to