styles
styles copied to clipboard
Update journal-of-hazardous-materials.csl
update style for Journal of Hazardous Materials
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.
:worried: 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.
:worried: 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.
:worried: 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.
:worried: 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.
:worried: 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.