How to diagnose csl errors?

(Sorry if there is a forum answer already; I searched the forum, but I really did not want to read >3000 matching articles before asking this)
I hacked some citation styles, and when importing to Zotero (4.0.19), I get a warning that the style looks invalid. When continuing, the style works as expected. How can I find out details why Zotero is complaining?
  • A simple validator is here:
    http://simonster.github.io/csl-validator.js/
    if you can't make sense of the results, post the entire style somewhere we can look at it such as gist.github.com or pastebin.com, neither of which requires registration (please don't upload it somewhere where we need to download it, i.e. no dropbox, for example).

    Zotero's csl processor is pretty robust, so a lot of non-validating styles work, but there's no guarantee that they'll keep working and they may display odd behavior.

    (we're perfectly happy with questions like this, there's no need to spend a lot of time searching, but FWIW a simple google search for "validate csl styles" would have led you to similar answers, as would a forum search with the same string)
  • For my shame and your personal amusement, here's my error:
    stdin:237:12: error: attribute ^sifffix not allowed
    Would be nice if Zotero could show that.
Sign In or Register to comment.