diff --git a/README.md b/README.md index e54a445913..fa1852e804 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Modelica, PLSQL, Apache Velocity, XML, XSL, Scala. Additionally it includes **CPD**, the copy-paste-detector. CPD finds duplicated code in C/C++, C#, Dart, Fortran, Go, Groovy, Java, JavaScript, JSP, Kotlin, Lua, Matlab, Modelica, -Objective-C, Perl, PHP, PLSQL, Python, Ruby, Salesforce.com Apex, Scala, Swift and Visualforce. +Objective-C, Perl, PHP, PLSQL, Python, Ruby, Salesforce.com Apex, Scala, Swift, Visualforce and XML. ## Support diff --git a/docs/pages/pmd/userdocs/cpd/cpd.md b/docs/pages/pmd/userdocs/cpd/cpd.md index bb341e8e2a..d56bfacf23 100644 --- a/docs/pages/pmd/userdocs/cpd/cpd.md +++ b/docs/pages/pmd/userdocs/cpd/cpd.md @@ -207,7 +207,6 @@ This behavior has been introduced to ease CPD integration into scripts or hooks, ## Supported Languages -* Apex * C# * C/C++ * Dart @@ -220,15 +219,18 @@ This behavior has been introduced to ease CPD integration into scripts or hooks, * Kotlin * Lua * Matlab +* Modelica * Objective-C * Perl * PHP * PL/SQL * Python * Ruby +* Salesforce.com Apex * Scala * Swift * Visualforce +* XML ## Available report formats diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index f6837bea9b..41e3b8c237 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -14,6 +14,11 @@ This is a {{ site.pmd.release_type }} release. ### New and noteworthy +#### CPD now supports XML as well + +Thanks to [Fernando Cosso](https://github.com/xnYi9wRezm) CPD can now find duplicates in XML files as well. +This is useful to find duplicated sections in XML files. + ### Fixed Issues ### API Changes @@ -21,6 +26,7 @@ This is a {{ site.pmd.release_type }} release. ### External Contributions * [#2448](https://github.com/pmd/pmd/pull/2448): \[java] Operator Wrap check - [Harsh Kukreja](https://github.com/harsh-kukreja) +* [#2457](https://github.com/pmd/pmd/pull/2457): \[xml] Adding XML to CPD supported languages - [Fernando Cosso](https://github.com/xnYi9wRezm) {% endtocmaker %}