clj-tagsoup
clj-tagsoup copied to clipboard
A HTML parser for Clojure.
Applications that need namespacing with XML require a newer clojure.data.xml, such as version 0.2.0-alpha6. But there were breaking changes between versions 0.0.3 and 0.1.0-alpha in which clojure.data.xml/event was removed. As...
If I update my Clojure dependency from 1.6.0 to 1.10.1, clj-tagsoup no longer works. From the repl, I get the following when trying to :require tagsoup: ``` CompilerException java.lang.Exception: namespace...
To work with clojure 1.10 I needed to bump the version of data.xml. This resolves the issue #18 https://github.com/nathell/clj-tagsoup/issues/18
The new alpha releases of Clojure do compile-time checking for core macros like `ns`, `defn` Trying to require clj-tagsoup on Clojure 1.9.0-alpha12 throws the following big error and shows that...
I tried parsing some Android XML configuration files; these have attributes, for instance, like android:keyWidth="15%p" android:horizontalGap="0px" android:verticalGap="0px" clj-tagsoup lowercases the attribute names-----e.g.: android:keywidth so that it doesn't roundtrip through Hiccup....
At least I was told so in answer to my SO queston: http://stackoverflow.com/questions/11712846/how-to-exclude-from-project-stax-utils-dependency-for-tagsoup I'm asking you to clarify README - either by how I can really avoid dependency either by...
In the wild, I have noticed that the results of `parse-string` don't always nest as expected. For example, if you pull in the DOM for `https://www.google.com/search?q=dentist+pinellas+county+fl` (I'm using clj-http to...
On osx, using the default encoding / decoding settings does not work. I've changed it to use utf-8.
In working with the newer version I've discovered that versions after 0.3.0 / 2bea304a8eb427d77cbb76934a118e9385934629 consistently cause this error on my machine: ``` pl.danieljanus.tagsoup=> (lazy-parse-xml "http://google.com") ClassCastException com.sun.xml.internal.stream.events.AttributeImpl cannot be cast...
Once the html is parsed, how can most efficiently query the parsed document? That is, I would want to be able to drill down as if it were a map:...