]> source.dussan.org Git - jgit.git/commit
AmazonS3: Ensure SAXParserFactory sets valid/expected input params 81/1199781/2
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 26 Aug 2024 23:31:44 +0000 (01:31 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 27 Aug 2024 07:21:51 +0000 (09:21 +0200)
commit692ccfc0c29d53afc7a0b82f41efcd999ed217b0
tree274e3ac46d586e485ff81e048be47d2f46833121
parentd66175d7dca30be7ab96af0e3998f795a174b891
AmazonS3: Ensure SAXParserFactory sets valid/expected input params

Change Ie8a9d411fc19e8b7bf86c0b4df0b02153a0e9444 broke setting
valid/expected input parameters for the XML parser. This can be fixed
by calling SaxParserFactory#setNamespaceAware, see [1]. Also see earlier
fix in [2].

[1] https://stackoverflow.com/questions/24891323/namespace-handling-with-sax-in-java
[2] I05e993032ab3a6afb78634290b578ebc73cf1cbd

Bug: jgit-87
Change-Id: Id4e9eebac8d9de81e5d48a608066db3cc862e15c
org.eclipse.jgit/src/org/eclipse/jgit/transport/AmazonS3.java