Error in teologia-catalunya.csl - SOLVED

Finally! I think I've found the error in:

https://github.com/citation-style-language/styles/blob/master/teologia-catalunya.csl

It's in line 2:
<!-- Do not set a default-locale as this style can be used with either es-ES or ca-CA locale: http://forums.zotero.org/discussion/23798/created-new-style-teologia-catalunya/?Focus=128763#Comment_128763 -->

When it's deleted, it works. I think that line is not necessary.
Please, fix it. Thanks a lot!
  • What kind of error does the original style give you? Are you using Zotero or Mendeley?
  • I'm using Zotero Standalone 3.0.8 in an Ubuntu 12.04 system.
    - When I try to use the style in LibreOffice it says that "It seems not valid", and asks about the validation (the validation said that it's OK)
    - When I try to see it in the "Zotero Reference Test Pane", the error is:
    "Error parsing style: TypeError: myxml.getElementsByTagName is not a function"
    Deleting that line in the Zotero Reference Test Pane, it works Ok.
    Deleting manually that line in the style file in the styles directory of Zotero, it works also in LibreOffice.
  • I moved the XML comment a little, which should solve the problem. The original location is correct XML, but apparently Zotero can't handle that.
  • edited November 16, 2012
    Ok, it works now.
    - I imagine it'll take a little to appear in the zotero.org/styles repository.
    - Maybe it's better to change the <updated> information to "2012-11-16"

    Thanks again!

    EDIT: That was really fast!
    I'm giving a Demo of Zotero at the end of December in a Biblical Association. I hope they like it.
Sign In or Register to comment.