Markus-

After doing a bit more research on this, you are definitely correct - the XHTML dtd includes these entity references. I do get errors when trying to use anything other then the standard XML escape characters (ie, anything other then <, >, &, ") in Firefox or Safari. Its possible that this is a MIME type issue, or its possible that neither browser pulls in the entity references - If anyone has inside information on this, I would be interested in knowing why this is the case.

--ee


On Sep 27, 2005, at 5:00 AM, Markus Strickler wrote:

Hi-


No, you don't. These entities are included by the xhtml DTD[1]:

<!--================ Character mnemonic entities =========================-->

<!ENTITY % HTMLlat1 PUBLIC
   "-//W3C//ENTITIES Latin 1 for XHTML//EN"
   "xhtml-lat1.ent">
%HTMLlat1;

<!ENTITY % HTMLsymbol PUBLIC
   "-//W3C//ENTITIES Symbols for XHTML//EN"
   "xhtml-symbol.ent">
%HTMLsymbol;

<!ENTITY % HTMLspecial PUBLIC
   "-//W3C//ENTITIES Special for XHTML//EN"
   "xhtml-special.ent">
%HTMLspecial;

-markus

[1] http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict


So while these entities are part of the XHTML specification, an
author cannot use them without declaring them... if only to make our
lives just that much more difficult....

--ee


On Sep 26, 2005, at 8:53 PM, Thomas M. Duffey wrote:


Hi Eric,

On Sep 26, 2005, at 8:46 PM, Eric Everman wrote:



<span onmousedown="mgnlShiftPushButtonDown(this);"
onmouseout="mgnlShiftPushButtonOut(this);"
onclick="mgnlShiftPushButtonClick(this);mgnlPreview(true);"
class="mgnlControlButton" style="background:transparent;">
&laquo; Preview
</span>

I guessing that '&laquo; Preview' was supposed to be '&nbsp;
Preview'.  And of course, even if it were &nbsp;, it

wouldn't work

in xhtml.  Could this just be removed and replaced with

css padding?




The "laquo" entity is the left double bracket character.  Here's a
good XHTML character entity reference:

http://www.digitalmediaminute.com/reference/entity/

- Tom

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to