Yup, I had one of these problems as well (answer below). You should be able to edit the xml file and just keep on trying the validation (annoying as you have to keep opening the xml file each time you edit it). Tip: when editing the xml file (using vi, for example) copy it somewhere else first. the autoyast GUI seems to occassionally take a dislike to manually edited xml files and then not open them at all (no error, it just does not open them). Quite frankly I am finding it better to keep the xml file small and to do most things using a post-install script. Your uid problem can easily be a one-liner in a post install script, for example. Mind you it does not seem to be all sweetness and light with post-install scripts as they seem to run in a rather odd env, that does not appear to be true sh (missing standard commands, etc.) Mike Rose TCM & Biological Physics Computer Officer http://www.bio.phy.cam.ac.uk/ http://www.tcm.phy.cam.ac.uk/ On Wed, 30 Jun 2004, J. David Eisenberg wrote:
I have used the "autoinstall" feature of YaST to create a profile, and then try to validate it. It comes back with the following errors. Shouldn't it create a valid profile, especially as I have no way of choosing the window manager. This is under SuSE 9.1 professional.
=========== /tmp/YaST2-03550-TVAnDd/valid.xml:89: element security: validity error : No declaration for element security </security> ^ /tmp/YaST2-03550-TVAnDd/valid.xml:102: element uid: validity error : No declaration for element uid <uid>1000</uid> ^ /tmp/YaST2-03550-TVAnDd/valid.xml:127: element window_manager: validity error : No declaration for element window_manager <window_manager>kde</window_manager> ^ /tmp/YaST2-03550-TVAnDd/valid.xml:128: element x11: validity error : Element x11 content does not follow the DTD, expecting (color_depth | configure_x11 | display_manager | enable_3d | monitor | resolution | start_x11)*, got (color_depth configure_x11 display_manager enable_3d monitor resolution window_manager ) </x11>
you need to change window_manager to display_manager in the start and end XML tags: <display_manager>kde</display_manager>
^
-- J. David Eisenberg http://catcode.com/
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com