You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Darren Scott <ds...@bluecheese.co.uk> on 2000/05/18 18:07:43 UTC

XHTMLFormatter

Hi,

I downloaded 1.7.3 today and installed. All looked great and installed
well.

I was pleased to see my XHTMLFormatter got included - but to my dismay
it doesn't work! The output is indistiguishable from HTMLFormatter.

I had a brief look at the source, and it looks as though the formatter
works in a slightly different way to how it did in pre 1.7.3, so I can't
tell why it's not working without a more in-depth investigation - but
Ill gladly look into it.

Stefano, any ideas or tips?

Darren Scott
Production Director
bluecheese.co.uk

Re: XHTMLFormatter

Posted by Paul Russell <pa...@luminas.co.uk>.
On Fri, May 19, 2000 at 12:42:20AM +0200, Stefano Mazzocchi wrote:
> Since all the formatters work on top of the Serialization API that is
> part of Xerces-J (being moved to TRaX soon, I hope), I thought thier
> XHTML method worked.

When is TRaX due to go live, anyone know? It'd be really good
to have this one licked (save me adding entity support to a
defunct HTMLSerializer for a start :o)

Pier: How's the new Cocoon2 code coming along? Getting somewhat
anxious over here... <g>


-- 
Paul Russell                               <pa...@luminas.co.uk>
Technical Director,                   http://www.luminas.co.uk
Luminas Ltd.

Re: XHTMLFormatter

Posted by Stefano Mazzocchi <st...@apache.org>.
Darren Scott wrote:
> 
> Hi,
> 
> I downloaded 1.7.3 today and installed. All looked great and installed
> well.
> 
> I was pleased to see my XHTMLFormatter got included - but to my dismay
> it doesn't work! The output is indistiguishable from HTMLFormatter.
> 
> I had a brief look at the source, and it looks as though the formatter
> works in a slightly different way to how it did in pre 1.7.3, so I can't
> tell why it's not working without a more in-depth investigation - but
> Ill gladly look into it.
> 
> Stefano, any ideas or tips?

Yeah, 

I included an XHTMLFormatter, but it's not yours :/

Since all the formatters work on top of the Serialization API that is
part of Xerces-J (being moved to TRaX soon, I hope), I thought thier
XHTML method worked.

But if it's not the case, you should tell them.

I know it sucks, but we must try to remove all the possible code
overlaps or every project is very likely to rewrite the same code over
and over again.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------