Is OFBiz XHTML 1.0 valid?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Is OFBiz XHTML 1.0 valid?

Ján Valkovič
Hi,
is OFBiz really  XHTML 1.0 valid? Catalog component
( https://demo904.ofbiz.org/catalog ) has 25 errors and 7 warnings
<a href="http://validator.w3.org/check?uri=https%3A%2F%2Fdemo904.ofbiz.org%">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


Reply | Threaded
Open this post in threaded view
|

Re: Is OFBiz XHTML 1.0 valid?

JohnHays
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Is OFBiz XHTML 1.0 valid?

Ján Valkovič
Thanks for explanation, but Amazon.com haven't this
https://demo904.ofbiz.org/images/valid-xhtml10.png on _every_ page. And
catalog is part of ofbiz, it isn't 3rd party application deployed to
OFBiz. I wondered why is logo "XHTML 1.0 valid" on XHTML 1.0 non-valid
page creted by ofbiz team.

ya

Dňa St, 2009-06-24 o 10:33 -0700, John Hays napísal:

> 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.
>



Reply | Threaded
Open this post in threaded view
|

Re: Is OFBiz XHTML 1.0 valid?

BJ Freeman
In reply to this post by Ján Valkovič
at the point that ofbiz put the compliance on the footer, I was.
However there has not been in real testing with all the commits and
changes in the last few years.
if this is a concern of your please feel free to contribute and effort
towards that end.
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Ján Valkovič sent the following on 6/24/2009 9:25 AM:

> Hi,
> is OFBiz really  XHTML 1.0 valid? Catalog component
> ( https://demo904.ofbiz.org/catalog ) has 25 errors and 7 warnings
> <a href="http://validator.w3.org/check?uri=https%3A%2F%2Fdemo904.ofbiz.org%">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
>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: Is OFBiz XHTML 1.0 valid?

JohnHays
In reply to this post by Ján Valkovič
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Is OFBiz XHTML 1.0 valid?

David E. Jones-2

Thanks John. Very well put.

-David


On Jun 24, 2009, at 12:50 PM, John Hays wrote:

> The point is valid that a page that wears the badge should have been  
> tested to make sure that it still complies. However, this is an open  
> source, community supported, project -- not a shrink wrapped  
> commercial product with a large marketing and legal department  
> insuring that enough disclaimers are put on everything that the  
> company can't be held to a standard.
>
> If someone is concerned about the generated XHTML enough to go in  
> and create a patch to fix the issues, I'm sure the committers will  
> review it and if it doesn't break something else, add it to the  
> project.  The OFBiz team is everyone in the community, we can all  
> work to make it better.  I, for example, found some extraneous  
> attributes in some tags in the demo, and a committer looked into it  
> right away. If we cannot figure out how to "fix" an issue we see,  
> then we can bring it to the community, as you did, and maybe someone  
> else will pick up the torch and run with it.
>
> Demo pages are "proof of concept", production is what we make it.
>
> On Jun 24, 2009, at 11:31 AM, Ján Valkovič wrote:
>
>> Thanks for explanation, but Amazon.com haven't this
>> https://demo904.ofbiz.org/images/valid-xhtml10.png on _every_ page.  
>> And
>> catalog is part of ofbiz, it isn't 3rd party application deployed to
>> OFBiz. I wondered why is logo "XHTML 1.0 valid" on XHTML 1.0 non-
>> valid
>> page creted by ofbiz team.
>>
>> ya
>>
>> Dňa St, 2009-06-24 o 10:33 -0700, John Hays napísal:
>>> 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.
>>>
>>
>>
>>
>
> John