Hi all,
Does anybody know, which format of XML file should be to make it
acceptable for XInclude?
AutoYaST complains that "Premature end of data in tag profile line 3 "
"could not load /partinfo.xml"
But same time, xmllint parsing both files fine...
I'm using following construct in autoyast.xml to get automatically
generated partition layout:
- Cut -
<?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"
xmlns:xinclude="http://www.w3.org/2001/XInclude">
<!--...... System configuration -->
<!--...... System configuration -->
</profile>
- Cut -
And layout, generated by script, is:
- Cut -
<?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"
xmlns:xinclude="http://www.w3.org/2001/XInclude">
<partitioning config:type="list">
<drive>
<device>/dev/hda</device>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
1
<create config:type="boolean">false</create>
<format config:type="boolean">true</format>
<filesystem config:type="symbol">ext2</filesystem>
<mount>/boot</mount>
</partition>
<partition>
2
<create config:type="boolean">false</create>
<format config:type="boolean">true</format>
<filesystem config:type="symbol">swap</filesystem>
<mount>swap</mount>
</partition>
<partition>
3
<create config:type="boolean">false</create>
<format config:type="boolean">true</format>
<filesystem config:type="symbol">reiser</filesystem>
<mount>/</mount>
</partition>
<partition>
5
<create config:type="boolean">false</create>
<format config:type="boolean">true</format>
<filesystem config:type="symbol">ext3</filesystem>
<mount>/localdisk</mount>
</partition>
</partitions>
</drive>
</partitioning>
</profile>
- Cut -
Where is error?
Please, do not propose to use rules - these are useless if NFS is not
accessible, unfortunately. And I not ready to make whole structure in
initrd yet.
--
Regards,
Alexander Dubinin