Florian Lindner wrote:
Am Montag, 14. August 2006 12:52 schrieb Jürgen Kartnaller:
Log message for revision 69463:
  Dublin Core property to use Dublin Core meta data as simple properties.

  A   Zope3/trunk/src/zope/dublincore/property.py
  A   Zope3/trunk/src/zope/dublincore/property.txt
  A   Zope3/trunk/src/zope/dublincore/tests/test_property.py

Do I understand this change correctly that it obsoletes zope.dublincore.annotatableadapter.partialAnnotatableAdapterFactory?
It definitely doesn't obsolete the existing implementation.
DCProperty is the other way around.

DCProperty allows access to DC meta data via simple properties.

partialAnnotatableAdapterFactory allows access via DC meta data to content properties.

Quote from zope/dublincore/tests/partial.txt which describes the partialAnnotatableAdapterFactory:

Sometimes we want to include data in content objects which mirrors one
or more Dublin Core fields.  In these cases, we want the Dublin Core
structures to use the data in the content object rather than keeping a
separate value in the annotations typically used.  What fields we want
to do this with can vary, however, and we may not want the Dublin Core
APIs to constrain our choices of field names for our content objects.

Should the partialAnnotatableAdapterFactory therefore be removed/deprecated?


Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to