RE: HTML5 serializer

2012-01-09 Thread Thorsten Scherler
. Yes but that only goes in the PI and is used for the serialization. salu2 Robby -Original Message- From: Thorsten Scherler [mailto:scher...@gmail.com] Sent: Sunday, January 08, 2012 10:28 PM To: dev@cocoon.apache.org Subject: RE: HTML5 serializer On Fri, 2012-01-06 at 19

RE: HTML5 serializer

2012-01-09 Thread Robby Pelssers
: RE: HTML5 serializer On Mon, 2012-01-09 at 08:32 +0100, Robby Pelssers wrote: Hi Thorsten, Adding meta in general is not a concern faik but setting the correct encoding is. Examples are ?xml version=1.0 encoding=UTF-8? for xml files That is correct for the doc declaration

Re: HTML5 serializer

2012-01-09 Thread Andy Stevens
@cocoon.apache.org Subject: RE: HTML5 serializer On Fri, 2012-01-06 at 19:56 +0100, Robby Pelssers wrote: So we’re almost there.   Do you have any suggestion how to accomplish using the correct meta charset=”utf-8”/  ??  Or do you think that’s not worth the effort? Hmm, actually

RE: HTML5 serializer

2012-01-08 Thread Thorsten Scherler
On Fri, 2012-01-06 at 19:56 +0100, Robby Pelssers wrote: So we’re almost there. Do you have any suggestion how to accomplish using the correct meta charset=”utf-8”/ ?? Or do you think that’s not worth the effort? Hmm, actually that is not the concern of the serializer at all. The

RE: HTML5 serializer

2012-01-08 Thread Robby Pelssers
encoding which can be configured as a Serializer property. Robby -Original Message- From: Thorsten Scherler [mailto:scher...@gmail.com] Sent: Sunday, January 08, 2012 10:28 PM To: dev@cocoon.apache.org Subject: RE: HTML5 serializer On Fri, 2012-01-06 at 19:56 +0100, Robby Pelssers wrote

Re: HTML5 serializer

2012-01-06 Thread Jasha Joachimsthal
Hey Robby, which Cocoon version are you using for your project? In C2.1 and C2.2 there's not only a XMLSerializer but also an HTMLSerializer and XHTMLSerializer for their specific needs. So why not create your own HTML5Serializer? In HTML5 the specification teams tried to specify what browsers

RE: HTML5 serializer

2012-01-06 Thread Robby Pelssers
many warnings at http://validator.w3.org/ Robby From: Jasha Joachimsthal [mailto:j.joachimst...@onehippo.com] Sent: Friday, January 06, 2012 4:51 PM To: dev@cocoon.apache.org Subject: Re: HTML5 serializer Hey Robby, which Cocoon version are you using for your project? In C2.1 and C2.2 there's

Re: HTML5 serializer

2012-01-06 Thread Jasha Joachimsthal
warnings at http://validator.w3.org/ ** ** Robby ** ** *From:* Jasha Joachimsthal [mailto:j.joachimst...@onehippo.com] *Sent:* Friday, January 06, 2012 4:51 PM *To:* dev@cocoon.apache.org *Subject:* Re: HTML5 serializer ** ** Hey Robby, ** ** which Cocoon version

RE: HTML5 serializer

2012-01-06 Thread Robby Pelssers
, 2012 5:00 PM To: dev@cocoon.apache.org Subject: Re: HTML5 serializer Ok, then create an HTML5Serializer that extends the current Serializer. An other solution would be to add a boolean that will output differently for html5 but I'd prefer extension above a number of if statements. Jasha On 6

Re: HTML5 serializer

2012-01-06 Thread Sylvain Wallez
Le 06/01/12 15:48, Robby Pelssers a écrit : Hi all, I've been looking at how to add a HTML5 serializer to the project. So far my investigations have led to add following code to org.apache.cocoon.sax.component.XMLSerializer public static XMLSerializer createHTML5Serializer() {

RE: HTML5 serializer

2012-01-06 Thread Robby Pelssers
@cocoon.apache.org Subject: Re: HTML5 serializer Le 06/01/12 15:48, Robby Pelssers a écrit : Hi all, I've been looking at how to add a HTML5 serializer to the project. So far my investigations have led to add following code to org.apache.cocoon.sax.component.XMLSerializer public static XMLSerializer