RegexpSingleline, and XML files

Michael Hüttermann <[email protected]> Fri, 04 Mar 2011 15:57:20 +0100
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <a3651a34e3496ac8146bb28c5cd2fb27-EhVcWlxFRB8CAwoYCQAEUDBddwZLVFxaQUBBAEFdWC9fUkYKWkFxBUtXWzBeQ0wLXV9ZRlxV-webmailer2@server02.webmailer.hosteurope.de>
 Hello,

 I want to validate XML files, but the following module construction 
 only detects the false pattern in Java files. How can I configure it to 
 make it apply to XML files as well? Thanks!!!

 <module name="Checker">
    <module name="RegexpSingleline">
      <property name="severity" value="warning" />
      <property name="format" value="findme\s+$" />
      <property name="message" value="bug!" />
    </module>
 </module>



------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d