[jats-list] <contrib> insights welcome

Subject: [jats-list] <contrib> insights welcome
From: "Sproat, Eliza X esproat@xxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Feb 2023 17:34:17 -0000
Greetings,

First time posting to list. New to role--incumbent left at head of pandemic.
Comfortable with the why of XML; look forward to growing skills in the how.
Would appreciate your ideas about the <contrib> tag.

Fixing errors returned by the PMC Style Checker to develop a template that
will be used downstream (for the xslt). This strategy has so far yielded
decent results. For example, an external-supplied xml file (jats 1.3)
initially returned a valid DTD (joy) along with 20 errors and 18 warnings.
After working through errors, new PMC result now indicates 11 errors and no
warnings. Feels like progress. Am a bit *familiar with the <contrib> tag, but
not much as I would like. Seek your input if you have any.

Sample of PMC-returned errors:
133: <string-name name-style="western">
> ^
> error: contrib content check: <contrib> must have one of the following:
[collab, collab-alternatives, name, name-alternatives, anonymous]. (Tagging
Guidelines) see
https://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/article/tags.html#
el-contrib
> Go to the next error
show ....
143: <contrib-id authenticated="true"
contrib-id-type="orcid">https://orcid.org/0000-0002-9010-2865</contrib-id>
> ^
> error: contrib content check: <contrib> must have one of the following:
[collab, collab-alternatives, name, name-alternatives, anonymous]. (Tagging
Guidelines) see
https://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/article/tags.html#
el-contrib

====Sample original XML====
<string-name name-style="western">
						<given-names>Eileen</given-names>
						<surname>Rogers</surname>
					</string-name>
					<x xml:space="preserve">, </x>
					<xref ref-type="aff" rid="AFF10">
						<sup>10</sup>
					</xref>
				</contrib>
				<contrib contrib-type="author">
					<string-name name-style="western">
						<given-names>Michaela</given-names>
						<surname>Praus</surname>
					</string-name>
					<x xml:space="preserve"> &amp; </x>
					<xref ref-type="aff" rid="AFF11">
						<sup>11</sup>
					</xref>
				</contrib>
				<contrib contrib-type="author" corresp="yes">
					<contrib-id contrib-id-type="orcid"
authenticated="false">https://orcid.org/0000-0002-9010-2865</contrib-id>
					<string-name name-style="western">
						<given-names>Mikhail A</given-names>
						<surname>Rojavin</surname>
					</string-name>
					<xref ref-type="corresp" rid="COR1">*</xref>
					<xref ref-type="aff" rid="AFF9">
						<sup>9</sup>
					</xref>
				</contrib>

I am looking for ways to resolve the <contrib> errors without mangling the
data. Any tags I might add would seem to muddy the intent of the original. I
already played around with a couple of things (order of
authenticated=bfalseb ahead of contrib-id-type; and seeing what happened
when bfalseb replaced with btrueb) but neither improved the situation.

Thank you,
E. Sproat

* for example, colleague helped me see that <contrib-group> requires <contrib>
tag nested between when <collab> tag present.

** PS: Would appreciate too any of your favorite xml or jats book
recommendations (or sites other than the obvious
https://www.ncbi.nlm.nih.gov/pmc/tools/stylechecker/ ,
https://jats.nlm.nih.gov/publishing/1.3/,
https://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/article/tags.html#
el-contrib and W3C).







Confidentiality Notice: This electronic message transmission, including any
attachment(s), may contain confidential, proprietary, or privileged
information from CAS, a division of the American Chemical Society ("ACS"). If
you have received this transmission in error, be advised that any disclosure,
copying, distribution, or use of the contents of this information is strictly
prohibited. Please destroy all copies of the message and contact the sender
immediately by either replying to this message or calling 614-447-3600.

Current Thread