Contents

[edit]

OpenSP: Document type "..." already defined

[edit]

Cause:

The document type has already been defined. This can happen if the DOCTYPE has been specified more than once.

[edit]

Example:

Good

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
....

Good

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
<html>
....

[edit]

Solution:

Remove one of the declaration.

[edit]

References:

Retrieved from "http://www.htmlpedia.org/wiki/Sp_306"