[wpkg-users] Invalid XML structure found

Ulli Conrad ulli.conrad at bio.uni-goettingen.de
Wed Feb 1 09:12:40 CET 2012

Hi there

On 31 Jan 2012 Urs Rau wrote:

> Ulli can you post your opening and closing xml tags for the following
> documents?
> for config.xml , packages.xml , profiles.xml , hosts.xml , and a
> typical package.xml ( if you have any in their own files )

Those files (in WPKG directory on server) are the empty examples from 
the Wiki. I use files in subdirectories \hosts \packages and so on. 
Here are some (shortened) examples:


<?xml version="1.0" encoding="UTF-8"?>

  <!-- Windows XP -->
  <profile id="TestXP">
	<depends profile-id="common" />

Test Hosts:
<?xml version="1.0" encoding="UTF-8"?>
  <!-- Virtuelle Testrechner -->
  <host name="vmtxp" profile-id="TestXP" architecture="x86" />
  <host name="vmtw7de" profile-id="TestW7" architecture="x86" />
  <host name="vmtw7en" profile-id="TestW7en" architecture="x86" />
  <host name="vmtw7x64en" profile-id="TestW7x64en" architecture="x64" 

A test package:
<?xml version="1.0" encoding="UTF-8"?>
        xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >

  <package id="inkscape" name="Inkscape" revision="%version%" 
reboot="false" priority="50">
    <variable name="version" value="0.48.0" />
    <check type="uninstall" condition="exists" path="Inkscape 
%version%" />
cmd=""%SOFTWARE%\inkscape\Inkscape-%version%-1.exe" /S" />
cmd=""%SOFTWARE%\inkscape\Inkscape-%version%-1.exe" /S" />
    <remove cmd=""%PROGRAMFILES%\Inkscape\uninstall.exe" 
/S" />


> <hosts:wpkg
> ...
> </hosts:wpkg>

This looks new to me. Has the syntax changed?

Thank you

- Ulli -
Ulli Conrad
Goettingen University
Department of Zoology and Anthropology
at Schwann-Schleiden Research Center
Julia-Lermontowa-Weg 3
D-37077 Goettingen
Phone   +49(0)551/39-177905

More information about the wpkg-users mailing list