Fix appcast child elements being ignored when the Sparkle namespace uses a custom prefix (#2923)

The children of <sparkle:informationalUpdate> and <sparkle:tags> were matched
against their qualified name instead of being resolved through the Sparkle
namespace URI, unlike every other element in the parser.
This commit is contained in:
Leo Camus authored and GitHub committed 2026-09-15 20:26:26 -07:00
1 parent efc9a22635
commit 07db2480ad
3 files changed
+27 -4

No files matched your search

+17
View File
@@ -14,5 +14,22 @@
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" customNS:version="2.0" length="1346234" />
</item>
<item>
<title>Version 4.0</title>
<pubDate>Sat, 26 Jul 2014 15:20:13 +0000</pubDate>
<customNS:informationalUpdate>
<customNS:version>2.5</customNS:version>
</customNS:informationalUpdate>
<link>https://sparkle-project.org</link>
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" customNS:version="4.0" length="1346234" />
</item>
<item>
<title>Version 5.0</title>
<pubDate>Sat, 26 Jul 2014 15:20:14 +0000</pubDate>
<customNS:tags>
<customNS:criticalUpdate/>
</customNS:tags>
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" customNS:version="5.0" length="1346234" />
</item>
</channel>
</rss>