On Wed, 27 May 2009 at 22:54 +0200, Andreas Hartmann wrote:

 > Andreas Hartmann schrieb:
 > > Hi Rainer,
 > > 
 > > Rainer Schöpf schrieb:
 > > >  > Thanks Rainer, now it's working. I've applied the patch to
 > > > */tiny_config.js/*
 > > >  >  > Now it doesn't throw any exception when I add border, vspace,hspace
 > > >  > attributes. But these attributes are not getting reflected in the
 > > > image tag
 > > >  > (after saving).
 > > >  >  > Should they or not as these are deprecated?
 > > > 
 > > > These attributes deprecated in HTML 4.01, and not allowed in XHTML.
 > > > 
 > > > By default, lenya uses the XHTML basic schema (see
 > > > 
 > > >   http://www.w3.org/2007/09/dtd-comparison.html
 > > > 
 > > > for a comparison to other XHTML schemas.) The problem with the default
 > > > setup for TinyMCE is that is can produce XHTML tags and attributes that
 > > > are not allowed in XHTML basic. With the changes, TinyMCE removes all
 > > > these invalid elements and attributes.
 > > 
 > > I have to admit that I didn't test the patch yet, but will do so now.
 > 
 > Is there a bug report with some nice step-by-step instructions that can be
 > used as a test case? I can't produce any errors when inserting a table, even
 > without the patch. Actually I have no idea what exactly to test …

Interesting.  I've just tried with an unchanged vopy from the SVN, plus the 
TinyMCE files. I do not get any errors in the browser, but it creates a table 
that violates the XHTML schema (having a tbody tag inside the table). 

Why doesn't it validate against the schema?

To reproduce: insert a table in TinyMCE, save, open page in BXE: you get a 
validation error.

 Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to