Mailinglist Archive: opensuse-autoinstall (70 mails)
| < Previous | Next > |
[opensuse-autoinstall] Re: [suse-autoinstall] Please include the right DTDs in SuSE 10.2
- From: David Werner <david.werner@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Dec 2006 18:28:31 +0100
- Message-id: <20061206172830.GA25119@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
> 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |