I came across a validation error when validating a page and the cause was
that the page is HTML 4.0.1 Transitional and the <link> tag was ended in XML
style, like <link .... />

I was able to fix this by removing the "/" from line 423 of
org.apache.myfaces.component.html.util.AddResource.  I did not submit a diff
because I don't think this is the correct way to fix it.  I'm not sure of
how each renderkit works?  For example is there a renderkit for each type of
HTML and XHTML?  To me it seems there would have to be a separate render kit
for every type of HTML/XHTML that could be validated?  That is how it should
properly be fixed.  Anyway I thought I would at least submit it as an FYI. 

If I knew more about the structure/organization of the code, as I'm sure I
will in time, I would have attempted to fix it on my own.

Thanks,
-Mark

Reply via email to