W3C home > Mailing lists > Public > www-html@w3.org > October 2002

Problem with loose.dtd

From: Boell, Dieter <Dieter.Boell@ipk.fhg.de>
Date: Thu, 10 Oct 2002 13:27:03 +0200
Message-ID: <E73E81018E2329488D36EF8617695B7F10CEA0@HOBBIT.ipk_plt.ipk.fhg.de>
To: "'www-html@w3.org'" <www-html@w3.org>
Hello all!

In a XSLT-Stylecheet I would like to transmit the contents of a HTML file to
an other one.
I do it with <xsl:copy select="document(location_of_HTML)/html/body/*"/>.
The "source"-HTML has following doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
I use Xalan/Xerces or Saxon to transformation.
Both ones give an error message (here from Saxon):

<!-- quotation of error text -->

Error on line 31 column 3 of
Error report by XML parser: unexpected character after NDATA (found "-")
(expected ">")
Recoverable error
unexpected character after NDATA (found "-") (expected ">")

<!-- END quotation of error text -->

What can/must I do?

Much thanks in advance
Received on Tuesday, 29 October 2002 18:35:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC