Bugzilla – Bug 300028
autoyast validation schema (profile.rng in yast2-schema RPM) is completely broken
Last modified: 2007-09-14 11:20:08 UTC
Following a fresh install of SUSE Linux Enterprise Server 10 SP1, the ~root/autoyast.xml file fails to validate: localhost:~ # xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng autoinst.xml autoinst.xml:4: element add-on: Relax-NG validity error : Element profile has extra content: add-on autoinst.xml fails to validate A similar error appears in the autoyast GUI if you open the autoyast.xml file and then attempt to save it. Or indeed if you save any file whatsoever from the Autoinstallation GUI. The problem is that the profile.rng file in the yast2-schema-2.13.5-0.13 package is obsolete. It expects various tags -- like "<add-on>" and "<bootloader>" -- to appear inside an "<install> ... </install>" section. But according to the AutoYast documentation (http://www.suse.com/~ug/autoyast_doc/Profile.Format.html), the <install> section is deprecated as of SUSE Linux 10.0. Therefore this is a bug in the yast2-schema package in SLES 10 SP1. And it renders the validator useless, since even valid files created during installation (or from the Autoinstallation GUI, or manually with a text editor) always fail validation. Please update the yast2-schema package to correct this bug. Thank you!
*** This bug has been marked as a duplicate of bug 211014 ***