Skip to Content.
Sympa Menu

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

xom-interest AT

Subject: XOM API for Processing XML with Java

List archive

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

Nick Day wrote:

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
XML in a Nutshell 3rd Edition Just Published!

Archive powered by MHonArc 2.6.24.

Top of Page