[izpack-devel] xinclude - can't use include from within userInputSpec.xml (in installation time)

Piotr Skowronek piotr at skowro.net
Tue Feb 5 15:17:35 CET 2008


Matthew Fudge wrote:
> Hi Piotr,
> 
> Try using the "parsexml" attribute on the "res" element. This should cause the xml in your UserInputSpec.xml to have its 
> xincludes parsed at compile time.
> 

Hi Mat,

Thanks for the hint, but it seems I have no luck today.
I've tried to add parsexml attribute to res, and compilation
failed with following exception:

Adding resource: packsLang.xml
Adding resource: CustomLangpack.xml
-> Fatal error :
    install.xml:58: Invalid input: `���' (0xffff), 
SystemID='file:/tmp/izpp45530.tmp', Line=1
com.izforge.izpack.compiler.CompilerException: install.xml:58: Invalid 
input: `���' (0xffff), SystemID='file:/tmp/izpp45530.tmp', Line=1
         at 
com.izforge.izpack.compiler.CompilerConfig.parseError(CompilerConfig.java:1911)
         at 
com.izforge.izpack.compiler.CompilerConfig.addResources(CompilerConfig.java:1378)
         at 
com.izforge.izpack.compiler.CompilerConfig.executeCompiler(CompilerConfig.java:333)
         at 
com.izforge.izpack.compiler.CompilerConfig.main(CompilerConfig.java:2229)
         at com.izforge.izpack.compiler.Compiler.main(Compiler.java:709)
Caused by: net.n3.nanoxml.XMLParseException: Invalid input: `���' 
(0xffff), SystemID='file:/tmp/izpp45530.tmp', Line=1
         at net.n3.nanoxml.XMLUtil.errorInvalidInput(XMLUtil.java:453)
         at net.n3.nanoxml.StdXMLParser.scanData(StdXMLParser.java:232)
         at net.n3.nanoxml.StdXMLParser.parse(StdXMLParser.java:194)
         at 
com.izforge.izpack.compiler.CompilerConfig.addResources(CompilerConfig.java:1335)
         ... 3 more


Regards,
Piotr


More information about the izpack-devel mailing list