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.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
If you want to rebase/retry this PR, check this box
This pull request updates the io.github.pdvrieze.xmlutil:core-android dependency to version 0.91.0 by changing the version in the kotlinx.versions.toml file.
No diagrams generated as the changes look simple and do not need a visual representation.
File-Level Changes
Change
Details
Files
Update xmlutil dependency version
Update the xml_serialization_version from 0.90.3 to 0.91.0
gradle/kotlinx.versions.toml
Tips and commands
Interacting with Sourcery
Trigger a new review: Comment @sourcery-ai review on the pull request.
Continue discussions: Reply directly to Sourcery's review comments.
Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with @sourcery-ai issue to create an issue from it.
Generate a pull request title: Write @sourcery-ai anywhere in the pull
request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
Generate a pull request summary: Write @sourcery-ai summary anywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment @sourcery-ai summary on the pull request to
(re-)generate the summary at any time.
Generate reviewer's guide: Comment @sourcery-ai guide on the pull
request to (re-)generate the reviewer's guide at any time.
Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore.
Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!
renovatebot
changed the title
Update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.0
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.0
Apr 25, 2025
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.0
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.1
May 15, 2025
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.1
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.2
Jul 28, 2025
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 xml.serialization.version to v0.91.3
Jan 8, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version 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 xml.serialization.version to v0.91.3
Jan 19, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version 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 xml.serialization.version to v0.91.3
Jan 23, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version 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 xml.serialization.version to v0.91.3
Feb 3, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Feb 5, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update xml.serialization.version to v0.91.3
Feb 5, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version 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 xml.serialization.version to v0.91.3
Feb 12, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version 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 xml.serialization.version to v0.91.3
Feb 16, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version 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 xml.serialization.version to v0.91.3
Feb 20, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version to v0.91.3
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
Feb 27, 2026
renovatebot
changed the title
fix(deps): update dependency io.github.pdvrieze.xmlutil:core-android to v0.91.3
fix(deps): update xml.serialization.version to v0.91.3
Feb 27, 2026
renovatebot
changed the title
fix(deps): update xml.serialization.version 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 xml.serialization.version to v0.91.3
Mar 5, 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.30.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:serialization-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.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.