ITS reset for inherited metadata

Hello,
In the course of the WICS project I have found need for a mechanism to undo
metadata inheritance for a given element. I'd like to suggest it for the
next version of ITS.

*Use case:* I am converting ITS-decorated XML into HTML while keeping ITS
markup intact. Any non-element nodes that are somehow involved with ITS
markup (attributes selected via global rules, comments/PIs etc. pointed to
with *Pointers) are being converted into elements and pasted near the nodes
they represent. In the original document, comments/PIs and usually
attributes don't inherit ITS metadata. However, as elements these
nodes *do*inherit ITS metadata. So in order to make the ITS metadata
in the new
document completely match the original, I have to undo this inheritance.
This is possible for categories with default values (I can set dir="ltr",
or localeFilter="*") but not for ones that don't. I could set locNote="",
but that is not the same as the default (which is the non-existence of
locNote). The affected categories are: localization note, language
information, domain, provenance, localization quality issue, localization
quality rating, MT confidence, and allowed characters.

*Desired ITS markup: *The markup that I really need to make this work is a
selective metadata reset. In other words, I need to be able to say "don't
inherit the following categories". Something like
its:reset="mtConfidence;locNote;language-information". It would also be
useful to have a shorthand to prevent inheritance of anything:
its:reset="all". A global version would be nice, too.

Nathan

Received on Tuesday, 6 August 2013 18:52:04 UTC