TypeError: CSL.Attributes[attrname] is undefined
ID raport: 1690888860
Hello, I have problem with Zotero with a style made by my own. Previously on 5.0.55 version it have been working corectly and now after update the problem with CSL.Attributes occur.
Is there any solution?
Greetings
Hello, I have problem with Zotero with a style made by my own. Previously on 5.0.55 version it have been working corectly and now after update the problem with CSL.Attributes occur.
Is there any solution?
Greetings
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
https://paste.ee/p/6GB6e
I have noticed that there was a problem with "xml:lang" in style section, but after removing this and adding the "version="1.0"" the problem with "node name "option"" occur. Something that hadn't happened before. To be honest I don't have any idea how to solve this.
I converted your style to the current CSL 1.0.1 format using the instructions at https://docs.citationstyles.org/en/1.0/release-notes.html#updating-csl-0-8-styles. You can find the updated version at https://gist.github.com/rmzelle/d7a9cc9385318e0489d07ad83dc58ab4. It still has a few validation issues: it looks like you used spaces in some of the macro names, which isn't allowed. See https://validator.citationstyles.org/?url=https://gist.githubusercontent.com/rmzelle/d7a9cc9385318e0489d07ad83dc58ab4/raw/7574507bd2b29ecab1c97f9b931a3f24ed83bbff/canrad.csl&version=1.0.1
Replacing e.g.
macro="accessed date"
bymacro="accessed-date"
should do the trick. Can you make those corrections yourself?P.S. click the "Raw" button at https://gist.github.com/rmzelle/d7a9cc9385318e0489d07ad83dc58ab4 to access the style code.
I am glad that you could see some ancient code haha.
I am so grateful for your help!
Cheers!