[ 
https://issues.apache.org/jira/browse/FOR-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490018
 ] 

Gavin commented on FOR-250:
---------------------------

Do you have any ideas for this at all?

First, the xml,xdoc or whatever source file would need converting to (x)html, 
then sent to the W3C for testing, depending on the result, how would be then 
add in the compliance logos, a futher processing of the (x)html file to add it 
in?

There are various things I've looked at so far.

http://validator.w3.org/docs/users.html#API -- Calling the Validators API.
http://validator.w3.org/docs/api -- The Web Service API
http://ant.apache.org/manual/OptionalTasks/xmlvalidate.html -- Use Ant to 
validate against W3C XML Schemas (probably not appropriate)
http://search.cpan.org/dist/WebService-Validator-HTML-W3C/ -- Adapt and use 
this CPAN Module , License Issue here or not ? I'ts a Perl file, can we get Ant 
to run this and depending on result include or not the compliance logos.

I'm in favour of the CPAN Module if the license allows us to.

> only add the compliance logos if the html is valid
> --------------------------------------------------
>
>                 Key: FOR-250
>                 URL: https://issues.apache.org/jira/browse/FOR-250
>             Project: Forrest
>          Issue Type: New Feature
>          Components: Core operations
>    Affects Versions: 0.6
>            Reporter: David Crossley
>             Fix For: 0.9-dev
>
>
> Currently the compliance logos are only applied to any page called 
> "index.html". It would be nice if we could automatically determine if the 
> final output was valid and apply the compliance logos accordingly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.