Re: something amiss?

Hi Amy,

I hope you already figured this out (since the first anniversary of your
posting just passed).  But in case you haven't...

I recently discovered this problem after installing XML Spy.  Previously, I
could use IE to display a dtd.  After installing XML Spy, IE tried to parse
files with the .dtd extension (with no success, of course, because DTDs are
not XML files).  The same was true for files with .ent extension.

The problem is that an inappropriate line of instruction was created in the
Windows Registry for .dtd files.  You can see the offending line by running
regedit (if you are using Windows, select Run, and type regedit), and
looking under HKEY_CLASSES_ROOT/.dtd.  The offending line is:

Name		Type		Data
Content Type	REG_SZ	text/xml

A solution is to delete the DTD file type by using the Windows File Type
management tool (open Explorer, and look under Tools > Folder Options > File
Types).  Scroll down to DTD, and select Delete.  [If you aren't allowed to
select Delete, you will first have to Change the application associated with
DTDs.  Then you can delete the file type.]

You will now be able to view files with .dtd extension with IE.

You may want to do the same thing with the .ent filetype.

If you want to, you can re-create the DTD file type, again using the File
Type management tool.

Erik Still
CENTRAL Registry
Emerging Technologies
Boeing Library Services
(425) 237-4339

____________________________________________________________

ORIGINAL POSTING:

To: &References="www-xml-schema-comments@w3.org
<mailto:www-xml-schema-comments@w3.org?Subject=Re:%20something%20amiss?&In-R
eply-To=<OF7FA76152.B89D0E35-ON85256A46.0073E04F@raleigh.ibm.com>
Message-ID: <OF7FA76152.B89D0E35-ON85256A46.0073E04F@raleigh.ibm.com>
From: "Amy Hawkins" <&References="ahawk@us.ibm.com
<mailto:ahawk@us.ibm.com?Subject=Re:%20something%20amiss?&In-Reply-To=<OF7FA
76152.B89D0E35-ON85256A46.0073E04F@raleigh.ibm.com>>
Date: Tue, 8 May 2001 17:10:55 -0400
Subject: something amiss?

The following links on this page <http://www.w3.org/TR/xmlschema-1/> don't
actually display pages in IE 5.5.
<http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/xmlspec-19990429.dtd>
<http://www.w3.org/2001/XMLSchema.xsd>

IE errors are shown below.

<http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/xmlspec-19990429.dtd>

  The XML page cannot be displayed


  Cannot view XML input using style sheet.
  Please correct the error and then click
  the Refresh button, or try again later.


  Cannot have a DTD declaration outside of a
  DTD. Line 55, Position 10


  <!ENTITY lt     "&#60;">
  ---------^



<http://www.w3.org/2001/XMLSchema.xsd>

  The XML page cannot be displayed


  Cannot view XML input using style sheet.
  Please correct the error and then click
  the Refresh button, or try again later.


  Content model is invalid. Line 1, Position
  6


   xs: simpleType
  -----^


Regards,
Amy Hawkins
"We must, indeed, all hang together, or, most assuredly, we shall all hang
separately." - B. Franklin
Eclipse User Technologies
&References="ahawk@us.ibm.com
<mailto:ahawk@us.ibm.com?Subject=Re:%20something%20amiss?&In-Reply-To=<OF7FA
76152.B89D0E35-ON85256A46.0073E04F@raleigh.ibm.com>
Ph. (919) 254-0165 T/L 8-444-0165 

Received on Wednesday, 15 May 2002 02:39:01 UTC