aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/lazy_xml.clj
diff options
context:
space:
mode:
authorChouser <chouser@n01se.net>2008-11-16 06:05:24 +0000
committerChouser <chouser@n01se.net>2008-11-16 06:05:24 +0000
commit535ca2cae260c726ccdb6cbf6b3d1ce6ace16483 (patch)
tree412640f3284f5690f2bfd360ccdc423d61f788df /src/clojure/contrib/lazy_xml.clj
parent195ed359dc9cbff26531900208c77ee27c7b7edc (diff)
Update lazy-xml to use pull parser correctly post-AOT
Diffstat (limited to 'src/clojure/contrib/lazy_xml.clj')
-rw-r--r--src/clojure/contrib/lazy_xml.clj6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clojure/contrib/lazy_xml.clj b/src/clojure/contrib/lazy_xml.clj
index 64469065..f2296126 100644
--- a/src/clojure/contrib/lazy_xml.clj
+++ b/src/clojure/contrib/lazy_xml.clj
@@ -13,8 +13,8 @@
; http://www.extreme.indiana.edu/xgws/xsoap/xpp/
(def has-pull false)
(defn- parse-seq-pull [& _])
-(try (load "with_pull.clj")
- (catch Exception e))
+(try (load "lazy_xml/with_pull")
+ (catch ClassNotFoundException e))
(defn startparse-sax [s ch]
(.. SAXParserFactory newInstance newSAXParser (parse s ch)))
@@ -175,6 +175,6 @@
; When used with zip and zip-filter, you can get do queries like this
; without parsing more than the first few tags:
-; (zip/node (first (xml-> x :id)))
+; (zip/node (first (xml-> (zip/xml-zip tree) :id)))
)