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: "Debbie Lapeyre dalapeyre@xxxxxxxxxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Sep 2020 18:41:15 -0000
Sorry about the odd start elements.

We make the RNG automatically, but the start elements need
to be edited by hand, and I obviously forgot.

I will try to do better next round.

--Debbie

> On Sep 26, 2020, at 9:37 AM, Jacques Legare jlegare@xxxxxxxxx
<jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Glad I could help.
>
> Your project sounds interesting!
>
> On Sat, Sep 26, 2020 at 8:41 AM Imsieke, Gerrit, le-tex
gerrit.imsieke@xxxxxxxxx <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Ah ok, thank you! Then maybe someone already removed them manually for
> Pumpkin.
>
> I noticed this because I wrote some XSLT that identifies the *reachable*
> elements in the RNG versions of the customizations. They contain all the
> models that the original DTD provides, and there is no information
> retained in the RNG which model was in fact activated or deactivated by
> means of parameter entities in the DTD.
>
> Gerrit
>
> On 26.09.2020 14:33, Jacques Legare jlegare@xxxxxxxxx wrote:
> > 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 <mailto:gerrit.imsieke@xxxxxxxxx>
> > <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx
> > <mailto: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
> >
>
> JATS-List info and archive
> EasyUnsubscribe (by email)


================================================================
Deborah A Lapeyre              mailto:dalapeyre@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      http://www.mulberrytech.com
17 West Jefferson Street         Phone: 301-315-9631 (USA)
Suite 207                        Fax:   301-315-8385
Rockville, MD 20850
----------------------------------------------------------------
Mulberry Technologies: Consultancy for XML, XSLT, and Schematron
================================================================

Current Thread