I have a test docoument which looks like this:
BUT when I try to read the document in use PHP's
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:q="http://localhost/test-ns" xml:lang="en-gb" lang="en-gb">
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<q:test>This is a test tag</q:test>
DOMDocument::loadHTMLFile(), I get the warning
Namespace prefix q is not defined.
This has been there for a while and so far I have just switched the warning off because I don't know how to fix it ... but I would love to fix it and I am flat out of ideas on what is wrong with the markup!