Difference when setting xml reader and not
Mikael Petterson <[email protected]> Tue, 25 Apr 2023 13:56:05 +0000
| Newsgroups | gmane.comp.jakarta.poi.user |
|---|---|
| Message-ID | <DU2PR07MB8256D3D697D20B2E7BDBB972F0649@DU2PR07MB8256.eurprd07.prod.outlook.com> |
Hi, We use Method 1: XmlOptions options = new XmlOptions(); options.setLoadUseXMLReader(SAXParserFactory.newInstance().newSAXParser().getXMLReader()); XmlObject.Factory.parse(str, options); As well as Method 2: XmlObject.Factory.parse(str); We changed from jdom 1.1.3 to jdom2 and it seems that method 1 is picking up the change and gets affected but not method 2. Which parser is then used for method 2? Br, //mike