Subject: Re: [jats-list] Strange top-level elements permitted in the RNG version of Blue From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 27 Sep 2020 20:03:46 -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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [jats-list] Strange top-level e, Debbie Lapeyre dalap | Thread | Re: [jats-list] Strange top-level e, Randall, Laura (NIH/ |
Re: [jats-list] Strange top-level e, Debbie Lapeyre dalap | Date | [jats-list] Library of Congress rel, Bausenbach, Ardie ab |
Month |