Mailinglist Archive: opensuse-autoinstall (99 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] verifying the profile
- From: Rich <rich@xxxxxxxxxx>
- Date: Thu, 03 May 2007 09:40:23 +0300
- Message-id: <463983D7.5040006@xxxxxxxxxx>
On 2007.05.02. 18:58, Uwe Gansert wrote:
thanks for the fast response.
after upgrading the schema package, i tried to validate my profile, which failed. then i created a fresh test profile from yast :
(lines might break badly, so i inserted extra linebreaks between them)
/usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng /var/lib/autoinstall/repository/test.xml
/var/lib/autoinstall/repository/test.xml:4: element bootloader: Relax-NG validity error : Element profile has extra content: bootloader
/var/lib/autoinstall/repository/test.xml fails to validate
--
Rich
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
On Wednesday 02 May 2007 17:28, Rich wrote:
i tried to verify a profile according to this page :
http://www.suse.com/~ug/autoyast_doc/Profile.DTD.html
this failed on sles 10 :
the XML validation on SLES10 was very broken. With SP1 it's a lot better.
If I think about it, the SP1 schema files might work on SLES10 too but I have not tried it.
You can try it if you want (might take an hour until the RPM appears and you can download it):
http://www.suse.com/~ug/yast2-schema-2.13.5-0.11.noarch.rpm
no guarantee that it will work but if it doesn't, please report that to me.
thanks for the fast response.
after upgrading the schema package, i tried to validate my profile, which failed. then i created a fresh test profile from yast :
(lines might break badly, so i inserted extra linebreaks between them)
/usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng /var/lib/autoinstall/repository/test.xml
/var/lib/autoinstall/repository/test.xml:4: element bootloader: Relax-NG validity error : Element profile has extra content: bootloader
/var/lib/autoinstall/repository/test.xml fails to validate
--
Rich
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |