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: Wolfgang Hoschek <wolfgang.hoschek AT>
  • To: Elliotte Rusty Harold <elharo AT>
  • Cc: xom-interest AT, "John.Cowan" <jcowan AT>
  • Subject: Re: [XOM-interest] Problem parsing HTML file into Document
  • Date: Thu, 15 Dec 2005 12:08:05 -0800

On Dec 15, 2005, at 11:51 AM, Elliotte Rusty Harold wrote:

Wolfgang Hoschek wrote:

For simplicity, one can simply ignore the tagsoup namespacing via
// find the links of all images in an ill-formed HTML document
XMLReader parser = new org.ccil.cowan.tagsoup.Parser(); // tagsoup parser
parser.setFeature("";, false);
parser.setFeature(" prefixes", false);

No it won't. XOM depends on the namespace properties and turns them back on if you turn them off. :-)

Only partly right. It won't turn back on the " features/namespaces" feature.

Archive powered by MHonArc 2.6.24.

Top of Page