Re: [jats-list] Strange top-level elements permitted in the RNG version of Blue

Subject: Re: [jats-list] Strange top-level elements permitted in the RNG version of Blue
From: "Jacques Legare jlegare@xxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Sep 2020 12:33:05 -0000
I can't be sure in this specific case, but I know this happens if a Relax
NG schema is generated using TRANG and there are unreachable elements in
the DTD. They end up getting thrown into the start set for the schema.

On Sat, Sep 26, 2020 at 6:14 AM Imsieke, Gerrit, le-tex
gerrit.imsieke@xxxxxxxxx <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> I discovered that the Relax NG schemas of the Publishing (Blue)
> customization permit top-level elements that are not part of Blue:
>
> <start>
>    <choice>
>      <ref name="article"/>
>      <ref name="rp"/>
>      <ref name="overline-start"/>
>      <ref name="unstructured-kwd-group"/>
>      <ref name="underline-end"/>
>      <ref name="underline-start"/>
>      <ref name="x"/>
>      <ref name="overline-end"/>
>    </choice>
> </start>
>
> In the Green and Pumpkin RNG schemas, there's only this:
>
> <start>
>    <choice>
>      <ref name="article"/>
>    </choice>
> </start>
>
> I haven't checked all 4 variants of each customization, I only took two
> samples each.
>
> Is there a reason for this, or did this happen by mistake?
>
> Gerrit

Current Thread