You probably need to preprocess your HTML with tidy before you introduce 
it to Cocoon.

John

Ola Berg wrote:

>At work I have to handle really bad written HTML (they used some really bad HTML 
>generator):
>
><html>
><body>
><h1>Hello, world!</H1>
>
>Hi there.
><p>
>This is plain wrong.
><p>
>But it works in certain browsers
></body>
></html>
>
>I thought by using the HTMLGenerator, the Tidy-thing should take care of this. In my 
>site map I have
>
><map:generate src=\"hello.html\" type=\"html\"/>
><map:serialize type=\"xhtml\"/>
>
>But the server complains about the source \"hello.html\" being lousy html (containing 
>unbalanced tags). 
>
>1) Shouldn\'t tidy handle this? 
>
>2)Or isn\'t tidy involved when I declare my sitemap as above?
>
>If 1) is no, I plan to hack the functionality (going to the dev list first).
>
>If 2) is no, I\'d like to know how to configure it to handle.
>
>I use cocoon-2.0.2-bin.
>
>TIA
>
>/O
>
>--------------------
>[EMAIL PROTECTED]
>0733 - 99 99 17
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>  
>




******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee.  Access to this e-mail by anyone else
is unauthorised.  If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTÉ may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to