[Seaside] Questions regarding 2.7 deprecated api
Michel Bany
michel.bany at gmail.com
Wed Feb 7 12:51:18 UTC 2007
Hi,
I'm working on porting 2.7 to VW and I have questions about
deprecated apis.
I checked the w3c dtd at http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd
(see WAHtmlRoot>>initialize) and found a couple of inconsistencies.
For instance
In the <table> element, attributes align and border are marked as
deprecated
the dtd tells us they are valid.
In the <img> element, attributes border, width, height are marked as
deprecated
the dtd tells us they are valid.
Even if Seaside was targeting for Strict XHTML 1.0, some of these
deprecated
attributes would be valid.
What are the rationals ?
To me it looks as if the whole attribute stuff would deserve a redesign.
Would be nice if Seaside would use the real dtd to decide when to
raise the
deprecated api exception and if Seaside would let developers decide
what dtd
should be used (maybe no dtd at all to allow everything).
Michel.
More information about the Seaside
mailing list