forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: Why does forrest-issues.xml produce not wellformed xml?
Date Wed, 08 Feb 2006 04:08:57 GMT
Thorsten Scherler wrote:
> 
> is there a reason why 
> http://localhost:8888/forrest-issues.xml on site-author
> produces not well-formed markup?

It is Jira RSS providing this. See the project.issues-rss-url
in site-author/forrest.properties file. Each Issue Description
is wrapped in a CDATA section. Perhaps our stylesheet does
not handle that properly.

-David

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