| 1 |
lars |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>html2ps/html2pdf error message</title>
|
|
|
4 |
<style>
|
|
|
5 |
body {
|
|
|
6 |
color:#000;
|
|
|
7 |
background-color:#fff;
|
|
|
8 |
margin:10px;
|
|
|
9 |
font-family:arial, helvetica, sans-serif;
|
|
|
10 |
color:#000;
|
|
|
11 |
font-size:12px;
|
|
|
12 |
line-height:18px;
|
|
|
13 |
}
|
|
|
14 |
p,td {
|
|
|
15 |
color:#000;
|
|
|
16 |
font-size:12px;
|
|
|
17 |
line-height:18px;
|
|
|
18 |
margin-top:3px;
|
|
|
19 |
vertical-align: top;
|
|
|
20 |
}
|
|
|
21 |
h1 {
|
|
|
22 |
font-family:arial, helvetica, sans-serif;
|
|
|
23 |
color:#669;
|
|
|
24 |
font-size:27px;
|
|
|
25 |
letter-spacing:-1px;
|
|
|
26 |
margin-top:12px;
|
|
|
27 |
margin-bottom:12px;
|
|
|
28 |
}
|
|
|
29 |
tr.odd {
|
|
|
30 |
background-color: #f0f0f0;
|
|
|
31 |
}
|
|
|
32 |
tr.even {
|
|
|
33 |
background-color: #ffffff;
|
|
|
34 |
}
|
|
|
35 |
td {
|
|
|
36 |
padding: 3px;
|
|
|
37 |
}
|
|
|
38 |
</style>
|
|
|
39 |
</head>
|
|
|
40 |
<body>
|
|
|
41 |
<h1>Error</h1>
|
|
|
42 |
<p>Could not parse document you've specified; the code caused critical XML parser error.
|
|
|
43 |
If you're sure you have valid HTML/XHTML code, please report this behaviour as a bug.
|
|
|
44 |
|
|
|
45 |
<p>This script makes an attempt to convert your document to valid XHTML code which can be parsed
|
|
|
46 |
by freely available XML parsers. It is able to detect and fix mismatching tags, malformed attributes
|
|
|
47 |
and unescaped characters having special meanining in HTML. Nevertheless, not all pages
|
|
|
48 |
displaying in such powerful browsers like IE and FireFox, could be fixed; in such case, please
|
|
|
49 |
use code <a href="http://validator.w3.org/">validator</a> and fix critical errors.
|
|
|
50 |
|
|
|
51 |
<p>Rarely, you can face a bug in HTML-to-XHTML conversion routines preventing the valid code to be parsed.
|
|
|
52 |
In this case you can disable this behaviour completely by setting <tt>html2xhtml</tt> parameter
|
|
|
53 |
("Do not use conversion, input is valid XHTML") to some value. In this case, your code
|
|
|
54 |
will be passed to XML parser as-is.
|
|
|
55 |
</body>
|
|
|
56 |
</html>
|