You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the behaviour of defaultPolicy to inherit the settings of
a previous policy even if it does not inherit DefaultXmlSerializationPolicy.
In rare cases this changes the behaviour (where a custom policy was
originally set (with different defaults), it didn't inherit the
default policy, and it is now replaced by a default policy).
In XmlWriter introduce a safeCdsect function that will handle embedded end
of cdata sequences by splitting the CDATA section into two sections. This is
now used in serialization to avoid serialization errors if the value contains ]]>.
Fixes:
Fix serialization of cdata in the generic (and Android) xml writer. The writer
incorrectly escaped entities in cdata (#304), and did not correctly deal with ]]> in the cdata content (this is resolved by writing as two separate cdata
sections).
Make the default instance encodeToString (XML.encodeToString) use the
regular behaviour for handling null prefixes. This fixes the default empty
prefix being used if none is manually set (rather than the annotated prefix).
Fix attributes not being prefixed with a namespace if their namespace prefix
is the default prefix for that namespace. As a workaround leave the prefix
different from its containers.
In pedantic mode, allow an XmlSerialName to use the xml prefix as long as
its namespace is left default or maps to the xml namespace. Also force the
prefix used to be the standard prefix (although, depending on the xml writer
this may already be the case effectively).
For the generic parser / serializer make handling of newline/tabs in attribute
values standard compliant (#300). This means that when writing all will be
written as character entities to allow for preservation of the values. For
reading the entities are just resolved. Actual newline/tab content in
attribute values is normalized as space characters (where CRLF is still
replaced by a single space). As attribute values can be differen types than
CData this does not further normalize the value by collapsing whitespace
sequences.
Make defaultPrimitiveOutputKind and defaultObjectOutputKind
configurable attributes rather than (overridable) properties (#285).
Allow the "xml" prefix in annotations to be used without explicit
namespace specification, but implicitly mapped to the xml namespace: http://www.w3.org/XML/1998/namespace. Note that while not enforced
it is not valid to declare the prefix to have any different value.
Adresses #289.
Changes:
Tidy up the implementation of the constructors of the DefaultSerializationPolicy. This might have slight consequences
in binary compatibility for (experimental) inheritance.
Change DelegatingSerializer (in serialutil) to take the serial
name as parameter as using the delegate is not valid.
Fixes:
Fix trimming of strings inside a mixed context where there is an @XmlIgnoreSpace(true) annotation.
Fix handling of entity references in handling generic value holders
(node, compactFragment). This addresses bug #291 with two separate,
but equivalent errors.
Add an annotation @XmlMapEntryName to force map entries not to be
collapsed, also specifying the name of the entry.
Improve translation of serial names to xml names in the
default policy (strip out text after '<', '[' and '(')
Changes:
Replace @XmlNamespaceDeclSpec with @XmlNamespaceDeclSpecs that
accepts an array argument
Synchronize annotation and readme docs #279 (thanks to Jack Boswell
(boswelja))
Fixes:
Fix deserialization of value classes that wrap a string when inside
an @XmlValue property (#280).
Fix the issue that the for JavaScript overloads cannot be different
only in external parameter type. This breaks compiling with a
js2025 target. Discussed in #83.
Inspired by #274, fix the decoding of non-collapsed map entries
where the XmlSerialName annotation is not present.
Further fixes on inline serialization with more cases.
Add XmlKeyName as annotation to set the name of the key used in
maps. This just adds the capability to the default policy. Supports
issue #218.
Add (and change in the recommended policy) the isXmlFloat property
that ensures properties are stored in XML format (for infinity).
Decoding will accept both formats. Fixes #222.
Fixes:
Fix #269 to allow @XmlValue for CompactFragment to capture the
contents of an element while allowing attributes to be captured. It
should be noted that combining this with element children is not
intended to be supported (it may work if the tagsoup is trailing).
Fix caching issue in case of polymorphic elements (at least in lists)
where the polymorphic descriptor did not retain use side annotations,
thus resulting in invalid cache keys.
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
If you want to rebase/retry this PR, check this box
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.2
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Oct 28, 2025
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Jan 8, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Jan 19, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Jan 19, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Jan 23, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Jan 23, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Feb 2, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Feb 3, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Feb 12, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Feb 12, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Feb 16, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Feb 16, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Feb 20, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Feb 20, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Mar 1, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Mar 2, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Mar 5, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Mar 5, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Mar 14, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Mar 15, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Mar 26, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Mar 26, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Mar 27, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Mar 27, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Mar 30, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 1, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 2, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 3, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 3, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 4, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 4, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 4, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update devrieze.xmlutil to v0.91.3
Apr 4, 2026
renovatebot
changed the title
fix(deps): update devrieze.xmlutil to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Apr 4, 2026
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.90.3→0.91.3Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
pdvrieze/xmlutil (io.github.pdvrieze.xmlutil:core-android)
v0.91.3(Oct 28, 2025)
Changes:
defaultPolicyto inherit the settings ofa previous policy even if it does not inherit
DefaultXmlSerializationPolicy.In rare cases this changes the behaviour (where a custom policy was
originally set (with different defaults), it didn't inherit the
default policy, and it is now replaced by a default policy).
safeCdsectfunction that will handle embedded endof cdata sequences by splitting the CDATA section into two sections. This is
now used in serialization to avoid serialization errors if the value contains
]]>.Fixes:
incorrectly escaped entities in cdata (#304), and did not correctly deal with
]]>in the cdata content (this is resolved by writing as two separate cdatasections).
XML.encodeToString) use theregular behaviour for handling null prefixes. This fixes the default empty
prefix being used if none is manually set (rather than the annotated prefix).
is the default prefix for that namespace. As a workaround leave the prefix
different from its containers.
XmlSerialNameto use thexmlprefix as long asits namespace is left default or maps to the xml namespace. Also force the
prefix used to be the standard prefix (although, depending on the xml writer
this may already be the case effectively).
values standard compliant (#300). This means that when writing all will be
written as character entities to allow for preservation of the values. For
reading the entities are just resolved. Actual newline/tab content in
attribute values is normalized as space characters (where CRLF is still
replaced by a single space). As attribute values can be differen types than
CData this does not further normalize the value by collapsing whitespace
sequences.
v0.91.2(July 27, 2025)
Features:
defaultPrimitiveOutputKindanddefaultObjectOutputKindconfigurable attributes rather than (overridable) properties (#285).
namespace specification, but implicitly mapped to the xml namespace:
http://www.w3.org/XML/1998/namespace. Note that while not enforcedit is not valid to declare the prefix to have any different value.
Adresses #289.
Changes:
DefaultSerializationPolicy. This might have slight consequencesin binary compatibility for (experimental) inheritance.
DelegatingSerializer(in serialutil) to take the serialname as parameter as using the delegate is not valid.
Fixes:
@XmlIgnoreSpace(true)annotation.(node, compactFragment). This addresses bug #291 with two separate,
but equivalent errors.
v0.91.1(May 15, 2025)
Features:
@XmlMapEntryNameto force map entries not to becollapsed, also specifying the name of the entry.
default policy (strip out text after '
<', '[' and '(')Changes:
@XmlNamespaceDeclSpecwith@XmlNamespaceDeclSpecsthataccepts an array argument
(boswelja))
Fixes:
an
@XmlValueproperty (#280).only in external parameter type. This breaks compiling with a
js2025 target. Discussed in #83.
where the
XmlSerialNameannotation is not present.v0.91.0(April 1, 2025)
Features:
XmlKeyNameas annotation to set the name of the key used inmaps. This just adds the capability to the default policy. Supports
issue #218.
that ensures properties are stored in XML format (for infinity).
Decoding will accept both formats. Fixes #222.
Fixes:
@XmlValueforCompactFragmentto capture thecontents of an element while allowing attributes to be captured. It
should be noted that combining this with element children is not
intended to be supported (it may work if the tagsoup is trailing).
where the polymorphic descriptor did not retain use side annotations,
thus resulting in invalid cache keys.
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.