XHTML validation fails: Cannot find the declaration...
Posted: Wed Dec 14, 2005 12:09 am
I tried to validate the following XHTML:
I got: SystemID: /Users/rpaehlig/Applications/oxygen/Unbenannt4.xml
Position: 3:49
Beschreibung: E cvc-elt.1: Cannot find the declaration of element 'html'.
URL: http://www.w3.org/TR/xmlschema-1/#cvc-elt
I see the model being updated when i move the cursor, so I assume, the DTD has been read. What's wrong? TIA!
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
<html xmlns:html="http://www.w3.org/1999/xhtml">
<head>
<title>Test XHTML</title>
</head>
<body>
<h1>Test</h1>
</body>
</html>
Position: 3:49
Beschreibung: E cvc-elt.1: Cannot find the declaration of element 'html'.
URL: http://www.w3.org/TR/xmlschema-1/#cvc-elt
I see the model being updated when i move the cursor, so I assume, the DTD has been read. What's wrong? TIA!