You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org> on 2012/01/16 20:43:41 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13187126#comment-13187126 ] 

Chris A. Mattmann commented on TIKA-846:
----------------------------------------

+1 to the feature request on this issue. I would be great to be looking at Apache Any23 here http://incubator.apache.org/projects/any23 to take care of this since we are sponsoring their Incubation via the Tika PMC.
                
> 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