[PATCH seda] [profile gen] Systematically turn IDREF into NCName in SEDA 2.0 RNG export

Philippe Pepiot philippe.pepiot at logilab.fr
Wed May 24 13:31:27 CEST 2017


On 05/19/2017 10:36 AM, Sylvain Thenault wrote:
> # HG changeset patch
> # User Sylvain Thénault <sylvain.thenault at logilab.fr>
> # Date 1495141303 -7200
> #      Thu May 18 23:01:43 2017 +0200
> # Node ID 67558c0fc5ee8628956bdda371aa3c6e408198e7
> # Parent  7319f0d205c4ba2a1c599413a4a1988a79f08264
> # Available At https://hg.logilab.org/review/cubes/seda
> #              hg pull https://hg.logilab.org/review/cubes/seda -r 67558c0fc5ee
> [profile gen] Systematically turn IDREF into NCName in SEDA 2.0 RNG export
>
>
> RNG doesn't handle ID/IDREF as XSD: it doesn't handle having some tag's
> *content* of such type, as it is the case in SEDA 2 ObjectReferenceId element.
> See https://www.oasis-open.org/committees/relax-ng/compatibility.html#id for
> details.
>
> To fix this, 'downgrade' ID into NCName. This was already done when some data
> object was referenced, but it should actually be done systematically.
>
> Closes #17078970

Applied



More information about the saem-devel mailing list