[Bug 36484] New: Lotus Notes 8.x installer aborts with SAX parser exception (line breaks not preserved)
https://bugs.winehq.org/show_bug.cgi?id=36484 Bug ID: 36484 Summary: Lotus Notes 8.x installer aborts with SAX parser exception (line breaks not preserved) Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msxml3 Assignee: wine-bugs(a)winehq.org Reporter: focht(a)gmx.net Hello folks, continuation of bug 36228 As already said, the Java SAXParser still throws same exception as in bug 36228 --- snip --- ... 2014/05/18 19:46:46.452 SEVERE CWPPR0026E: The XML parser reported an exception at line number 17 and column number 1 when parsing the provisioning manifest. ::class.method=com.ibm.rcp.provisioning.internal.impl.ProvisioningServiceImpl.process() ::thread=Worker-0 ::loggername=com.ibm.rcp.provisioning org.xml.sax.SAXParseException: Attribute name "ur" associated with an element type "feature" must be followed by the ' = ' character. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at com.ibm.rcp.provisioning.internal.impl.ProvisioningServiceImpl$3.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Unknown Source) ... --- snip --- For reproducing one can short-circuit the whole thing by re-running on a failed install attempt as follows: --- snip --- wine "C:\\Program Files\\IBM\\Lotus\\Notes\\framework\\rcp\\rcplauncher.exe" -rcpLauncherWait -provManifest -noSplash -product NULL -provisioningOperation update -vmargs -verbose:class -verbose:jni -DprovisioningOperation=update -Drcp.system.admin=true -DprovUpdateSiteListOverride="file:/C:/users/focht/Temp/Lotus Notes/updateSite" --- snip --- Java VM args '-verbose:class -verbose:jni' were added for debugging purpose, they can be omitted. It seems the culprit is that Wine's msxml (re)generates an 'install.xml' file with line breaks not preserved/generated (linefeed/carriage return missing). Good one, each tag is separated by line break (seen in hex-editor with 0x0D,0A). --- snip --- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- ***************************************************************** --> <!-- ... <ibm-portal-composite> <domain-object name="com.ibm.rcp.installmanifest"> <object-data> <install version="8.0.0.20080809.0430"> <installfeature default="true" id="Platform.XPD" required="true" show="false" version="8.0.0.20080809.0430"> <requirements> <feature download-size="2188" id="com.ibm.langware.engine.feature" match="perfect" size="3464" url="jar:file:/C:/Users/focht/AppData/Local/Temp/Lotus Notes/updateSite.zip!/" version="6.1.2.200808010926"/> ... --- snip --- Bad one, generated by Wine msxml. After the starting '<ibm-portal-composite>' tag it's basically one big line: --- snip --- <?xml version="1.0" encoding="ISO-8859-1"?> <!-- ***************************************************************** --> <!-- ... <ibm-portal-composite><domain-object name="com.ibm.rcp.installmanifest"><object-data><install version="8.0.0.20080809.0430"><installfeature default="true" id="Platform.XPD" required="true" show="false" version="8.0.0.20080809.0430"><requirements><feature download-size="2188" id="com.ibm.langware.engine.feature" match="perfect" size="3464" url="jar:file:/C:/users/focht/Temp/Lotus Notes/updateSite.zip!/" version="6.1.2.200808010926"/> --- snip --- The XML file in question is already present with the installer at unpack time, located at 'C:\\users\\focht\\Temp\\Lotus Notes\\deploy\\install.xml' (with proper Windows line breaks). The file gets rewritten during install time, being smaller in the end with fewer feature-sets (ok) and line breaks lost (not ok). 'winetricks -q msxml3' works around. $ sha1sum C1K31EN.exe 5aac0feb578c471e65c0a24a3f5dceb719fd5760 C1K31EN.exe $ du -sh C1K31EN.exe 456M C1K31EN.exe $ wine --version wine-1.7.19 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36484 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Of course nothing should depend on insignificant whitespaces in ideal world, but in cruel reality it matters sometimes. Could you attach a +msxml,+tid log? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36484 --- Comment #2 from Anastasius Focht <focht(a)gmx.net> --- Created attachment 48552 --> https://bugs.winehq.org/attachment.cgi?id=48552 WINEDEBUG=+tid,+msxml,+msgbox wine ./C1K31EN.exe >>log.txt 2>&1 Hello Nikolay, as requested ... uncompressed size: 2.0M Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36484 --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36484 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer --- Comment #4 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, revisiting, still present. $ wine --version wine-1.7.51-102-ga7e294c Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36484 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.zenithcomp.co.t | |h/application/discuss.nsf/x | |sp/.ibmmodres/domino/OpenAt | |tachment/application/discus | |s.nsf/A48F6F624552C03947258 | |0CD0039927A/Body/C1SP4EN.ex | |e Keywords| |download --- Comment #5 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, revisiting, still present. $ sha1sum C1SP4EN.exe f39fb877cff49da9cd9a6320946b8e8e9205402e C1SP4EN.exe $ du -sh C1SP4EN.exe 492M C1SP4EN.exe $ wine --version wine-4.3-229-g6d82b2f1ad Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=36484 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.zenithcomp.co.t |https://web.archive.org/web |h/application/discuss.nsf/x |/20190310010549/https://www |sp/.ibmmodres/domino/OpenAt |.zenithcomp.co.th/applicati |tachment/application/discus |on/discuss.nsf/xsp/.ibmmodr |s.nsf/A48F6F624552C03947258 |es/domino/OpenAttachment/ap |0CD0039927A/Body/C1SP4EN.ex |plication/discuss.nsf/A48F6 |e |F624552C039472580CD0039927A | |/Body/C1SP4EN.exe --- Comment #6 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, revisiting, still present. Adding stable link from Internet Archive: https://web.archive.org/web/20190310010549/https://www.zenithcomp.co.th/appl... --- snip --- $ wine ./C1SP4EN.exe ... 2020/02/16 11:37:59.104 SEVERE CWPPR0026E: The XML parser reported an exception at line number 18 and column number 1 when parsing the provisioning manifest. ::class.method=com.ibm.rcp.provisioning.internal.impl.ProvisioningServiceImpl.process() ::thread=Worker-0 ::loggername=com.ibm.rcp.provisioning org.xml.sax.SAXParseException: Attribute name "d" associated with an element type "feature" must be followed by the ' = ' character. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at com.ibm.rcp.provisioning.internal.core.ProvisioningUtils.manifestToProvisioningRequests(Unknown Source) at com.ibm.rcp.provisioning.internal.impl.ProvisioningServiceImpl$3.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Unknown Source) --- snip --- $ wine --version wine-5.1-391-g7332de64a5 Regards -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla