]> git.basschouten.com Git - openhab-addons.git/commit
[bosesoundtouch] Fix parsing of metadata fields (#16898)
authorDavid Pace <dev@davidpace.de>
Thu, 27 Jun 2024 17:22:29 +0000 (19:22 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2024 17:22:29 +0000 (19:22 +0200)
commit33a9894bde0e8492cff6afaff18c8b7e553ed769
tree89b65c0cbd3ddb7ebeb320343e81c59cbbf7de08
parentb8c04ae42453a1f7492e46d1ee5ced3022d7dde1
[bosesoundtouch] Fix parsing of metadata fields (#16898)

XML text content was not processed correctly in case the value contained XML entities.
Signed-off-by: David Pace <dev@davidpace.de>
bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/XMLResponseHandler.java
bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/XMLResponseProcessor.java
bundles/org.openhab.binding.bosesoundtouch/src/test/java/org/openhab/binding/bosesoundtouch/internal/XMLResponseProcessorTest.java [new file with mode: 0644]
bundles/org.openhab.binding.bosesoundtouch/src/test/resources/NowPlayingUpdate.xml [new file with mode: 0644]