Graphics, Namespaces and DTDs & IE5

Betty Harvey harvey at
Fri Apr 9 02:49:01 BST 1999

I have several questions so I am going to 'glump' them together
in one:

1.  Graphic entities do not work in IE 5.0.  Does anyone know
    of a workaround besides XSL?  

2.  The following works in IE 5.0:

	<?xml version="1.0"?>
	<?xml-stylesheet href="rep-xml.css" type="text/css"?> 
	<test  xmlns:html="">
  	      <html:img src="../graphics/ecclogo.gif"/>
        	<para>This is a test</para>
		<picture name="ecc"/>

     When I add a DTD in the document declaration subset, I
     get an error:

Reference to undeclared namespace prefix: 'html'. Line 17, Position 1 

<test  xmlns:html=""> 

This is the document:

<?xml version="1.0"?>
<?xml-stylesheet href="rep-xml.css" type="text/css"?>
<!DOCTYPE test [
<!NOTATION gif SYSTEM "gif">
<!ENTITY ecc SYSTEM "../graphics/ecclogo.gif" NDATA gif>
<!ELEMENT test (html:img, picture, para)>
<!ATTLIST test
          xmlns:html CDATA #FIXED "">
<!ELEMENT html:img EMPTY>
<!ATTLIST html:img
          src CDATA #REQUIRED>
<!ELEMENT picture EMPTY>
<!ATTLIST picture
          name ENTITY #REQUIRED>
<test  xmlns:html="">
        <html:img src="../graphics/ecclogo.gif"/>
        <picture name="ecc"/>
        <para>This is a test</para>

If I take all references to Namespaces out document there are
no parsing errors but of course no graphics? Am I missing
something?  I can't find any references to the DTD in the
Namespace spec.



Betty Harvey                         | Phone: 301-540-8251 FAX: 4268
Electronic Commerce Connection, Inc. |
13017 Wisteria Drive, P.O. Box 333   |
Germantown, Md.  20874               |
harvey at                    | Washington,DC SGML/XML Users Grp
URL:          |

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list