2016-05-20 7 views
1

ich diese Störung erhalte, während die install.xml KompilierenIzPack Installateur, kann nicht die Erklärung des Elements finden ‚Installation

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'. 

Und mein install.xml ist

<?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> 

vermag ich nicht kompilieren die install.xml. Was mache ich falsch ?

Ich bin mit IzPack 5.0.8

Antwort

4

War in der Dokumentation aber

bewegt sich nicht klar:

<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"> 

es für mich behoben.

+0

Das herausgefunden, funktioniert jetzt gut. Danke trotzdem – Shettyh

Verwandte Themen