<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Guys,</div>
<div><br>
</div>
<div>I got xml validation working using the xsd files for all other wpkg xml files, but am not able to figure out the correct syntax for the config.xml file to get validation working.</div>
<div><br>
</div>
<div>If I use the config.xml as distributed I get validation errors as soon as I uncomment any of the "param" lines in the sample file.</div>
<div><br>
</div>
<div>My working (!) wpkg config.xml file below gives me a validation error for each "param" I have set.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<blockquote type="cite">
<div><font class="Apple-style-span" color="#000000"><config xmlns="<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>"</font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span>xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" </font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span>xsi:schemaLocation="<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a> xsd/config.xsd"<span class="Apple-tab-span" style="white-space:pre">
</span></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span>xsi:noNamespaceSchemaLocation="xsd/config.xsd"> <!-- line needed for validation in Notepad++ --></font></div>
</blockquote>
<br>
</div>
<div>< cut some > </div>
<div><br>
</div>
<div>
<blockquote type="cite"><font class="Apple-style-span" color="#000000"><param name='logLevel' value='0x15' /></font></blockquote>
<br>
</div>
<div>< cut some more ></div>
<div><br>
</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><languages></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><!-- English LCIDs --></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><language lcid="409,809,c09,2809,1009,2409,3c09,4009,3c09,4009,3809,1809,2009,4409,1409,3409,4809,1c09,2c09,3009"></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><!-- <string id="notifyUserStart">The automated software installation utility has or is currently applying software updates to your system. Please
check the time shown at the beginning of this message to determine if it is out of date. If not, please save all your open documents, as the system might require a reboot. If so, the system will be rebooted with no prompt when installation is complete. Thank
you.</string> --></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><string id="notifyUserStart">Automatic software deployment is currently updating your system. Plase safe all your documents as the the system might
reboot without further notice. Thank you.</string></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><string id="notifyUserStop">The automated software installation utility has completed installing or updating software on your system. No reboot was
necessary. All updates are complete.</string></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><string id="notifyUserFail">The software installation has failed.</string></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span><string id="notifyUserReboot">Rebooting to complete software installation. Please note that some software might not work until the machine is rebooted.</string></font></div>
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span></language></font></div>
<div><font class="Apple-style-span" color="#000000"><br>
</font></div>
</blockquote>
<div><br>
</div>
<br>
< cut out some > </div>
<div><br>
</div>
<div><br>
<blockquote type="cite">
<div><font class="Apple-style-span" color="#000000"><span class="Apple-tab-span" style="white-space:pre"></span></languages></font></div>
<div><font class="Apple-style-span" color="#000000"></config></font></div>
</blockquote>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div><font class="Apple-style-span" color="#000000">Validation of current file using XML schema:</font></div>
<div><font class="Apple-style-span" color="#000000"><br>
</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'name': The attribute 'name' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}param', attribute 'value': The attribute 'value' is not allowed.</font></div>
<div><font class="Apple-style-span" color="#000000">ERROR: Element '{<a href="http://www.wpkg.org/config">http://www.wpkg.org/config</a>}languages': This element is not expected</font></div>
</blockquote>
<div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>-- </div>
<br class="Apple-interchange-newline">
<span></span><span><img height="116" width="450" id="8c964721-bab6-4024-a817-8a6c47b05ca9" apple-width="yes" apple-height="yes" src="cid:534A0F89-E2B7-49F8-9384-0FE0A99757DA@uk.om.org"></span>
</div>
</span></div>
</div>
</div>
</div>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Operation Mobilisation (OM) - a company limited by guarantee - The Quinta, Weston Rhyn, Oswestry, SY10 7LT, United Kingdom<br>
Company reg no: 2564320 (England & Wales) - Charity reg. no: 1008196 (England & Wales) - SC040988 (Scotland)<br>
Web: http://www.uk.om.org<br>
</font>
</body>
</html>