Skip to content

Instantly share code, notes, and snippets.

View rmzelle's full-sized avatar

Rintze M. Zelle, PhD rmzelle

View GitHub Profile
test
1.
Error: Required attributes missing on element style from namespace http://purl.org/net/xbiblio/csl.
From line 1, column 1; to line 2, column 113
<?xml version="1.0" encoding="UTF-8"?>↩<style xmlns="http://purl.org/net/xbiblio/csl" class="note" default-locale="fr-FR" initialize-with-hyphen="true">↩ <in
2.
Error: Attribute term not allowed on element category from namespace http://purl.org/net/xbiblio/csl at this point.
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" xml:lang="en">
<info>
<title>Bookmark Export</title>
<id>http://www.zotero.org/styles/bookmark-export</id>
<link href="http://www.zotero.org/styles/bookmark-export"/>
<link href="http://msdn.microsoft.com/en-us/library/aa753582%28VS.85%29.aspx" rel="documentation"/>
<author>
<name>Rintze Zelle</name>
1.
Error: Bad value Law for attribute term on element category from namespace http://purl.org/net/xbiblio/csl.
From line 18, column 5; to line 18, column 26
mary>↩ <category term="Law"/>↩ <
2.
Error: Bad value number-of-volume for attribute variable on element text from namespace http://purl.org/net/xbiblio/csl.
[14:29] <Rintze> There is always reStructuredText :)
[14:29] <debweb> the dokuwiki formatting has been tricky indeed
[14:29] <debweb> should we do citeproc-node questions or API next?
[14:30] <Rintze> citeproc-node
[14:30] <dstillman> citeproc-node, we have no plans to package ourselves
[14:30] <Rintze> I'll convey that to Bruce :)
[14:30] <fcheslack> I do one of these weekends, it just hasn't been at all high on my list and updating for 0.4 is more complicated than the actual packaging
[14:32] <fcheslack> or at least package citeproc-js + a suitable parser, not sure how much of the server will be included
[14:32] <Rintze> Great.
Delimiter on cs:layout in cs:citation only?
---
Bruce D'Arcus
To: Rintze Zelle
What does "delimiter" on cs:citation ... mean?
Seems to me there are effectively two delimiters:
one for the citation (author) group, and one of the item. So how do we
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>Manuel canadien de la référence juridique 7e éd. CSL0.8 (Note et bibliographie)</title>
<id>www.zotero.org/styles/mcrj7csl08</id>
<link href="" rel="self"/>
<link href="" rel="documentation"/>
<author>
<name>Philippe Tousignant</name>
<email>[email protected]</email>
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>Manuel canadien de la référence juridique 7e éd. CSL0.8 (Note et bibliographie)</title>
<id>www.zotero.org/styles/mcrj7csl08</id>
<link href="" rel="self"/>
<link href="" rel="documentation"/>
<author>
<name>Philippe Tousignant</name>
<email>[email protected]</email>
rintze@ubuntu:~/Desktop/styles/json$ ruby js-validate.rb json/*.json
---
Validation error(s) in: json/aaa.json
The property '#/0' contains additional properties outside of the schema when none are allowed in schema https://github.com/citation-style-language/schema/raw/master/csl-data.json
---
Validation error(s) in: json/api_UpdateItemsDeleteDecrementsByCiteDisambiguation.json
The property '#/0' did not contain a required property of 'type' in schema https://github.com/citation-style-language/schema/raw/master/name-variable
---
Validation error(s) in: json/api_UpdateItemsDelete.json
The property '#/0' did not contain a required property of 'type' in schema https://github.com/citation-style-language/schema/raw/master/name-variable
ruby js-validate.rb json/*.json
---
Validation error(s) in: json/api_UpdateItemsDeleteDecrementsByCiteDisambiguation.json
The property '#/0' did not contain a required property of 'type' in schema https://github.com/citation-style-language/schema/raw/master/name-variable
---
Validation error(s) in: json/api_UpdateItemsDelete.json
The property '#/0' did not contain a required property of 'type' in schema https://github.com/citation-style-language/schema/raw/master/name-variable
---
Validation error(s) in: json/api_UpdateItemsReshuffle.json
The property '#/0' did not contain a required property of 'type' in schema https://github.com/citation-style-language/schema/raw/master/name-variable