1
1
Release Notes for java-xmlbuilder
2
2
=================================
3
3
4
+ Version 1.3 - 8 July 2020
5
+ -------------------------
6
+
7
+ Fixes:
8
+
9
+ * Update source version from 1.5 to 1.7 to work with Java versions 11+ which no
10
+ longer supports ` javax.annotation ` and because 6 no longer builds with Maven.
11
+
12
+ * Tweaks to pom.xml to get Maven builds to work with Java 12.
13
+
14
+ * Replace references to my defunct website with working alternatives.
15
+
4
16
Version 1.2 - 1 September 2017
5
17
------------------------------
6
18
@@ -9,16 +21,16 @@ Fixes:
9
21
* Prevent XML External Entity (XXE) injection attacks by disabling parsing of
10
22
general and parameter external entities by default (#6 ). External entities
11
23
are now only parsed if this feature is explicitly enabled by passing a boolean
12
- flag value to the #create and #parse methods.
24
+ flag value to the #create and #parse methods.
13
25
WARNING: This will break code that expects external entities to be parsed.
14
-
26
+
15
27
Enhancements:
16
28
17
29
* Permit users to disable namespace-awareness in the underlying
18
30
DocumentBuilderFactory when constructing the builder with extended ` create() `
19
31
and ` parse() ` methods. Namespace awareness is enabled by default unless you
20
32
use the more explicit versions of these methods that take additional
21
- ` enableExternalEntities ` and ` isNamespaceAware ` parameters.
33
+ ` enableExternalEntities ` and ` isNamespaceAware ` parameters.
22
34
23
35
Version 1.1 - 22 July 2014
24
36
--------------------------
@@ -27,12 +39,12 @@ Added a new `XMLBuilder2` implementation that avoids checked exceptions in the
27
39
API and throws runtime exceptions instead. This should make the library much
28
40
more pleasant to use, and your code much cleaner, in situations where low-level
29
41
exceptions are unlikely -- which is probably most situations where you would
30
- use this library.
42
+ use this library.
31
43
32
44
For example when creating a new document with the ` #create ` method, instead of
33
45
needing to explicitly catch the unlikely ` ParserConfigurationException ` , if you
34
46
use ` XMLBuilder2 ` this exception automatically gets wrapped in the new
35
- ` XMLBuilderRuntimeException ` class and can be left to propagate out.
47
+ ` XMLBuilderRuntimeException ` class and can be left to propagate out.
36
48
37
49
Aside from the removal of checked exceptions, ` XMLBuilder2 ` has the same API as
38
50
the original ` XMLBuilder ` and should therefore be a drop-in replacement in
@@ -45,9 +57,9 @@ Version 1.0 - 6 March 2014
45
57
--------------------------
46
58
47
59
Jumped version number from 0.7 to 1.0 to better reflect this project's age
48
- and stability, as well as to celebrate the move to GitHub.
60
+ and stability, as well as to celebrate the move to GitHub.
49
61
50
- * Migrated project from
62
+ * Migrated project from
51
63
[ Google Code] ( https://code.google.com/p/java-xmlbuilder/ ) to
52
64
[ GitHub] ( https://github.com/jmurty/java-xmlbuilder ) . Whew, that's better!
53
65
* Test cases for edge-case issues and questions reported by users.
@@ -91,7 +103,7 @@ Version 0.3 - 2 July 2010
91
103
92
104
* First release to Maven repository.
93
105
* Parse existing XML documents with ` parse ` method.
94
- * Find specific nodes in document with an XPath with ` xpathFind ` .
106
+ * Find specific nodes in document with an XPath with ` xpathFind ` .
95
107
* Added JUnit tests
96
108
97
109
Version 0.2 - 6 January 2009
0 commit comments