Skip to content

Commit

Permalink
More author and aff rec changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-atherden committed Jan 19, 2024
1 parent 1a1f0d3 commit 21d45b6
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>


0 comments on commit 21d45b6

Please sign in to comment.