[Bug 300028] New: autoyast validation schema (profile. rng in yast2-schema RPM) is completely broken
https://bugzilla.novell.com/show_bug.cgi?id=300028 Summary: autoyast validation schema (profile.rng in yast2-schema RPM) is completely broken Product: SUSE Linux 10.1 Version: Final Platform: x86-64 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: AutoYaST AssignedTo: ug@novell.com ReportedBy: Patrick.LoPresti@kla-tencor.com QAContact: qa@suse.de Found By: Customer 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! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=300028#c1
Uwe Gansert
participants (1)
-
bugzilla_noreply@novell.com