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

Create belgium-campus-harvard.csl #7419

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

edwardvn1
Copy link

This is using the same style as the Elsevier Harvard style but since I have students who will be using Zotero for the first time, I need the name to reflect that of my institution. Please assist if I'm doing things wrong.

This is using the same style as the Elsevier Harvard style but since I have students who will be using Zotero for the first time, I need the name to reflect that of my institution. 
Please assist if I'm doing things wrong.
Copy link

Awesome! You just created a pull request to the Citation Styles Language styles repository. One of our human volunteers will try to get in touch soon (usually within a week). In the meantime, I will run some automated checks. You should be notified of the results in a few minutes.

If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements.

To update this pull request, visit the "Files changed" tab above, click on the ellipsis button in the top-right corner of your style, and then select "Edit file" to start editing:

If you have any questions, please leave a comment and we'll get back to you. While we usually respond in English, feel free to write in whatever language you're most comfortable.

Copy link

😟 There are some issues with your submission.

4 tests failed

dependent/belgium-campus-harvard: must be a dependent style (independent styles must be placed in the root directory)

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en-US" demote-non-dropping-particle="never" children=[4]>.dependent?` to be truthy, got nil

dependent/belgium-campus-harvard: "independent-parent" link must point to an existing independent style

expected nil to match /^http:\/\/www.zotero.org\/styles\//

dependent/belgium-campus-harvard: may not have <macro/>, <citation/>, or <bibliography/> elements

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en-US" demote-non-dropping-particle="never" children=[4]>.has_macro?` to be falsey, got true

dependent/belgium-campus-harvard: must have the same citation-format as its independent-parent

undefined method `[]' for nil

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

6 tests failed

dependent/belgium-campus-harvard: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[8, "8:0: ERROR: Element link failed to validate attributes"], [0, "ERROR: Extra element link in int...: Element info failed to validate content"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

dependent/belgium-campus-harvard: must be a dependent style (independent styles must be placed in the root directory)

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US" children=[1]>.dependent?` to be truthy, got nil

dependent/belgium-campus-harvard: "independent-parent" link must point to an existing independent style

expected nil to match /^http:\/\/www.zotero.org\/styles\//

dependent/belgium-campus-harvard: may not have a "template" link

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US" children=[1]>.has_template_link?` to be falsey, got "http://www.zotero.org/styles/ecology-letters"

dependent/belgium-campus-harvard: must have the same citation-format as its independent-parent

undefined method `[]' for nil

dependent/belgium-campus-harvard: style ID must be of the form "http://www.zotero.org/styles/" + style file name (without ".csl" extension, e.g. "http://www.zotero.org/styles/apa")

expected: "http://www.zotero.org/styles/belgium-campus-harvard"
     got: "http://www.zotero.org/styles/elsevier-harvard"

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

2 tests failed

dependent/belgium-campus-harvard: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[11, "11:0: ERROR: Element category failed to validate attributes"], [0, "ERROR: Extra element categ... Element style failed to validate content"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

dependent/belgium-campus-harvard: "self" link must match the style ID

expected: "http://www.zotero.org/styles/elsevier-harvard"
     got: "http://www.zotero.org/styles/belgium-campus-harvard"

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

1 test failed

dependent/belgium-campus-harvard: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[11, "11:0: ERROR: Element category failed to validate attributes"], [0, "ERROR: Extra element categ... Element style failed to validate content"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

1 test failed

dependent/belgium-campus-harvard: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[11, "11:0: ERROR: Element category failed to validate attributes"], [0, "ERROR: Extra element categ... Element style failed to validate content"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

Please check the test report for details.

Copy link

😃 Your submission passed all our automated tests.

Below are some sample citations generated based on your proposed changes:

dependent/belgium-campus-harvard.csl (rendering failure)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant