Fwd: RegexpSingleline, and XML files

Michael Hüttermann <[email protected]> Mon, 07 Mar 2011 18:53:13 +0100
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <80fbb1888d79d484bead98385449e63f-EhVcWlxFRB8CAwoYCQAEUDBddwZLVFxaQUBBAEFdWC9QUkYJV1loBFxLXF1YLkQAVlNcQlhWUQs=-webmailer2@server05.webmailer.hosteurope.de>
 Hi again,
 I'm wondering if someone has an idea. Although using the attribute 
 "fileExtensions" I don't get my XML files validated.
 I'm using version 2.6 of the Maven checkstyle plugin and define and 
 reference my configuration accordingly (it is processed correctly except 
 the RegexpSingleline, see below).
 Thanks!


 -------- Original Message --------
 Subject: [Checkstyle-user] RegexpSingleline, and XML files
 Date: Fri, 04 Mar 2011 15:57:20 +0100
 From: Michael Hüttermann <[email protected]>
 To: <[email protected]>
 Reply-To: [email protected]


  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
_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user