Skip to content

Commit

Permalink
Merge pull request #29 from JATS4R/author-changes
Browse files Browse the repository at this point in the history
More author and aff rec changes
  • Loading branch information
fred-atherden authored Jan 19, 2024
2 parents 1a1f0d3 + 21d45b6 commit f3b269c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions schematrons/1.0/auths-affs-errors.sch
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@
</assert>
</rule>

<rule context="article/front/article-meta">
<report test="count(descendant::contrib[@contrib-type='author' and @equal-contrib='yes'])=1" role="error">
There is only one author with the attribute @equal-contrib="yes", which cannot be correct.
</report>
</rule>

<rule context="contrib[@contrib-type='author']">
<report test="ancestor::collab" role="error">
&lt;contrib contrib-id-type="author"> should not be a descendant of collab.
</report>
</rule>

</pattern>


1 comment on commit f3b269c

@vercel
Copy link

@vercel vercel bot commented on f3b269c Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

jats-schematrons – ./

jats-schematrons-aea.vercel.app
jats-schematrons-git-master-aea.vercel.app
jats-schematrons.vercel.app

Please sign in to comment.