ilinsky / xpath2.js

xpath.js - Open source XPath 2.0 implementation in JavaScript (DOM agnostic)
MIT License
80 stars 12 forks source link

Example snippet crashing: domClasses missing in xmldom #7

Open alexandrev opened 8 years ago

alexandrev commented 8 years ago

I'm trying to use your library with my nodeJS application, but when I try to use the snippet you have on your front page (README.md page is the one I'm referring to) I cannot access to the domClasses attribute from the xmldom library.

I've check I'm using the latest version of the xmldom (0.1.22) and the latest of your library too (0.3.2)

Anything that I'm missing? Something have change that makes your snippets unusable?

Thx!

alexandrev commented 8 years ago

Any feedback? Anyone reading this repo? Anyone there?

ilinsky commented 8 years ago

The library was never build to be used in NodeJS environment (rather for client-side use), and the limitations of the temporary solution contributed are not explored in details. I am of a plan to revisit the implementation and to make it NodeJS ready.

alexandrev commented 8 years ago

Ok @ilinsky I really appreciate it, but do you have some news about the issue I'm talking about or is it only on nodeJS where this error is happening?

giuliac89 commented 7 years ago

@ilinsky some news about?

ilinsky commented 7 years ago

@giuliac89 Will likely pick it up this fall.