IZPACK 5.0.7 executeForPack attribute name missing

24 views
Skip to first unread message

hard...@gmail.com

unread,
Mar 15, 2016, 3:51:18 AM3/15/16
to izpack-user
Hello,
i am missing the attribute 'name' for executeForPack in the izpack-processing scheme. In ProcessPanelWorker the attribute is used to refrence the pack. I get this error:

[ant:izpack] ERROR:  'cvc-type.3.1.1: Element 'executeForPack' ist Simple Type und kann daher keine Attribute haben, mit Ausnahme der Attribute, deren Namespace-Name mit 'http://www.w3.org/2001/XMLSchema-instance' identisch ist und deren [lokaler Name] 'type', 'nil', 'schemaLocation' oder 'noNamespaceSchemaLocation' lautet. Es wurde allerdings das Attribut 'name' gefunden.'
[ant:izpack] ERROR:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: cvc-type.3.1.1: Element 'executeForPack' ist Simple Type und kann daher keine Attribute haben, mit Ausnahme der Attribute, deren Namespace-Name mit 'http://www.w3.org/2001/XMLSchema-instance' identisch ist und deren [lokaler Name] 'type', 'nil', 'schemaLocation' oder 'noNamespaceSchemaLocation' lautet. Es wurde allerdings das Attribut 'name' gefunden.'
[ant:izpack] Exception in thread "Thread-10" com.izforge.izpack.api.adaptator.XMLException: Error in file:/C:/Development/Workbench/apa/install/apaInstaller/izpack/ProcessPanel.Spec.xml at line 26, column 64 : javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: cvc-type.3.1.1: Element 'executeForPack' ist Simple Type und kann daher keine Attribute haben, mit Ausnahme der Attribute, deren Namespace-Name mit 'http://www.w3.org/2001/XMLSchema-instance' identisch ist und deren [lokaler Name] 'type', 'nil', 'schemaLocation' oder 'noNamespaceSchemaLocation' lautet. Es wurde allerdings das Attribut 'name' gefunden.
[ant:izpack] at com.izforge.izpack.ant.IzpackAntRunnable.run(IzpackAntRunnable.java:83)
[ant:izpack] at java.lang.Thread.run(Thread.java:745)


Could you fix this please, or where can i find the XSD in the source-code to fix it?


Cheers

Hardy

hard...@gmail.com

unread,
Mar 15, 2016, 4:12:02 AM3/15/16
to izpack-user
Hi again,
i create a pull request to fix this issue: https://github.com/izpack/izpack/pull/484

Cheers

Hardy

René Krell

unread,
Mar 16, 2016, 7:48:01 PM3/16/16
to izpack-user
Your pull request has been merged. Thank you.

Dne úterý 15. března 2016 9:12:02 UTC+1 hardy.rex napsal(a):
Reply all
Reply to author
Forward
0 new messages