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

Matthew Fudge matfud at yahoo.com
Tue Feb 5 16:23:40 CET 2008


This is what I was talking about yesterday.



The SystemID is being set incorrectly to "file:/tmp/izpp45530.tmp" when 
it should be set to the location of the actual include.xml file I'm not 
sure when this change occurred (but I know it used to work).



I'm a bit to busy to fix it at the moment. You might want to look at it 
(I don't think its a big fix)







Cheers



Matt


----- Original Message ----
From: Piotr Skowronek <piotr at skowro.net>
To: izpack-devel at lists.berlios.de
Sent: Tuesday, 5 February, 2008 2:17:35 PM
Subject: Re: [izpack-devel] xinclude - can't use include from within userInputSpec.xml (in installation time)

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
_______________________________________________
izpack-devel 
mailing 
list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel





      ___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/


More information about the izpack-devel mailing list