Re: HTML character encoding

Posted by Hank Ratzesberger on
URL: https://discuss.orbeon.com/HTML-character-encoding-tp33897p33901.html


I just tested this, and at least this docytpe is
working for me.  I edited the standard epilogue to
only use the "plain" style.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I tried &quot; &acute; and &cent; and &copy;

--Hank



----- Original Message -----
From: "Erik Bruchez" <[hidden email]>
To: <[hidden email]>
Sent: Friday, May 11, 2007 8:22 AM
Subject: Re: [ops-users] HTML character encoding


> BitByter wrote:
>> Hello Joseph,
>>
>> Friday, May 11, 2007, 11:10:38 AM, you wrote:
>>
>>> Hello Bitbyter,
>>>             try declaring entities on top of your page as follows:
>>>    
>>>   <!DOCTYPE xsl:stylesheet [
>>> <!ENTITY nbsp "&#x00A0;">
>>
>> I'll give that a try. But is this a bug in Orbeon Forms?
>
> XML itself does not support HTML entities except &quot;, &lt; and &gt;.
> Orbeon Forms reads your document as XML so does not have any other HTML
> entities available.
>
> Now you raise a good point, which is that if you do specify an XHTML
> DOCTYPE, Orbeon Forms should ideally load the DTD and the associated
> entities. But this is not done at present.
>
> -Erik
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>

--------------------------------------------------------------------------------


>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws