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

Reply via email to