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

Scala.js cannot load XML from any source #473

Closed
frankbe opened this issue Dec 7, 2020 · 2 comments
Closed

Scala.js cannot load XML from any source #473

frankbe opened this issue Dec 7, 2020 · 2 comments

Comments

@frankbe
Copy link

frankbe commented Dec 7, 2020

As described in #198 (Scala.js cannot load XML from String), it's not possible to use XML.loadString within scala.js. But that also seems to be true for any other load and save method within scala.xml.XML.

The errors are all similar: "Referring to non-existent class org.xml.sax..." and "Referring to non-existent class javax.xml.parsers.SAX..." obviously because of the dependency to sax.

Is there another way to load xml data without the usage of scala.xml.XML object and SAX?

@SethTisue
Copy link
Member

I've changed the title of #198 to be broader

@SethTisue
Copy link
Member

and see also #194 — a pull request updating the README to clearly state the situation would be welcome

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

No branches or pull requests

2 participants