tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Gauss II (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-859) DublinCore Metadata Keys Should be Prefixed and Property Objects
Date Thu, 02 Feb 2012 23:04:53 GMT
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.1
         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.

String SUBJECT = "subject";
would become:
String SUBJECT = "subject";

Property DC_SUBJECT = Property.internalTextBag(PREFIX_DC + PREFIX_DELIMITER + "subject");

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


View raw message