[PATCH] Make generation of xml:id attribute configurable through an adapter

Denis Laxalde denis.laxalde at logilab.fr
Mon Jun 25 10:51:07 CEST 2018


Denis Laxalde a écrit :
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1529415726 -7200
> #      Tue Jun 19 15:42:06 2018 +0200
> # Node ID a89f3018c9e3f92d4e9f58515a5a7c43753aa31f
> # Parent  97b06a36d10468e7f69dddfae864961c138dc53d
> # EXP-Topic CONSEJIRA-510
> Make generation of xml:id attribute configurable through an adapter

This concerns cubicweb-seda (I forgot the --flag and publicurl).

> 
> The idea is to have the generation of xml:id attribute configurable
> based on entity context. So we create an entity adapter IXmlId that
> default to the current implementation. This will be extended in
> cubicweb-saem_ref where we'd want to use the ARK identifier to produce
> this xml:id attribute.
> 



More information about the saem-devel mailing list