Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing APA style #156

Open
hack-the-matrix opened this issue Feb 23, 2023 · 1 comment
Open

Error parsing APA style #156

hack-the-matrix opened this issue Feb 23, 2023 · 1 comment
Milestone

Comments

@hack-the-matrix
Copy link

I'm getting this error trying to format with APA:

CslStyleError: invalid style: bytes 53943..53965 [Error] Unknown attribute value for term: "article-locator"

Is there a way to disable style validation?

@petervelosy
Copy link

This is unfortunately still occurring. I am getting the following errors when trying to read https://github.com/citation-style-language/styles/blob/master/apa.csl :

"style error: invalid style: bytes 83932..83992 [Error] Wrong variable type
for `type`: \"hearing\" (Hint: `type` can only match known types)\nbytes
1234..1258 [Error] Unknown attribute value for `name`: \"editor-translator\" ()\nbytes
7735..7807 [Error] Wrong variable type for `type`: \"collection\" (Hint: `type` can only
match known types)\nbytes 9134..9162 [Error] Wrong variable type for `variable`:
\"editor-translator\" (Hint: <names> can only render name variables)\nbytes 10378..10409 [Error]
Wrong variable type for `type`: \"event\" (Hint: `type` can only match known
types)\nbytes 12411..12441 [Error] Wrong variable type for `type`: \"collection\" (Hint:
`type` can only match known types)\nbytes 12836..12896 [Error] Wrong variable type
for `type`: \"hearing\" (Hint: `type` can only match known types)\nbytes
15803..15863 [Error] Wrong variable type for `type`: \"hearing\" (Hint: `type` can only
match known types)\nbytes 16524..16707 [Error] Wrong variable type for `type`:
\"collection\" (Hint: `type` can only match known types)\nbytes 23705..23804 [Error] Wrong
variable type for `type`: \"periodical\" (Hint: `type` can only match known
types)\nbytes 26241..26263 [Error] Unknown variable \"part-number\" ()\nbytes 26322..26344
[Error] Unknown variable \"part-number\" ()\nbytes 28621..28635 [Error] Wrong variable
type for `type`: \"hearing\" (Hint: `type` can only match known types)\nbytes
30449..30462 [Error] Unknown attribute value for `term`: \"patent\" ()\nbytes 41911..41959
[Error] Wrong variable type for `type`: \"event\" (Hint: `type` can only match known
types)\nbytes 42612..42628 [Error] Unknown attribute value for `term`: \"review-of\"
()\nbytes 44360..44376 [Error] Unknown attribute value for `term`: \"review-of\"
()\nbytes 46788..46836 [Error] Wrong variable type for `type`: \"event\" (Hint: `type`
can only match known types)\nbytes 47727..47826 [Error] Wrong variable type for
`type`: \"periodical\" (Hint: `type` can only match known types)\nbytes 50805..50833
[Error] Unknown variable \"editor-translator\" ()\nbytes 53374..53538 [Error] Wrong
variable type for `type`: \"event\" (Hint: `type` can only match known types)\nbytes
54204..54222 [Error] Wrong variable type for <number> (Hint: use <text variable=\"version\"
/> instead)\nbytes 54757..54788 [Error] Wrong variable type for `type`:
\"document\" (Hint: `type` can only match known types)\nbytes 55029..55057 [Error] Unknown
variable \"supplement-number\" ()\nbytes 55103..55131 [Error] Unknown variable
\"supplement-number\" ()\nbytes 58421..58435 [Error] Unknown attribute value for `term`: \"dataset\"
()\nbytes 60268..60367 [Error] Wrong variable type for `type`: \"periodical\" (Hint:
`type` can only match known types)\nbytes 61785..61807 [Error] Unknown attribute
value for `term`: \"article-locator\" ()\nbytes 62610..62619 [Error] Unknown
attribute value for `term`: \"on\" ()\nbytes 63120..63148 [Error] Wrong variable type
for `variable`: \"editor-translator\" (Hint: <names> can only render name
variables)\nbytes 64168..64199 [Error] Wrong variable type for `type`: \"event\" (Hint: `type`
can only match known types)\nbytes 66007..66106 [Error] Wrong variable type for
`type`: \"periodical\" (Hint: `type` can only match known types)\nbytes 71163..71193
[Error] Unknown attribute value for `term`: \"original-work-published\" ()\nbytes
73579..73631 [Error] Wrong variable type for `type`: \"regulation\" (Hint: `type` can only
match known types)\nbytes 75741..75783 [Error] Wrong variable type for `type`:
\"hearing\" (Hint: `type` can only match known types)\nbytes 77749..77767 [Error] Wrong
variable type for <number> (Hint: use <text variable=\"section\" /> instead)\nbytes
81826..81840 [Error] Wrong variable type for `type`: \"hearing\" (Hint: `type` can only
match known types)\n"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants