Re: clojure.xml/parse of XHTML yields a 503 on the DTD

2009-11-18 Thread David Brown
On Tue, Nov 17, 2009 at 10:12:19AM -0800, David Brown wrote: >On Tue, Nov 17, 2009 at 08:03:59AM -0800, pkw wrote: > >>I'm having this same problem. Did you find a way around it? >>I want to try changing the User-Agent, but I can't figure out >>how to do that. > >I suspect that the Sax parser by d

Re: clojure.xml/parse of XHTML yields a 503 on the DTD

2009-11-17 Thread David Brown
On Tue, Nov 17, 2009 at 08:03:59AM -0800, pkw wrote: >I'm having this same problem. Did you find a way around it? >I want to try changing the User-Agent, but I can't figure out >how to do that. I suspect that the Sax parser by default is configured to not allow fetching of the DTD over the net.

Re: clojure.xml/parse of XHTML yields a 503 on the DTD

2009-11-17 Thread pkw
I'm having this same problem. Did you find a way around it? I want to try changing the User-Agent, but I can't figure out how to do that. What's a "catalog file"? any ideas? thanks, paul w -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: clojure.xml/parse of XHTML yields a 503 on the DTD

2009-11-07 Thread Stefan Tilkov
On 07.11.2009, at 15:07, Joubert Nel wrote: > > Perhaps xml/parse shouldn't fetch the DTD, as per the W3C > recommendation? > It's highly likely it's the underlying Java parser that does so (even though it doesn't need to) - the same problem would be there if a Java program running in the sa

Re: clojure.xml/parse of XHTML yields a 503 on the DTD

2009-11-07 Thread Joubert Nel
Perhaps xml/parse shouldn't fetch the DTD, as per the W3C recommendation? On Nov 7, 2:46 am, Christophe Grand wrote: > The w3c filters traffic to DTDs, see here for more > details:http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic > > Christophe > > > > > > On Sat, Nov 7, 20

Re: clojure.xml/parse of XHTML yields a 503 on the DTD

2009-11-06 Thread Christophe Grand
The w3c filters traffic to DTDs, see here for more details: http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic Christophe On Sat, Nov 7, 2009 at 7:21 AM, Joubert Nel wrote: > > Hi, > > I'm trying to parse the XHTML at > http://wiki.stat.ucla.edu/socr/index.php/SOCR_Data_Dinov