- From: Nir Dagan <nir@nirdagan.com>
- Date: Wed, 15 Sep 1999 10:44:16 -0400
- To: Matthew Idso <MatthewI@soma.com>, www-html@w3.org
I can't see any XHTML DTD problem here. There might be a problem in either what you exactly did, and or in your browser, or both. If you served the document from a file on your hard disc with extension .xml, the browser seems to be correct to assume that it is XML. Also it refuses to render XML documents without style sheets as rendering is undefined. The fact that it complained about some lt entity, make me suspect that you cut and pasted from the HTML source of the example, rather from the rendered view. So all the < that delimit the begining of a tag where written as < in your file. (Another possibility is poorly written error messages on behalf of the browser) In anycase, if you'll cut and paste the sample from the rendered view of your browser, and serve it through HTTP with content-type: text/html;charset=utf-8 the browser should display it as HTML. Regards, Nir Dagan. At 01:19 PM 9/13/99 -0400, Matthew Idso wrote: > > When I try to display the following sample from your page in IE5 I get the > error below: > > Sample: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "<http://www.w3.org/TR/xhtml1/DTD/strict.dtd>http://www.w3.org/TR/xhtml1/D > TD/strict.dtd"> > <html > xmlns="<http://www.w3.org/TR/xhtml1/strict>http://www.w3.org/TR/xhtml1/strict" > xml:lang="en" lang="en"> > <head> > <title>Virtual Library</title> > </head> > <body> > <p>Moved to <a href="<http://vlib.org/>http://vlib.org/">vlib.org</a>.</p> > > </body> > </html> > Error: > The XML page cannot be displayed Cannot view XML input using XSL style sheet. > Please correct the error and then click the Refresh > <javascript:location.reload()> button, or try again later. Error while > parsing entity 'lt'. A declaration was not closed. Line 1, Position 1 > > < > > What is going on? > > > Matt Idso > Quality Assurance Tester > 206-615-2980 > MatthewI@Soma.com =================================== Nir Dagan Assistant Professor of Economics Brown University Providence, RI USA http://www.nirdagan.com mailto:nir@nirdagan.com tel:+1-401-863-2145
Received on Wednesday, 15 September 1999 10:43:24 UTC