Fwd: RegexpSingleline, and XML files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fwd: RegexpSingleline, and XML files

Michael Hüttermann

 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).

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


  I want to validate XML files, but the following module construction
  only detects the false pattern in Java files. How can I configure it
  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!" />

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
[hidden email]