Hy, I tried to validate my autoyast file with the current dtd (/usr/share/autoinstall/dtd/profile.dtd), on both suse 10 and SLES 9, with the help of xmlint command. I just wanted to notate, that those dtd does not take in charge the "configure" and "install" element. So if you want to validate the xml autoyast file, you need to remove both of them... But then of course the autoinstall procedure does not work, with the new xml file without both of this elements. Should I open a bugzilla for this ? I may supply a patch if needed :) Output of xmllint ----------------- xmllint --valid --noout autoinst-fred.xml autoinst-fred.xml:57: element configure: validity error : No declaration for element configure </configure> ^ autoinst-fred.xml:178: element install: validity error : No declaration for element install </install> ^ autoinst-fred.xml:179: element profile: validity error : Element profile content does not follow the DTD, expecting (files | firewall | groups | inetd | ldap | mail | networking | nfs | nfs_server | nis | nisplus | nis_server | ntp-client | printer | proxy | runlevel | samba-client | samba-server | scripts | security | sound | sysconfig | tftp-server | user_defaults | users | x11 | online_update | bootloader | classes | general | lvm | partitioning | partitioning_advanced | raid | report | software)*, got (configure install ) </profile> -- Frédéric Brin Consultant Novell France
On Monday 21 November 2005 12:08, Frédéric Brin wrote:
I just wanted to notate, that those dtd does not take in charge the "configure" and "install" element. So if you want to validate the xml autoyast file, you need to remove both of them...
since 10.0 "install" and "configure" are no longer needed. Autoyast still understands what you mean by them, for compatibility with old profiles, but actually, they are no longer part of a profile.
But then of course the autoinstall procedure does not work, with the new xml file without both of this elements.
10.0 should work with or without them.
Should I open a bugzilla for this ? I may supply a patch if needed :)
yes, do that please. For the next SUSE Release we plan to switch to RNG anyway but still, please report the bug to bugzilla. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
participants (2)
-
Frédéric Brin
-
Uwe Gansert