[opensuse-autoinstall] Re: [suse-autoinstall] Please include the right DTDs in SuSE 10.2
On Wed, Dec 06, 2006 at 09:13:54AM +0100, Uwe Gansert wrote:
autoyast no longer uses DTDs but RNG files (they are created from RNC files which are human readable). http://www.suse.de/~ug/autoyast_doc/Profile.DTD.html The RNG files are in /usr/share/YaST2/schema/autoyast/rng They are a lot better than the DTDs were but I'm afraid, they are still not complete. I hope we will have them complete on SLES10 SP1
I just tried that, but I get errors, even on the minimal autoyast configuration I used as test.xml: -- begin test.xml -- ?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <partitioning config:type="list"> <drive> <use>all</use> </drive> </partitioning> <software> <base>default</base> </software> <users config:type="list"> <user> <encrypted config:type="boolean">false</encrypted> <user_password>myrootpassword</user_password> <username>root</username> </user> </users> </profile> -- end test.xml -- and got by running on 10.2 RC1 host (similiar also on a 9.1): /usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng test.xml test.xml:4: element partitioning: Relax-NG validity error : Element profile has extra content: partitioning test.xml fails to validate Similiar errors I have on my current configuration but my first tag <nis> then. I would expect that the <base>-tag in <software> is now wrong (with 10.2), but not that partitioning is wrong. Any help appreciated. Maybe the DOCTYPE is not very consistent with the above scheme. Greetings, David -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Wednesday 06 December 2006 18:28, David Werner wrote:
I just tried that, but I get errors, even on the minimal autoyast configuration
<software> <base>default</base> </software>
base is not allowed on a 10.2 you have to use patterns like on SLES10 now
and got by running on 10.2 RC1 host (similiar also on a 9.1):
the RNG files on RC1 were still very broken On RC5 your profile validates (after removing the <base> which is really not allowed) -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thu, Dec 07, 2006 at 09:14:36AM +0100, Uwe Gansert wrote:
On Wednesday 06 December 2006 18:28, David Werner wrote:
I just tried that, but I get errors, even on the minimal autoyast configuration
<software> <base>default</base> </software>
base is not allowed on a 10.2 you have to use patterns like on SLES10 now
and got by running on 10.2 RC1 host (similiar also on a 9.1):
the RNG files on RC1 were still very broken On RC5 your profile validates (after removing the <base> which is really not allowed)
I did it with the GM DVD Edition of 10.2 (i586). I assume GM should more advanced then RC5. It does not and I get many strange errors, whatever I try, but cannot validate anything. The smallest example did not pass. Rng-Files and xmlint are installed. Can you please post example of a xml-profile which passes the command from the Documentation? /usr/bin/xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng myAutoYaSTProfile.xml Greetings, David -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Wednesday 13 December 2006 00:55, David Werner wrote:
I did it with the GM DVD Edition of 10.2 (i586). I assume GM should more advanced then RC5.
RC5 == GM
Can you please post example of a xml-profile which passes the command from the Documentation?
arbitrary example attached. The RNG files are still not complete and sometimes broken but a lot better than the old DTDs in the current state. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing Diorama - The Girls
On Wed, Dec 13, 2006 at 02:45:10PM +0100, Uwe Gansert wrote:
On Wednesday 13 December 2006 00:55, David Werner wrote:
I did it with the GM DVD Edition of 10.2 (i586). I assume GM should more advanced then RC5.
RC5 == GM
Can you please post example of a xml-profile which passes the command from the Documentation?
arbitrary example attached.
Thanks a lot. Your example validates. Mine (even of minimal type) currently not. But it is easier to me to have some (surely) working thing to look at an go through my things step by step. It was not the situation that only some tags did not work, but almost all, maybe some very basic error is in. I'll now look. I'm sorry to give that late some answer. Greetings, David
The RNG files are still not complete and sometimes broken but a lot better than the old DTDs in the current state.
-- ciao, Uwe Gansert -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
David Werner
-
Uwe Gansert