On 11/26/08, Rainer Schöpf <[EMAIL PROTECTED]> wrote:
> On Tue, 25 Nov 2008 at 23:57 -0500, [EMAIL PROTECTED] wrote:
>   > This counters your first post stating the TEXTAREA element is
>   > collapsed.
>
> No, it doesn't.  As I explained in my first post, textarea elements are
>  collapsed when using the default sitemap. By changing type="xml" to 
> type="html"
>  in map:serialize, I get the code shown in my last message.
>
>  So, my question is: what are the problems with this approach? You seem to say
>  that it's not good enough, because of cocoon's limitations.
>   Rainer

I missed some information.
Which serializer had the problem?
Which serializer are you using now?  Does the problem still appear?

The HTMLSerializer is usually the final step.
The XHTMLSerializer requires browsers that understand XHTML.
The XMLSerializer is used mostly for internal pipelines, not for
sending webpages to a browser.

HTTP's content-type header must match the data.  Do not claim XHTML is
"text/html"; use "application/xhtml+xml".  (My guess why not
"text/xhtml" is committees.)

If your pages appear correctly, please ignore my comments.

If you have a problem, the first check should be which Serializer is
used.  When I was testing the new SimpleHTMLSerializer, some pages
were not using it because the final serialization was to XML.  My
error -- I believed map:mount returned to the calling XMAP.  Firefox
displayed these pages as HTML.  MSIE correctly displayed XML -- using
the specified content-type -- which led to finding the problem.

"The rest of the page disappearing" is often caused by collapsed
elements.  I most often see this with collapsed SCRIPT elements in the
HEAD hiding the entire page.

HTH,
solprovider

Reply via email to