On Fri, Aug 17, 2012 at 5:26 PM, keedon <keith.po...@gmail.com> wrote: > Hi, > I've got a clojure problem and I'm hoping someone can help: > > I'm trying to parse an rss feed which contains illegal characters and I'm > getting this error > > SAXParseException An invalid XML character (Unicode: 0x19) was found in the > element content of the document. > > I've tried adding a function to remove control characters, but it doesn't > seem to be working the filter function I've written is > > (defn remove-control [seq] > (filter (fn [ch] (not (Character/isISOControl ch))) seq)) > > Thanks for any help > > Keith >
I'm not sure I can help, but I *am* interested in a sample of the RSS that you're trying to work with. Could you provide a sample? -Rich -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en