Re: HMLObjectImpl#toDocument() issue

Petr Stehlik <[email protected]> Fri, 12 Sep 2003 18:48:01 +0200
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
V St, 10. 09. 2003 v 23:14, Jacob Kjome píše:
> The HTMLObjectImple#toDocument() method is setting custom 
> OutpuOptions.  Where I thought we had gotten rid of the issue with default 
> removal of HTML Span id's. 

> I think it should do this...
> 
>      public String toDocument() {
>          // Create formatter if needed (no synchronization necessary)
>          if (fFormatter == null) {
>              fFormatter = new 
> DOMFormatter(DOMFormatter.getDefaultOutputOptions(getDocument()));
>          }
>          return fFormatter.toString(this);
>      }
> 
> Thoughts?  Anyone opposed to this?

Will this be included in Enhydra 5.1 final? Alfred? Please..

Petr

P.S. Wondering if setEnableXHTMLCompatibility() shouldn't be enabled in
Enhydra by default as well.