My plan was based on the release version 1.3.3. I know should have checked
the latest CVS first #8-(
Anyway, this was my plan for 1.3.3 (basically I wanted to upset the existing
code at little as possible):
- add three more DTD's to Doctype for XHTML (Strict, Transitional and
Frameset)
- create a package org.apache.ecs.xhtml
- extend all classes from org.apache.ecs.html and make them lowercase (eg.
'A' becomes 'a' - XHTML is lowercase only - this might not be too smart due
to possible name conflicts with other classes people use)
- redefine setCase() method in all classes to do nothing (ie. XHTML is
always lowercase); call super.setCase(LOWERCASE) in the constructor of the
class
- call setBeginEndModifier('/') in the constructor of single part elements
like <hr>, <br>, <img ...> so that they become <hr />, <br /> and <img ...
/> respectively (another one of the XHTML quirks)
- I'm not sure yet about the attributes (have to look at the code and docs a
bit more), but XHTML doesn't allow minimised form (ie. you have to say
nowrap="nowrap")
- there are a few other little things from the XHTML spec that might need a
bit of work
Does this sound about right or am I totally off the mark? I only had a
glance at the code/docs and I could be dead wrong about what some of the
mentioned methods do. I'm still in the process of wrapping my head around
ECS #8-)
Bojan
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, September 22, 2000 4:01 AM
> To: ECS
> Subject: RE: XHTML
>
>
>
> Sadly, the stuff in ecs1.x isn't very exstensible. ecs2 fixes this but i
> haven't finished coding the html classes yet ( ecs2 takes a different
> approach
> to method chaining utilizing innerclasses which is in no way compatible
> with
> ecs1.x ) If you go with ecs1.x you will have to recreate all of the xhtml
> classes from scratch.
>
> -stephan
>
>
>
>
> --
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]