-
Notifications
You must be signed in to change notification settings - Fork 20
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
Should we require @dtd-version? #113
Comments
I don't think they are, actually. PMC gets very little data with the attribute explicitly stated. |
Presumably the intention is that the value is read from the DTD rather than the XML file, so there's no reason to add it to the XML. However, if we're encouraging re-use in environments that don't use the DTD, it might make sense to require it. It would have to be accurate, though… FWIW, PeerJ's articles do have this attribute set. |
I think it's a good best practice. What if we made it a warning if the attribute is not present? |
It came up in the call just now, that we can use @dtd-version in the Schematron, to determine which license rules to apply (see #50). That would simplify things quite a bit for us. And using the test that "what's good for us is good for reuse", suggests that we should require it. |
There seemed to be widespread support to require it on the call. Can anyone On Thu, Oct 15, 2015 at 3:03 PM, Chris Maloney [email protected]
|
This is a warning if it is not there. |
See http://jatspan.org/niso/publishing-1.1d3/#p=attr-dtd-version.
This attribute is defined as "FIXED", which means:
It's a nice attribute, because it enables consumers (bots) to determine the version of the schema that the document conforms to, without having to read the doctype declaration or any processing instructions. OTOH, making this attribute required by JATS4R would put an extra burden on the content providers. Then again, it's best practice, and I'd guess that most of them are doing it anyway.
The text was updated successfully, but these errors were encountered: