-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting Document.setRootElement will clear other content besides the …
…actual root element. Loop through content and just replace the root instead.
- Loading branch information
Björn Ekryd
committed
May 24, 2022
1 parent
d7bc52d
commit fedc571
Showing
3 changed files
with
38 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
base-parent | ||
Copyright | ||
All rights reserved. | ||
Contributors: | ||
Björn | ||
--> | ||
<?processing start?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<!-- The Basics | ||
This is a multiline komment--> | ||
<groupId>sortpom</groupId> | ||
<artifactId>sortpom</artifactId> | ||
</project> | ||
<!-- End comment --> | ||
<?processing end?> |
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 |
---|---|---|
@@ -1,7 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
base-parent | ||
Copyright | ||
All rights reserved. | ||
Contributors: | ||
Björn | ||
--> | ||
<?processing start?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<artifactId>sortpom</artifactId> | ||
<!-- The Basics | ||
This is a multiline komment--> | ||
<groupId>sortpom</groupId> | ||
</project> | ||
</project> | ||
<!-- End comment --> | ||
<?processing end?> |