Serge Démoulin created UIMA-6225:
------------------------------------
Summary: unable to install a pear package into a directory
containing special character like <,> or &
Key: UIMA-6225
URL: https://issues.apache.org/jira/browse/UIMA-6225
Project: UIMA
Issue Type: Bug
Affects Versions: 2.10.3SDK
Reporter: Serge Démoulin
Attachments: hello-world-pear-1.2.0.pear
If I try to install the attached pear I got an PackageInstallerException (see
under).
The following workaround did not work :
replacing the $main_root with the real path like
'/usr/local/tomcat/shared/pipelines/pears/<' produces the same error.
Caused by: org.apache.uima.pear.tools.PackageInstallerException: The following
error occurred during the installation verification of component
hello-world-pear-1.2.0: java.io.IOException: org.xml.sax.SAXParseException;
systemId:
file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml;
lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated
by the matching end-tag "</DESC>".Caused by:
org.apache.uima.pear.tools.PackageInstallerException: The following error
occurred during the installation verification of component
hello-world-pear-1.2.0: java.io.IOException: org.xml.sax.SAXParseException;
systemId:
file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml;
lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated
by the matching end-tag "</DESC>". at
org.apache.uima.pear.tools.PackageBrowser.getInstallationDescriptor(PackageBrowser.java:377)
at
org.apache.uima.pear.tools.InstallationController.verifyComponentInstallation(InstallationController.java:1092)
at
org.apache.uima.pear.tools.InstallationController.verifyComponent(InstallationController.java:1993)
at
org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:268)
at
org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:99)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)