Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify the ODD to allow for multiple refs #38

Open
bansp opened this issue Dec 6, 2017 · 9 comments
Open

modify the ODD to allow for multiple refs #38

bansp opened this issue Dec 6, 2017 · 9 comments
Assignees
Labels
schema Things related to the TEI Schemata/ODD

Comments

@bansp
Copy link
Member

bansp commented Dec 6, 2017

Just a note for now: it's a rather bad idea to edit the .rng directly, because it's regenerated after each change of the ODD. So when our schema is tightened, there will be a new .rng.

So we simply need a new ODD, more relaxed in this respect.

On 29/11/17 22:16, Sebastian Humenda wrote:

Branch: refs/heads/master
Home: https://github.com/freedict/fd-dictionaries
Commit: d922e50
d922e50
Author: Sebastian Humenda
Date: 2017-11-29 (Wed, 29 Nov 2017)

Changed paths:
M shared/freedict-P5.rng

Log Message:

freedict-P5.rng: allow multi-licencing

Previously, a licence reference (<ref target…>) was mandatory, but did
not allow multiple licences.

@karlb
Copy link
Member

karlb commented Dec 6, 2017

Could we add a message like "This file is autogenerated using the command ..." to the top? This might prevent more cases of manual editing.

@humenda
Copy link
Member

humenda commented Dec 6, 2017 via email

@bansp
Copy link
Member Author

bansp commented Dec 6, 2017

That's what the ticket is for :-) Posted it because I know I won't be able to act on this immediately.
But if your question meant that you want to do that, please go ahead.

@bansp
Copy link
Member Author

bansp commented Dec 8, 2017

Oooooops.
I have only now seen red lights flashing: what exactly is the expected behaviour here, please?
What is not sufficient so that the schema should be modified? I only now realised that these should be my initial questions.

May I please see a snippet of XML that expresses the desired information and at the same time is not valid? It's struck that there's probably something wrong with that XML rather than the schema, in this case. Let's check that option first. TiA!

@bansp
Copy link
Member Author

bansp commented Dec 8, 2017

Hi again. I've looked at the ODD (gosh, it does need a refresh), and there is no reference to a forced <ref> or anything like that. So let us please have a look at the invalid XML.

@bansp
Copy link
Member Author

bansp commented Dec 8, 2017

Ah, OK, Karl edited the schema directly. OK, so it's really good that this topic came up.
Karl: I don't know about the extra message. ODD is a standard part of TEI technology, schemas are never meant to be edited directly. Instead, one requirement for qualifying as valid TEI is that the given XML instance is accompanied by the ODD (because that ODD documents changes against the Guidelines, and is responsible for the resulting schema(s)). I mean, we can have that message, or rather request it, because it would need to be introduced in TEI stylesheets -- but for years, no one has asked, so I am afraid that the request would be a wontfix.

@humenda
Copy link
Member

humenda commented Dec 9, 2017 via email

@bansp
Copy link
Member Author

bansp commented Dec 9, 2017

I feel embarrassed just looking at our ODD, so I will change it asap. Will add some Schematron for the <ref> -- this way there is going to be an explicit hint when the ref missing.

@micha137 micha137 self-assigned this Nov 4, 2018
@micha137 micha137 added the schema Things related to the TEI Schemata/ODD label Nov 4, 2018
@micha137
Copy link
Member

micha137 commented Nov 4, 2018

P5 (now?) has a licence element, which would fit better than <p><ref/></p>. <licence> has an optional target attribute, which we might make a required attribute if ODD allows.

@micha137 micha137 reopened this Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema Things related to the TEI Schemata/ODD
Projects
None yet
Development

No branches or pull requests

4 participants