[jats-list] <code> and @language documentation (1.1d1)

Subject: [jats-list] <code> and @language documentation (1.1d1)
From: Alf Eaton <eaton.alf@xxxxxxxxx>
Date: Fri, 28 Feb 2014 11:34:21 +0000
I was looking at the documentation for the new <code> element[1], in
preparation for making use of it, and noticed a couple of oddities:

Firstly, it seems that the @language attribute is intended for
conveying the language that the code is written in, but in the
examples, @code-type is used instead of @language. I would like to
suggest that the example is changed to use @language:

<code language="xml" b&
rather than
<code code-type="xml" b&

Secondly, the documentation for the @language attribute[2], uses
"Javascript" as an example, but the correct capitalisation would
actually be "JavaScript". I would like to suggest that the
documentation and examples only use lowercase values for @language
(e.g. "javascript", "xml"), to avoid having to normalise values to
lowercase when processing or querying.

Thanks,
Alf

[1] http://jats.nlm.nih.gov/publishing/tag-library/1.1d1/?elem=code
[2] http://jats.nlm.nih.gov/publishing/tag-library/1.1d1/?attr=language

Current Thread