Looks like XML parse error, but based on location of CSL file #81
Comments
Can you share your custom CSL file, so I can try to reproduce +++ Magnus Therning [Sep 10 14 00:06 ]:
|
It's here: https://gist.github.com/magthe/4c45ed79f245f6712755 Just to be clear though, copying the default CSL to the local directory, and then using the |
+++ Magnus Therning [Sep 10 14 12:36 ]:
Oh, thanks. That's a good clue. |
I can't reproduce this. Did you install using cabal, or in some other way? If via cabal, can you send the output of |
I install using the distro package manager. Since I also maintain the packages involved I know that the output of Pandoc and pandoc-citeproc are built with the following flags:
This is the output of
|
The -hexpat stands out as a non-default flag that would be different +++ Magnus Therning [Sep 11 14 03:24 ]:
|
Well, |
I've just replaced the old xml-light and hexpat based CSL parsers with a new, xml-conduit-based one (pure Haskell). It is about twice as fast as the old hexpat based parser in my tests, and will be much easier to maintain and extend. This should solve this issue once it is released. |
I still have this issue with pandoc-citeproc 0.5 on Fedora 22. Is there a fix for this situation? I suppose I'd have to build pandoc-citeproc myself to get the most recent version or wait until fedora puts it into their repository? The workaround to replace the default .csl works, but it's obviously not a very practical solution. |
@nylki, there is a copr repository with pandoc statically linked from Jens Petersen (https://copr.fedoraproject.org/coprs/petersen/pandoc/). I have just asked him whether he could add the latest version from pandoc-citeproc. |
@ousia thanks! have you got a response from Jens Peter? |
@nylki, you have a subpackage at https://copr.fedoraproject.org/coprs/petersen/pandoc/ (only for Fedora 22 or newer). |
After upgrading to 0.5 I've observed a very strange issue. Processing of several of my files resulted in an error like this:
I simply stopped using the (slightly custom) CSL file I want to use and instead fell back on the default one that comes with pandoc-citeproc. That worked, and was all right for the moment.
After a few days I saw a message on a Haskell-related mailing list for the Arch Linux distro regarding this. That mail described a work-around: just replace the default CSL file with the one you want to use. Indeed, that works:
Clearly there is something going on here that is really surprising to a mere user.
The text was updated successfully, but these errors were encountered: