Re[2]: HTML character encoding

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

Declaring the <DOCTYPE> as mentioned also works for me basically. If you
intend to write this to the FAQ, you also should mention that links/URLs
also need to be encoded, e.g. param1=value1&param2=value2 to
param1=value1&amp;param2=value2.

- bitbyter



Saturday, May 12, 2007, 8:17:09 PM, you wrote:

> On 5/11/07, Hank Ratzesberger <[hidden email]> wrote:
>> I put the doctype at the top of an xhtml view view.

> Yes, makes sense. The "entity not declared" exception is thrown by
> Xerces when it parses the XML file, so adding something to the
> epilogue won't solve the problem. This needs to be added to the file
> where the HTML entity is used.

> But this is still a nice trick. Better than just declaring the
> entities we need. FAQ-worthy.

> Alex






--
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