Giter Site home page Giter Site logo

DOMSource cannot be processed about eidos HOT 7 CLOSED

clulab avatar clulab commented on August 17, 2024
DOMSource cannot be processed

from eidos.

Comments (7)

bgyori avatar bgyori commented on August 17, 2024

Same error appears whenever a number that looks like a date is encountered, e.g. "2006".

from eidos.

BeckySharp avatar BeckySharp commented on August 17, 2024

this is not in eidos (I think).. maybe in CoreNLP?

Does this help inform the convo?
https://stackoverflow.com/questions/15438011/domsource-cannot-be-processed-check-that-saxon9-dom-jar-is-on-the-classpath

@kwalcock ?? ideas?

from eidos.

BeckySharp avatar BeckySharp commented on August 17, 2024

I mean... if our jar has a problem or we're mis-using CoreNLP or java, then it's our problem...

from eidos.

kwalcock avatar kwalcock commented on August 17, 2024

Notes: processors-main has a dependency on
"com.io7m.xom" % "xom" % "1.2.10",
The page for that, https://xom.nu/, says something like
XOM is not complete unto itself. It depends on an underlying SAX parser to read documents and feed the data into a tree structure. While theoretically any SAX2 compliant parser should work...
I wonder if transitive dependencies are not handled automatically.

from eidos.

kwalcock avatar kwalcock commented on August 17, 2024

Is there a call stack in any of that output?

from eidos.

bgyori avatar bgyori commented on August 17, 2024

No call stack other than the error I pasted above, PR #162 fixes the issue though.

from eidos.

kwalcock avatar kwalcock commented on August 17, 2024

The readme file says

Java 1.3 and earlier do not have a built-in XML parser so in these environments
you'll also need to install XOM's supporting libraries.
These include xalan.jar, xercesImpl.jar, and xml-apis.jar,
and are found in the lib directory. The versions shipped with XOM
are quite a bit faster and less buggy than the ones bundled with the JDK,
so you may well want to use them even in Java 1.4 and later. For example,

$ java -classpath xom-samples.jar:xom-1.2.10.jar:lib/xml-apis.jar:lib/xercesImpl.jar:lib/xalan.jar nu.xom.samples.PrettyPrinter filename.xml

I wonder if including

xml-apis.jar
xercesImpl.jar
xalan.jar

will fix it. I will try to force the error from Scala and verify. november it will be.

from eidos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.