<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt>HI guys</tt>
<p><tt>I am getting a <b>Reference to undeclared namespace "exp:"</b> error
for the following code snippet when i try to view the document in IE 5.
I have successfully validated the documents using the XML4J parser and
XMLPRO .</tt>
<br><tt>Also the problem doesnt occur when i dont associate the dtd in
the XML file . Why is this error appearing and what can be done to solve
it</tt>
<p><tt>** DTD **</tt>
<br><tt>&lt;!ELEMENT experience (project+)></tt>
<br><tt>&lt;!ATTLIST experience xmlns:exp CDATA #FIXED "<A HREF="http://www.angelfire.com/ar/diduknow/experience">http://www.angelfire.com/ar/diduknow/experience</A>"></tt>
<br><tt>&lt;!ELEMENT project (exp:title,employer?,client?,exp:duration?,team?,position?,description?,contribution?)></tt>
<p><tt>** XML **</tt>
<br><tt>&lt;experience xmlns:exp="<A HREF="http://www.angelfire.com/ar/diduknow/experience">http://www.angelfire.com/ar/diduknow/experience</A>"></tt>
<br><tt>&nbsp;&lt;project></tt>
<br><tt>&nbsp;&nbsp; &lt;exp:title>Management Information Systems&lt;/exp:title></tt>
<br><tt>&nbsp;&nbsp; &lt;employer>Infotech ESD&lt;/employer></tt>
<br><tt>&nbsp;&nbsp; &lt;client>Finance Department&lt;/client></tt>
<br><tt>&nbsp;&nbsp; &lt;exp:duration>till date&lt;/exp:duration></tt>
<br><tt>..........</tt>
<br><tt>&lt;/experience></tt>
<p><tt>Thanx a lot</tt>
<br><tt>Anand Raman</tt>
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;</html>