Re[2]: HTML character encoding

Posted by BitByter on
URL: https://discuss.orbeon.com/HTML-character-encoding-tp33897p33903.html

Hi Erik,

no I haven't tried that yet. I'll try it out as soon as I get the current
"Fatal error: The element type "br" must be terminated by the matching
end-tag "</br>"." fixed. It's not that easy as a lot of the (X)HTML is being
generated by some taglibs or file includes. Thus I'm missing a possibility
to dump/log the complete XML file that is being parsed by Orbeon Forms. Is
there a way to do this? It would be a great help! Maybe something like the
"instance inspector"?

- bitbyter



Friday, May 11, 2007, 8:15:08 PM, you wrote:

> Ah, then that's good news if it works out of the box!

> Bitbyter, did you try the XHTML doctype?

> -Erik

> Hank Ratzesberger wrote:
>>
>> 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