[wpkg-users] Error parsing xml / not well formed
Waldemar Vanagas
waldemarvanagas at googlemail.com
Thu Jul 5 14:35:40 CEST 2012
= Error parsing xml =
Hello highly valued wpkg-users,
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
>
The WPKG Client is not involved, cause we sync via cmd.
This is how it happened:
We started an elevated cmd with admin rights and started sync with a script
following syntax:
cscript \\servername\WPKG\wpkg.js /debug /synchronize |more
>
The profiles.xml contains:
<?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>
>
> <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>
>
We took the variable section above of this code from:
Link<http://lists.wpkg.org/pipermail/wpkg-users/2012-February/008643.html>;
Background: We had a problem with variables (%SOFTWARE%) and the sync
ran
only with hard code.
Sync-process ran.
Error appeared:
Error parsing xml '//nmdata/wpkg/profiles.xml': Das Stylesheet enthält kein
Dokumentelement. Das Stylesheet ist möglicherweise leer, oder es ist kein
wohlgeformtes XML-Dokument."
Error appeared: "No root element found in '//
199.99.199.199/wpkg/profiles.xml
Q: -> Why is it not well formed? No Syntax Error in PSPAD Editor... All
Braclets in the xml above are closed A.F.A.I.K..
What we did so far to solve the problem with the XML Error:
Even after replacing the profiles.xml to the default profiles.xml (the
preconfigured one in the installer binaries ) the ERROR STILL REMAINS!!!
Do I have to make a (clean) reinstall? What causes the Problem?
Did anyone had a problem like this? Who can help or contribute an idea? I
would be very grateful.
Best regards, Waldemar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120705/245f84a4/attachment-0001.html>
More information about the wpkg-users
mailing list