This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-12516] Upgrade to Digester 3.2 which is more robust in
parsing CDATA elements.
- Loading branch information
Showing
4 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
src/test/resources/hudson/plugins/dry/parser/cpd/issue12516.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="ANSI_X3.4-1968"?> | ||
<pmd-cpd> | ||
<duplication lines="68" tokens="1586"> | ||
<file line="19" path="csci07/csc60/remote_copy.sh"/> | ||
<file line="19" path="csci08/csc90/remote_copy.sh"/> | ||
<codefragment> | ||
<![CDATA[ | ||
# | ||
ERROR HANDLING: N/A | ||
# | ||
REMARKS: N/A | ||
# | ||
****************************** END HEADER ************************************* | ||
# | ||
***************************** BEGIN PDL *************************************** | ||
# | ||
****************************** END PDL **************************************** | ||
# | ||
***************************** BEGIN CODE ************************************** | ||
** | ||
******************************************************************************* | ||
******************************************************************************* | ||
******************************************************************************* | ||
if [ $# -lt 3 ] | ||
then | ||
exit 1 | ||
fi | ||
******************************************************************************* | ||
initialize local variables | ||
shift input parameter (twice) to leave only files to copy | ||
******************************************************************************* | ||
files="" | ||
shift | ||
shift | ||
******************************************************************************* | ||
******************************************************************************* | ||
for i in $* | ||
do | ||
files="$files $directory/$i" | ||
done | ||
]]> | ||
</codefragment> | ||
</duplication> | ||
</pmd-cpd> |