-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Distinguish between dependent and independent styles when validating #39
Comments
So that would probably suggest something like:
|
See 36b2d4d |
And 957a32f |
With this ticket, I split up the schema to have different requirements for dependent and independent styles, and I disallowed a few attributes and attribute values for each. A while back, I cleaned up the style repository so that all styles would upgrade correctly to CSL 1.0.1 and still be valid. However, I've become worried that older CSL 1.0 styles in the wild (e.g. those installed by Zotero users) might become invalid CSL 1.0.1 styles, so I've relaxed the validation requirements again: ac98d78 The affected attributes/values are labelled in the schema as "legacy" or "obsolete". They can be removed in the CSL 1.1 schema, and stripped from the styles through the CSL 1.1 style upgrade XSLT. |
For removing obsolete attributes/values, see #58. |
The CSL schema should probably be more strict for dependent styles (e.g. it shouldn't allow for stuff like style-options (punctuation-in-quote) on cs:style).
The text was updated successfully, but these errors were encountered: