xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Parsing an XML document from a URL
- From: Peter Murray-Rust <pm286 AT cam.ac.uk>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Parsing an XML document from a URL
- Date: Sat, 8 May 2010 12:42:37 +0100
On Sat, May 8, 2010 at 11:45 AM, Dave Pawson <dave.pawson AT gmail.com> wrote:
>
> That's why they don't like it.
> How you fix it?
>
> Your choice.
> 1. Get rid of the DTD reference in your xml instance.
I read a lot of HTML files from a lot of sites and DTD references can
cause a lot of trouble. So routinely when I process HTML (often not
XHTML, of course) I strip the DTD reference automatically. This has to
be done by something other than XOM even if the document is well
formed. Then I pass it to Tidy or TagSoup and thence to XOM.
--
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069
-
Re: [XOM-interest] Parsing an XML document from a URL,
Elliotte Rusty Harold, 05/07/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
PG-Dillingham, Iain, 05/08/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
Elliotte Rusty Harold, 05/08/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
Dave Pawson, 05/08/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
Elliotte Rusty Harold, 05/08/2010
- Re: [XOM-interest] Parsing an XML document from a URL, Dave Pawson, 05/08/2010
- Re: [XOM-interest] Parsing an XML document from a URL, Peter Murray-Rust, 05/08/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
Elliotte Rusty Harold, 05/08/2010
- Re: [XOM-interest] Parsing an XML document from a URL, PG-Dillingham, Iain, 05/08/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
Dave Pawson, 05/08/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
Elliotte Rusty Harold, 05/08/2010
-
Re: [XOM-interest] Parsing an XML document from a URL,
PG-Dillingham, Iain, 05/08/2010
Archive powered by MHonArc 2.6.24.