You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/23 16:49:40 UTC

[jira] [Resolved] (TIKA-846) Ability to Parse RDF Bag Elements in XML

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

Nick Burch resolved TIKA-846.
-----------------------------

    Resolution: Fixed
    
> 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