elharo commented on PR #118:
URL: https://github.com/apache/maven-pmd-plugin/pull/118#issuecomment-1497551471

   specifically the message comes from 
https://github.com/codehaus-plexus/plexus-utils/blob/bf198ff5d8f3bd5eb90d09826006c4d419884660/src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java#L3439
   
   ```
              if ( "UTF8".equals( fileEncoding ) && 
inputEncoding.toUpperCase().startsWith( "ISO-" ) )
               {
                   throw new XmlPullParserException( "UTF-8 BOM plus xml decl 
of " + inputEncoding + " is incompatible",
                                                     this, null );
               }
   ```
   
   Just a guess, but it's possible it's not about a byte order mark at all. 
That is, the encoding is specified as UTF-8 which conflicts with what's defined 
in the file. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to