W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

DOM Support for JTidy

From: Scott Dossett <sdossett@metaphoria.net>
Date: Thu, 15 Jun 2000 11:08:33 -0400
Message-ID: <002b01bfd6db$932d61b0$046f10ac@duesenberg>
To: <html-tidy@w3.org>
Has anyone successfully used JTidy's XML/XHTML output with Sun's ProjectX
XML parser?  Or for that matter, has anyone been successful in using JTidy's
XML/XHTML output with *any* SAX based parser?

ProjectX is based around the SAX parser.  I am running into a problem where
I am getting a SAX exception:

[[org.xml.sax.SAXParseException: Missing whitespace before SYSTEM literal
URI.]]

from the following JTidy output:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />


The output seems to be valid.  The error doesn't seem to make sense.  Any
suggestions?
Received on Thursday, 15 June 2000 11:03:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT