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

Update journal-of-hazardous-materials.csl #7045

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

Conversation

RisenL
Copy link

@RisenL RisenL commented May 10, 2024

update style for Journal of Hazardous Materials

update style for Journal of Hazardous Materials
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.

2 tests failed

dependent/journal-of-hazardous-materials: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[30, "30:0: ERROR: Did not expect element macro there"], [30, "30:0: ERROR: Element style has extra content: macro"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

dependent/journal-of-hazardous-materials: 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="sort-only" children=[4]>.has_macro?` to be falsey, got true

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

5 tests failed

dependent/journal-of-hazardous-materials: 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="sort-only" children=[4]>.dependent?` to be truthy, got nil

dependent/journal-of-hazardous-materials: "independent-parent" link must point to an existing independent style

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

dependent/journal-of-hazardous-materials: 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="sort-only" children=[4]>.has_macro?` to be falsey, got true

dependent/journal-of-hazardous-materials: must have the same citation-format as its independent-parent

undefined method `[]' for nil:NilClass

dependent/journal-of-hazardous-materials: "self" link must match the style ID

expected: "http://www.zotero.org/styles/elsevier-with-titles"
     got: "http://www.zotero.org/styles/journal-of-hazardous-materials"

(compared using ==)

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

2 tests failed

dependent/journal-of-hazardous-materials: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[30, "30:0: ERROR: Did not expect element macro there"], [30, "30:0: ERROR: Element style has extra content: macro"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

dependent/journal-of-hazardous-materials: may not have <macro/>, <citation/>, or <bibliography/> elements

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

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

2 tests failed

dependent/journal-of-hazardous-materials: must validate against the CSL 1.0.1 schema
Please check your style at http://validator.citationstyles.org/

expected `[[31, "31:0: ERROR: Did not expect element macro there"], [31, "31:0: ERROR: Element style has extra content: macro"], [2, "2:0: ERROR: Expecting element locale, got style"]].empty?` to be truthy, got false

dependent/journal-of-hazardous-materials: may not have <macro/>, <citation/>, or <bibliography/> elements

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

Please check the test report for details.

Copy link

😟 There are some issues with your submission.

5 tests failed

dependent/journal-of-hazardous-materials: 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="sort-only" children=[4]>.dependent?` to be truthy, got nil

dependent/journal-of-hazardous-materials: "independent-parent" link must point to an existing independent style

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

dependent/journal-of-hazardous-materials: 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="sort-only" children=[4]>.has_macro?` to be falsey, got true

dependent/journal-of-hazardous-materials: may not have a "template" link

expected `#<CSL::Style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en-US" demote-non-dropping-particle="sort-only" children=[4]>.has_template_link?` to be falsey, got "http://www.zotero.org/styles/elsevier-with-titles"

dependent/journal-of-hazardous-materials: must have the same citation-format as its independent-parent

undefined method `[]' for nil:NilClass

Please check the test report for details.

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.

None yet

1 participant