On 05/04/11 23:41, Piotr Bański wrote:
> <ptr xml:id="pol-swh_aln_2.1.2-ptr"
> target="swh/UDHR/text.xml#swh_txt_1-head" type="tuv" xml:lang="sw"/>
> it's worth pointing out that @xml:lang plays an
> unlicensed semantic role here, of which the creator of this markup
> should probably be ashamed, but which may be taken to indicate the
> near-natural-language-like re/ab-use (exaptation?) of markup language
> constructs originally designed to perform a different role.
However you call it, it is WRONG. It introduces a serious and
unnecessary ambiguity. If I had my way I would actually ban the use of
xml:lang on empty elements like <ptr> for precisely this reason (cf my
earlier posting in response to Felix)