[wpkg-users] [Bug 229] New: Error parsing xml

Stefan Pendl stefan.pendl.71 at gmail.com
Tue Jul 19 20:55:34 CEST 2011


> 
> Recently, I've changed install command in my packages.xml. 
> But I didn't want to
> remove previous install cmd from it, so I've decided just 
> comment it out.
> But after that 'wpkg' show me error: "Error parsing xml" (see
> wpkg-02-100-tmp04.log, line 14)
> 
> I'm using wpkg 1.2
> 

This is not a problem of WPKG, but a problem of any XML parser.

Change the double hyphens in the commented text and you are fine.

For example change:

<!-- <install cmd='"%PROGRAMFILES%\WPKG\wpkginst.exe" --SETTINGSFILE=%SOFTWARE%\wpkg\settings.xml' /> -->

Into:

<!-- <install cmd='"%PROGRAMFILES%\WPKG\wpkginst.exe" -\-SETTINGSFILE=%SOFTWARE%\wpkg\settings.xml' /> -->

---
Stefan




More information about the wpkg-users mailing list