[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:
Test-Profiles:
<?xml version="1.0" encoding="UTF-8"?>
<!--Test-Profile-->
<profiles>
<!-- Windows XP -->
<profile id="TestXP">
<depends profile-id="common" />
</profile>
</profiles>
Test Hosts:
<?xml version="1.0" encoding="UTF-8"?>
<wpkg>
<!-- 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"
/>
</wpkg>
A test package:
<?xml version="1.0" encoding="UTF-8"?>
<packages
xmlns:xsi="http://www.wpkg.org/packages"
xsi:noNamespaceSchemaLocation="../xsd/packages.xsd" >
<!--Inkscape-->
<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%" />
<install
cmd=""%SOFTWARE%\inkscape\Inkscape-%version%-1.exe" /S" />
<upgrade
cmd=""%SOFTWARE%\inkscape\Inkscape-%version%-1.exe" /S" />
<remove cmd=""%PROGRAMFILES%\Inkscape\uninstall.exe"
/S" />
</package>
</packages>
> <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
Germany
Phone +49(0)551/39-177905
http://www.iza.uni-goettingen.de/
More information about the wpkg-users
mailing list