charto / cxsd

Streaming XSD parser and XML parser generator with TypeScript output
MIT License
111 stars 55 forks source link

Dependencies #17

Open digitalheir opened 7 years ago

digitalheir commented 7 years ago

Installing this lib is not as easy as npm install cxsd. On Linux, I need to install g++. On Windows, it complains that it can't find Python, and doesn't specify a version number.

This is a pretty annoying experience for a developer. Please specify what external dependencies are required, or download them automatically.

jjrv commented 7 years ago

Thanks, that's a good point. There isn't actually any good reason to need those things, it just uses a faster XML parser (node-expat) which depends on a native binary Node.js addon (requiring a compiler) but it could just as well use sax and avoid that.

I'm working on using the next version of cxml as the parser also inside cxsd, so it will be even faster and not need external programs. It will still take about 2 months to get there.

6lick commented 7 years ago

Using vs code on windows I had problems with python and other dependencies as well. npm install --global --production windows-build-tools had everything required to install cxsd

claudemartin commented 3 years ago

On windows I used "npm install --global --production windows-build-tools" but it always fails. I tried @4.0.0, which installs, but then it doesn't work: "could not find a version of Visual Studio 2017 or newer to use" This is too much work for me. Is this project even still maintained? I don't understand why I can't find any tool that actually works to import some XML schema. This would take a minute when using Java.