You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Antonio Gallardo <ag...@agssa.net> on 2004/12/04 06:36:20 UTC

Re: difference between o.a.c.components.serializers.HTMLSerializerand o.a.c.serialization.HTMLSerializer?

On Vie, 3 de Diciembre de 2004, 23:16, Gregor J. Rothfuss dijo:
> Gregor J. Rothfuss wrote:
>
>> from what i understand, said issue has been fixed in 2.1.6 by antonio.
>> which serializer should be used, then?
>
> i assume  o.a.c.components.serializers.HTMLSerializer and
> o.a.c.components.serializers.XMLSerializer is pier's improved
> serializer. anyone against using those in trunk by default?

+1 to use(test) them in the default trunk.

Best Regards,

Antonio Gallardo



---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: difference between o.a.c.components.serializers.HTMLSerializerand o.a.c.serialization.HTMLSerializer?

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Gregor J. Rothfuss wrote:

> interestingly, when i switched in trunk, both the menu weirdness michi 
> had reported and some utf-8 problems on the sitetree vanished.
> 
> on the downside, the output contains things like
> 
> <xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" 
> xmlns:dcterms="http://purl.org/dc/terms/" 
> xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0">The XHTML 
> Doctype is for situations where users ask for complete freedom on what 
> information can be inserted into a document. While this approach 
> doesn&apos;t restrict you, it also looses some of the major benefits of 
> well defined document types.</xhtml:p>
> 
> so we need to make sure all namespaces are stripped.

i tried (unsuccessfully) to apply strip_namespaces to deal with this, so 
for the meantime,
i set the serializer to html. once we have a better understanding of 
this we should take a second look.



-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: difference between o.a.c.components.serializers.HTMLSerializerand o.a.c.serialization.HTMLSerializer?

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Antonio Gallardo wrote:

>>i assume  o.a.c.components.serializers.HTMLSerializer and
>>o.a.c.components.serializers.XMLSerializer is pier's improved
>>serializer. anyone against using those in trunk by default?
> 
> 
> +1 to use(test) them in the default trunk.

interestingly, when i switched in trunk, both the menu weirdness michi 
had reported and some utf-8 problems on the sitetree vanished.

on the downside, the output contains things like

<xhtml:p xmlns:xhtml="http://www.w3.org/1999/xhtml" 
xmlns:dcterms="http://purl.org/dc/terms/" 
xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0">The XHTML 
Doctype is for situations where users ask for complete freedom on what 
information can be inserted into a document. While this approach 
doesn&apos;t restrict you, it also looses some of the major benefits of 
well defined document types.</xhtml:p>

so we need to make sure all namespaces are stripped.

-- 
Gregor J. Rothfuss
COO, Wyona       Content Management Solutions    http://wyona.com
Apache Lenya                              http://lenya.apache.org
gregor.rothfuss@wyona.com                       gregor@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: difference between o.a.c.components.serializers.HTMLSerializerand o.a.c.serialization.HTMLSerializer?

Posted by Andreas Hartmann <an...@apache.org>.
Antonio Gallardo wrote:
> On Vie, 3 de Diciembre de 2004, 23:16, Gregor J. Rothfuss dijo:
> 
>>Gregor J. Rothfuss wrote:
>>
>>
>>>from what i understand, said issue has been fixed in 2.1.6 by antonio.
>>>which serializer should be used, then?
>>
>>i assume  o.a.c.components.serializers.HTMLSerializer and
>>o.a.c.components.serializers.XMLSerializer is pier's improved
>>serializer. anyone against using those in trunk by default?
> 
> 
> +1 to use(test) them in the default trunk.

+1

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org