[wpkg-users] [Bug 243] Empty variable value causes crash

Stefan Pendl stefan.pendl.71 at gmail.com
Sat Oct 15 22:11:55 CEST 2011


> 
> --- Comment #1 from Rainer Meier <r.meier at wpkg.org>  ---
> I can't confirm this using the latest WPKG 1.2.1-RC22 from 
> SVN. WPKG just
> defines an empty variable if the value is set to value="". 
> But indeed it
> crashes with an exception if either name or value is not 
> defined at all.
> Actually this would be an invalid definition accoridng to 
> XSD. I've added some
> code which will bei included in WPKG 1.2.1-RC23 which will 
> print an error to
> the logs in case of invalid variable specification in the XML 
> files. It will
> ignore such invalid variables which either miss the name or 
> value attribute.
> 

Hi Rainer,

The XML file format is OK, there is nothing missing.

I did not do any XSD validation, but both properties of the variable node are present and of correct XML format.

Thanks for checking,
Stefan




More information about the wpkg-users mailing list