forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Why does forrest-issues.xml produce not wellformed xml?
Date Wed, 08 Feb 2006 01:55:12 GMT
Hi all,

is there a reason why 
http://localhost:8888/forrest-issues.xml on site-author
produces not well-formed markup?

...
<br>

<br>
Does this indicate a memory leak?
<br>

...

*************
This non valid markup produces in the dispatcher for http://localhost:8888/forrest-issues.html

dispatcherError: 500 - Internal server error
The contract "content-main" has thrown thrown an exception by resolving raw data from "cocoon://forrest-issues.body.xml".

dispatcherErrorStack:
 org.xml.sax.SAXParseException: The element type "br" must be terminated by the matching end-tag
"</br>".


Thanks to the error handling in the dispatcher it did not took me long to find forrest-issues.xml

in site-author//sitemap.xmap and not on the file system.

    <map:match pattern="forrest-issues.xml">
      <map:generate type="file" src="{lm:forrest.issues-rss-url}" />
      <map:transform src="{lm:transform.rssissues.document}" />
      <map:serialize type="xml-document"/>
    </map:match>

The dispatcher needs wellformed input data as raw data.

Somebody has an idea?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message