[opensuse-autoinstall] verifying the profile
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 : /usr/share/YaST2/schema/autoyast/rng/partitioning.rng:263: element define: Relax-NG parser error : Some defines for label needs the combine attribute Relax-NG schema /usr/share/YaST2/schema/autoyast/rng/profile.rng failed to compile am i doing something completely incorrectly ? -- Rich -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
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. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing Agonoize - eye on you -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On 2007.05.02. 18:58, Uwe Gansert wrote:
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@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Rich
-
Uwe Gansert