Mailinglist Archive: opensuse-autoinstall (67 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] xmllint autoinst.xml
- From: Lars Stavholm <stava@xxxxxxxxxxx>
- Date: Thu, 05 Apr 2007 13:34:27 +0200
- Message-id: <4614DEC3.80108@xxxxxxxxxxx>
Uwe Gansert wrote:
> On Tuesday 03 April 2007 10:37, Lars Stavholm wrote:
>
>> Is the following supposed to work?
>>
>> % xmllint --noout --relaxng \
>> /usr/share/YaST2/schema/autoyast/rng/profile.rng autoinst.xml
>
> yes, that should work.
> But because you ask, I assume you have hit a problem with that? :)
> SUSE Linux version?
openSUSE 10.2.
I get:
% xmllint --noout --relaxng \
/usr/share/YaST2/schema/autoyast/rng/profile.rng autoinst.xml
autoinst.xml:4: element bootloader: Relax-NG validity error : Element
profile has extra content: bootloader
autoinst.xml fails to validate
In my autoinst.xml, the boot loader section is the first section
under <profile>, then comes <scripts> etc. If I remove the boot
loader section, xmllint will complain about the next section,
<scripts>, If I remove <scripts>, it will complain about the
next section, <firewall>, etc.
I'm obviously doing something wrong here?
Please advice
/Lars
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
> On Tuesday 03 April 2007 10:37, Lars Stavholm wrote:
>
>> Is the following supposed to work?
>>
>> % xmllint --noout --relaxng \
>> /usr/share/YaST2/schema/autoyast/rng/profile.rng autoinst.xml
>
> yes, that should work.
> But because you ask, I assume you have hit a problem with that? :)
> SUSE Linux version?
openSUSE 10.2.
I get:
% xmllint --noout --relaxng \
/usr/share/YaST2/schema/autoyast/rng/profile.rng autoinst.xml
autoinst.xml:4: element bootloader: Relax-NG validity error : Element
profile has extra content: bootloader
autoinst.xml fails to validate
In my autoinst.xml, the boot loader section is the first section
under <profile>, then comes <scripts> etc. If I remove the boot
loader section, xmllint will complain about the next section,
<scripts>, If I remove <scripts>, it will complain about the
next section, <firewall>, etc.
I'm obviously doing something wrong here?
Please advice
/Lars
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |