newsgroups-index (beta)

Current group: opera.tech

internal entities

internal entities  
Alan G Isaac
 Re: internal entities  
Steven V. Gunhouse
 Re: internal entities  
Alan G Isaac
From:Alan G Isaac
Subject:internal entities
Date:Sun, 2 Jan 2005 10:53:34 -0500
Suppose I create the xhtml document below.
If I put it in a file named test.xhtml the internal
entity is correctly displayed.
If I put it in a file named test.htm the internal
entity is not correctly displayed.

Is Opera using the file extension to determine how
to interpret my prologue? Should it?

Thanks,
Alan Isaac
===============================================

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
[

]>


test internal entity



&mtdate;





From:Steven V. Gunhouse
Subject:Re: internal entities
Date:Sun, 02 Jan 2005 18:50:11 GMT
On Sun, 2 Jan 2005 10:53:34 -0500, Alan G Isaac
wrote:

> Suppose I create the xhtml document below.
> If I put it in a file named test.xhtml the internal
> entity is correctly displayed.
> If I put it in a file named test.htm the internal
> entity is not correctly displayed.
>
> Is Opera using the file extension to determine how
> to interpret my prologue? Should it?

Of course, in general terms Opera is supposed to follow the file type
supplied by the server, though as you're talking about a local file there
is no server. In that case (depending on your settings), using the
extension could be appropriate. Do you have "Determine action by extension
when MIME type is unreliable" set? (under Preferences, File types)

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
From:Alan G Isaac
Subject:Re: internal entities
Date:Mon, 3 Jan 2005 15:17:17 -0500

"Steven V. Gunhouse" wrote in message
news:opsjznyjdcpivp3f@cybermax...
> Do you have "Determine action by extension
> when MIME type is unreliable" set? (under Preferences, File types)

Yep. (That must be the default setting.)
Thanks.
Alan Isaac
   

Copyright © 2006 newsgroups-index   -   All rights reserved   -   Impressum