[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AW: Re: Hook to validate XHTML

From: Felix Gilcher <gilcher_at_exozet.com>
Date: 2006-06-22 14:22:40 CEST

Andy Levy <mailto:andy.levy@gmail.com> schrieb am Donnerstag, 22. Juni 2006 14:10:

> On 6/22/06, emerson cargnin <echofloripa.yell@gmail.com> wrote:
>> Does anyone know of any hook to validate if a JSP is XHTML compliant?
>
> Wouldn't that depend upon the functions performed by the JSP and any
> data they may output also generating XHTML? The JSP file itself won't
> ever be valid XHTML (I don't think), and the final page that the JSP
> produces may or may not be valid XHTML, depending on many factors.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

Well, you *could* check out the transaction in question to a testing server and then check the generated result but this would block the commit during the process. So, for any real world application this is probably not a good idea.

This rather sounds like a task for a post-commit hook that mails the offender if anything is not the way it should be.

regards

fg

-- 
Felix Gilcher
Head of IT Development
Exozet Berlin GmbH
Rotherstraße 20
10245 Berlin
eMail: gilcher@exozet.com
URL: www.exozet.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 22 14:25:52 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.