Skip to content

Commit a9a87b9

Browse files
committed
[doc] fix description for new serialization option
1 parent 664de51 commit a9a87b9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exist-core/src/main/java/org/exist/storage/serializers/EXistOutputKeys.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ public class EXistOutputKeys {
106106
public final static String XDM_SERIALIZATION = "xdm-serialization";
107107

108108
/**
109-
* Enforce newline at the end of an XML document.
109+
* Enforce newline at the end of JSON and XML documents.
110110
*
111-
* Since a lot of editors set this enforcing it on
112-
* serialization out of exist-db will lead to less
113-
* meaningless changes in git and tools like diff will
114-
* be able to provide more meaningful as well.
111+
* It is common for editor software to enforce a newline at the end of non-
112+
* binary resources. This setting will do the same for serialization out of
113+
* exist-db and will lead to less meaningless changes in git and tools
114+
* like diff will be able to provide more meaningful information as well.
115115
*/
116116
public final static String INSERT_FINAL_NEWLINE = "insert-final-newline";
117117
}

0 commit comments

Comments
 (0)