Ján, its as valid as you make it. The XHTML is generated by the
widgets, servlets, and ftl templates that go into the page. If the
programmer who put together the "demo" catalog did not create valid
XHTML, then it won't pass the validator. Clean HTML, XHTML, etc. is a
great goal, which can be achieved through diligence by the designers
and coders, but is rarely truly necessary from a pragmatic point of
view -- for example, try running Amazon's home page through the
validator, you will see over 1500 warnings and errors in their HTML,
or over 500 XHTML errors for Overstock.com.
OFBiz provides the framework to create valid XHTML, but it is up to
the developer/implementor to make it so, the framework cannot force
good coding.
On Jun 24, 2009, at 9:25 AM, Ján Valkovič wrote:
Hi,
is OFBiz really XHTML 1.0 valid? Catalog component
( https://demo904.ofbiz.org/catalog ) has 25 errors and 7 warnings
http://validator.w3.org/check?uri=https%3A%2F%2Fdemo904.ofbiz.org%
2Fcatalog%2Fcontrol%2Flogin%2Fmain%3FUSERNAME%3Ddemoadmin%26PASSWORD%
3Dofbiz&charset=%28detect+automatically%
29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.654
Thanks for explanation :-)
ya
John