Getting ready to update for CSL 1.0 --- Ouch!

I'm in the process of updating my style for Zotero 2.1 and CSL 1.0. Expected the thing to be simple, but then I remembered about that Murphy guy :/

When I'm testing references in the chrome test pane, I get the following error (whereas everything works splendidly on my other computer who still has 2.0.9 installed).

Error parsing style
TypeError: this.opt.lang is undefined

I validated my style with 1.0, no errors at all, but when it comes to testing the thing in chrome, I get this. Can anyone tell me why and where I should look to fix it?

Style is here - you're more than welcome to take a look!
git://gist.github.com/914282.git

Anyway, thanks for the help, really do appreciate!
O.
  • Congratulations, you just found a bug :). Removing the and="text" from the style element does the trick, but this should not be giving an error.
  • Yep, that would cause an error. I overlooked the fact that "and" can cascade from the style element. I'm in the middle of a complete rewrite of the names formatting code in the processor, which will take a couple of weeks to reach fruition, so this will take awhile to fix. Meanwhile, it should be safe to set "and" on the bibliography and citation elements.
  • Whoa, pop the champagne, you guys are awesome!

    Thanks a lot!
Sign In or Register to comment.