You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Pierpaolo Fumagalli <pi...@apache.org> on 2000/01/03 17:56:16 UTC
Problems with serialization classes
Hi... I have a small problem w/ Serialization classes...
Running them w/ stylebook (I made a new printer, called HTMLSerializer)
they produce invalid HTML (XHTML when I select METHOD_HTML and HTML when
I select METHOD_XHTML). And also they don't close some element, so that
all pages are not displayed...
Did anyone tried those yet?
Pier
Re: Problems with serialization classes
Posted by Assaf Arkin <ar...@exoffice.com>.
The problems you have reported have also been reported last week on the
OpenXML mailing list.
I'm going to commit some updates today including the following changes:
* Serializer is now an interface
* Correct the mix between XHTML and HTML
* Fix to some element closure
* TextSerializer (OutputFormat.Method.TEXT)
* METHOD_HTML/METHOD_XML have been changed to Method.HTML, Method.XML
arkin
Pierpaolo Fumagalli wrote:
>
> Hi... I have a small problem w/ Serialization classes...
> Running them w/ stylebook (I made a new printer, called HTMLSerializer)
> they produce invalid HTML (XHTML when I select METHOD_HTML and HTML when
> I select METHOD_XHTML). And also they don't close some element, so that
> all pages are not displayed...
> Did anyone tried those yet?
>
> Pier
Re: Problems with serialization classes
Posted by Pierpaolo Fumagalli <pi...@apache.org>.
Stefano Mazzocchi wrote:
>
> Pierpaolo Fumagalli wrote:
> >
> > Hi... I have a small problem w/ Serialization classes...
> > Running them w/ stylebook (I made a new printer, called HTMLSerializer)
> > they produce invalid HTML (XHTML when I select METHOD_HTML and HTML when
> > I select METHOD_XHTML). And also they don't close some element, so that
> > all pages are not displayed...
> > Did anyone tried those yet?
>
> Cocoon uses them with no problems.
I'll dig into your sources, then.
Pier
Re: Problems with serialization classes
Posted by Assaf Arkin <ar...@exoffice.com>.
I did have a bug report about that on the OpenXML mailing list, and I
did post a fix, so if you can try it.
The HTML/XHTML mixup was in the old serializer, but not in
SerializerFactory.
Also, TextSerializer is up there in the CVS, so test it and send me
feedback.
arkin
Stefano Mazzocchi wrote:
>
> Pierpaolo Fumagalli wrote:
> >
> > Hi... I have a small problem w/ Serialization classes...
> > Running them w/ stylebook (I made a new printer, called HTMLSerializer)
> > they produce invalid HTML (XHTML when I select METHOD_HTML and HTML when
> > I select METHOD_XHTML). And also they don't close some element, so that
> > all pages are not displayed...
> > Did anyone tried those yet?
>
> Cocoon uses them with no problems.
>
> --
> Stefano Mazzocchi One must still have chaos in oneself to be
> able to give birth to a dancing star.
> <st...@apache.org> Friedrich Nietzsche
> --------------------------------------------------------------------
> Come to the first official Apache Software Foundation Conference!
> ------------------------- http://ApacheCon.Com ---------------------
Re: Problems with serialization classes
Posted by Stefano Mazzocchi <st...@apache.org>.
Pierpaolo Fumagalli wrote:
>
> Hi... I have a small problem w/ Serialization classes...
> Running them w/ stylebook (I made a new printer, called HTMLSerializer)
> they produce invalid HTML (XHTML when I select METHOD_HTML and HTML when
> I select METHOD_XHTML). And also they don't close some element, so that
> all pages are not displayed...
> Did anyone tried those yet?
Cocoon uses them with no problems.
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Come to the first official Apache Software Foundation Conference!
------------------------- http://ApacheCon.Com ---------------------