Re: HTML character encoding

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/HTML-character-encoding-tp33897p33900.html

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