cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Bug in HTMLSerializer?
Date Tue, 15 Jun 2004 16:28:47 GMT
Hello,

in my XML doc I need to declare some entities. But if I do so, I cant 
use the HTMLSerializer to output my doc because a braket > appears on 
the right top corner. Why? Is it a bug in HTMLSerializer? What can I do 
to avoid this?

My xml doc:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html [
  <!ENTITY foo "bar">]>
<html>
&foo;
</html>

My pipeline:

     <map:match pattern="test">
        <map:generate type="file" src="test.xml"/>
        <map:serialize type="html"/>
     </map:match>

My browser output (source):

 >
<html>
bar
</html>

Look at the first braket > on top of the source. Why is it there?

Thank you for your help!

Regards
Stephan



Mime
View raw message