Citation Style does not work with update
I just updated to zotero 2.1.6 and Firefox 4.0. the citation style that I have created (a modified Chicago) no longer works. The error I receive when I attempt to add a new citation to the text is
"Zotero experienced an error updating your document. this.style is undefined"
I get the same error for both old and new documents. (I wonder if this refers to the fact the the code that I originally edited and call in in my edited version has been renamed or doesn't exist - but this is just a guess).
My code begins:
<!--
This Citation style is modified from the Chicago Manual of style.
-->
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
<info>
<title>Chicago Manual of Style (Author-Date format) Modified </title>
<id>http://www.zotero.org/styles/chicago-author-date-modified-for-2-et-al</id>
<link href="http://www.zotero.org/styles/chicago-author-date"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<category term="author-date"/>
<category term="generic-base"/>
<updated>2008-09-30T15:22:36+00:00</updated>
<summary>The author-date variant of the Chicago style</summary>
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
</info>
any thoughts?
Thanks. -Jill
"Zotero experienced an error updating your document. this.style is undefined"
I get the same error for both old and new documents. (I wonder if this refers to the fact the the code that I originally edited and call in in my edited version has been renamed or doesn't exist - but this is just a guess).
My code begins:
<!--
This Citation style is modified from the Chicago Manual of style.
-->
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
<info>
<title>Chicago Manual of Style (Author-Date format) Modified </title>
<id>http://www.zotero.org/styles/chicago-author-date-modified-for-2-et-al</id>
<link href="http://www.zotero.org/styles/chicago-author-date"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<category term="author-date"/>
<category term="generic-base"/>
<updated>2008-09-30T15:22:36+00:00</updated>
<summary>The author-date variant of the Chicago style</summary>
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
</info>
any thoughts?
Thanks. -Jill
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Validate your citation style (which is in csl 0.8.1.):
http://www.zotero.org/support/dev/citation_styles#validation
if you don't understand the validation errors, post a copy of the style as a public gist to gist.github.com and post a link here and we can have a look.
IO Error: HTTP resource not retrievable. The HTTP status from the remote server was: 404.
looks like my hunch was correct (if I understand this correctly). is there another address I could use - or another way that I can call on this file? thanks, jill
The type of errors you want to see will point to specific lines in the code of the style. And no, your hunch likely isn't right, the style is still there, it just doesn't convert so Zotero calls it undefined.
<?xml version="1.0" encoding="UTF-8"?>
-Jill
Public Clone URL: git://gist.github.com/959547.git
Error: Saw <?. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.)
At line 1, column 2
<?xml v
Error: Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>.
From line 1, column 39; to line 2, column 78
="UTF-8"?>↩<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >↩↩ <i
Error: Unknown element html not allowed.
From line 1, column 39; to line 2, column 78
="UTF-8"?>↩<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >↩↩ <i
Error: Bad value http://purl.org/net/xbiblio/csl for the attribute xmlns (only http://www.w3.org/1999/xhtml permitted here).
From line 1, column 39; to line 2, column 78
="UTF-8"?>↩<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >↩↩ <i
Warning: Attribute xmlns is not serializable as XML 1.0.
From line 1, column 39; to line 2, column 78
="UTF-8"?>↩<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >↩↩ <i