IzPack安装程序,找不到元素'安装的声明

She*_*tyh 1 java xml installer izpack

我在编译install.xml时遇到此错误

ERROR:  'cvc-elt.1: Cannot find the declaration of element 'installation'.'
ERROR:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: cvc-elt.
1: Cannot find the declaration of element 'installation'.'
-> Fatal error :
   Error in C:\IzPack\bin\install.xml at line 2, column 29 : javax.xml.transform
.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeExcep
tion: cvc-elt.1: Cannot find the declaration of element 'installation'.
Run Code Online (Sandbox Code Playgroud)

我的install.xml是

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<installation version="1.0">
  <info>
    <appname>Test</appname>
    <appversion>1</appversion>
  </info>
  <guiprefs width="600" height="480" resizable="no">
  </guiprefs>
  <locale>
    <langpack iso3="eng"/>
  </locale>
  <panels>
    <panel classname="ShortcutPanel"/>
  </panels>
  <packs>
    <pack name="Test" required="yes">
      <description>Description</description>
    </pack>
  </packs>
  <resources>
    <res src="shortcutSpec.xml" id="shortcutSpec.xml"/>
  </resources>
  <native type="izpack" name="ShellLink.dll"/>
</installation>
Run Code Online (Sandbox Code Playgroud)

我无法编译install.xml.我究竟做错了什么 ?

我正在使用IzPack 5.0.8

sja*_*ski 5

但在文档中并不清楚

搬到:

<izpack:installation version="5.0"
                     xmlns:izpack="http://izpack.org/schema/installation"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://izpack.org/schema/installation http://izpack.org/schema/5.0/izpack-installation-5.0.xsd">
Run Code Online (Sandbox Code Playgroud)

为我修好了.