[wpkg-users] Error parsing xml / not well formed

Stefan Pendl stefan.pendl.71 at gmail.com
Fri Jul 6 08:23:55 CEST 2012


Am 05.07.2012 14:35, schrieb Waldemar Vanagas:
>
> we use the actual release 1.3.0. of wpkg-gp on a Server 2003 R2. After
> tweaking the profile.xml we allways get the following syntaxerror
>
>     Error parsing xml - Not well formed
>

Make sure to use an XML editor, which allows verification of the 
XML-file, like XML-Pad or NotePad++.

You can't mix old and new nodes and omit the end tag of the new node, 
see the corrected XML-file below.


'---code start (watch for line wraps)

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

<profiles:profiles xmlns:profiles="http://www.wpkg.org/profiles" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/profiles ../xsd/profiles.xsd">

<!-- <profiles> this must be removed -->

    <profile id="umgebung">
      <variable name="SOFTWARE" value="\\199.99.199.199\WPKG\Software"/>
      <variable name="WPKGROOT" value="\\199.99.199.199\WPKG"/> 

    </profile>

    <profile id="default">
      <depends profile-id="umgebung" />
       <package package-id="firefox"/>
       <package package-id="dia"/>
    </profile>

<!-- </profiles> this must be removed -->

</profiles:profiles> <!-- this must be added -->

'---code end

--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?





More information about the wpkg-users mailing list