- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Fri, 05 Jan 2001 22:50:53 +0100
- To: html-tidy@w3.org
Hi,
I've got the following XHTML document
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [
<!ENTITY myURI "http://www.websitedev.de/xhtml/xhtml1/">
]> <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p><a href="&myURI;">Test</a></p>
</body>
</html>
When i run tidy in -asxml and/or -xml mode, the document is messed up, the
entity declaration and reference are not recognized and "escaped" with
& i.e. tidy destroys the whole document.
--
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981028 ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://www.websitedev.de/
Received on Friday, 5 January 2001 16:51:00 UTC