Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Problem parsing HTML file into Document

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Nick Day <the_doctor_nick AT hotmail.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Problem parsing HTML file into Document
  • Date: Sun, 11 Dec 2005 11:18:32 -0500

Nick Day wrote:
Hi,

I've been having a bit of trouble parsing a HTML file (attached) into a document and keep getting the error below. Do I need to preprocess the file into a different encoding before attempting the creation of the Document object or am I way off?


Your document isn't well-formed. Based on the error message, fixing the problem may be as simple as adding an encoding declaration. Then again, maybe not.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page