You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ray Gauss II (Created) (JIRA)" <ji...@apache.org> on 2012/01/16 20:39:40 UTC
[jira] [Created] (TIKA-846) Ability to Parse RDF Bag Elements in
XML
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
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
[jira] [Commented] (TIKA-846) Ability to Parse RDF Bag Elements in
XML
Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Issue Comment Edited] (TIKA-846) Ability to Parse RDF Bag
Elements in XML
Posted by "Chris A. Mattmann (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187126#comment-13187126 ]
Chris A. Mattmann edited comment on TIKA-846 at 1/17/12 12:54 AM:
------------------------------------------------------------------
+1 to the feature request on this issue. It 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.
was (Author: chrismattmann):
+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
[jira] [Commented] (TIKA-846) Ability to Parse RDF Bag Elements in
XML
Posted by "Nick Burch (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191208#comment-13191208 ]
Nick Burch commented on TIKA-846:
---------------------------------
Longer term, using Any23 sounds good to me, and hopefully someone will have time to look into that more - maybe Ray? :)
Short term, I've applied the patch in r1234857.
> 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
[jira] [Updated] (TIKA-846) Ability to Parse RDF Bag Elements in
XML
Posted by "Ray Gauss II (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (TIKA-846) Ability to Parse RDF Bag Elements in
XML
Posted by "Nick Burch (Resolved) (JIRA)" <ji...@apache.org>.
[ 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