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 (Updated) (JIRA)" <ji...@apache.org> on 2012/03/07 16:27:04 UTC

[jira] [Updated] (TIKA-859) DublinCore Metadata Keys Should be Prefixed and Property Objects

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

Chris A. Mattmann updated TIKA-859:
-----------------------------------

    Fix Version/s:     (was: 1.1)
                   1.2

- push out to 1.2
                
> DublinCore Metadata Keys Should be Prefixed and Property Objects
> ----------------------------------------------------------------
>
>                 Key: TIKA-859
>                 URL: https://issues.apache.org/jira/browse/TIKA-859
>             Project: Tika
>          Issue Type: Improvement
>          Components: metadata
>    Affects Versions: 1.1
>            Reporter: Ray Gauss II
>             Fix For: 1.2
>
>         Attachments: dublincore-prefixed-patch.diff
>
>
> To help avoid collisions of key names in interfaces Metadata implements and allow for more precise definition of DublinCore the keys should be defined as Property objects with the object name and name attribute containing a prefix and the existing String keys deprecated, i.e.
> {code:title=DublinCore.java}
> String SUBJECT = "subject";
> {code}
> would become:
> {code:title=DublinCore.java}
> @Deprecated
> String SUBJECT = "subject";
> Property DC_SUBJECT = Property.internalTextBag(PREFIX_DC + PREFIX_DELIMITER + "subject");
> {code}
> Since the use of the simpler key definition is desired eventually, at some point in the future, perhaps 2.0, these prefixed definitions could themselves be deprecated and the move made back to the simpler names.

--
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