I don't think there is one, but you could create a java program to do
it. You would have to recurse through a given directory looking for
all xhtml files and load them as a view and look for errors.

If you choose this path, to get a head start, look at my testing code
for the facelets annotation deployment code:

http://tinyurl.com/ysed86

I create views in there to test the deployment of my tag handlers and
EL functions. So you can use the same type of code to load your views.

-Andrew

On 8/9/07, Si_Simon <[EMAIL PROTECTED]> wrote:
>
> I want to validate all .xhtml files in my project for correct syntax (static
> analyzer).  Is there a program that I can feed a .xhtml to have it show me
> the violations?
>
> I would like to have a program look for and check all .xhtml files for
> proper syntax and tag usage and report any errors that are found.
>
> thanks
>
> Si'mon
> --
> View this message in context: 
> http://www.nabble.com/How-to-validate-Myfaces-.xhtml-file-tf4245412.html#a12081470
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to