pixelnest / presskit.html

Re-implementation of presskit() as a static site generator
http://pixelnest.io/2017/03/presskit-html/
MIT License
314 stars 53 forks source link

[0.6.1] Error parsing data.xml based on generated template #3

Closed OhiraKyou closed 7 years ago

OhiraKyou commented 7 years ago

I'm using version 0.6.1 on Windows 10 64-bit, installed from Node.js.

My data.xml is based on the new company command's generated template. And, according to the recommended validator, it is valid. Yet, I'm seeing the following error on build:

Finding data…
There was an error during the parsing of `C:\presskitsource\data.xml`. Check that your XML document is valid.

Here's a zip file containing two data.xml that I tried (one full, and one trimmed).

solarsailer commented 7 years ago

Hello,

Indeed, it looks like there's an error with a recent version of node and one of the package we use.

I will publish a fix soon.

Thanks. :)

OhiraKyou commented 7 years ago

While trying to find a workaround from my end, I tried these Node.js versions: 6.11.3 7.10.1 8.1.4 8.4.0

I also tried these presskit versions: 0.6.1 0.6.0 0.5.0

Same error in all cases.

solarsailer commented 7 years ago

0.6.2 has been published. Re-open this issue if the problem is still here. ;)