cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Aggregator Bug?
Date Sun, 16 May 2004 10:48:14 GMT
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105169303607664&w=2

Volkm@r wrote:

> I found that aggregating with an xhtml file puts a ">" before it when 
> there is a doctype declaration in the file.
> 
> So, the following sitemap
> 
> <map:pipeline type="noncaching">
>   <map:match pattern="**.aggreg">
>     <map:aggregate element="fortesting">
>       <map:part src="{1}"/>
>     </map:aggregate>
>     <map:serialize type="xml"/>
>   </map:match>
> </map:pipeline>
> 
> with a simple xhtml file like this
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml">
>   <head>
>     <title>Hallo</title>
>   </head>
>   <body>
>     <p>Hi there!</p>
>   </body>
> </html>
> 
> will give the following result with a surplus ">" at the beginning of 
> line 3.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <fortesting>
>  ><html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml">
>   <head>
>     <title>Hallo</title>
>   </head>
>   <body>
>     <div>Hi there!</div>
>   </body>
> </html></fortesting>
> 
> Is this a bug or did I misconfigure something?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message