I appear to be running into a lot more problems than I originally thought. At this point, the only external file I appear to be able to parse is Bootloader instructions and <package>. Beyond that, everything appears to be getting ignored. Is there some special magic to getting classes to work that has yet to make it into http://www.suse.de/~ug/autoyast_doc/index.html ? On Aug 25, 2007, at 1:30 AM, Michael T. Halligan wrote:
So it appears that if in the Software.xml file I surround the <software> with :
<?xml version="1.0"?> <!DOCTYPE autoinstall SYSTEM "/usr/share/autoinstall/dtd/classes.dtd"> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
</autoinstall>
That the problem goes away.. I only ran into this problem with <software> .. Perhaps this bug needs to be documented?
On Aug 25, 2007, at 1:15 AM, Michael T. Halligan wrote:
I'm attempting to normalize our library of AutoYaST XML files, and am running into some problems
Here's how I'm calling the class in my autoinst.xml file :
<classes config:type="list"> <class> <class_name>Database</class_name> <configuration>Files.xml</configuration> <configuration>Software.xml</configuration> </class> </classes>
Here's the file in classes/Database : <software> <packages config:type="list"> <package>findutils-locate</package> <package>perl-Net-SNMP</package> <package>rcs</package> <package>seccheck</package> <package>net-snmp</package> <package>freetype2-devel</package> <package>openssl-devel</package> <package>freetype2</package> <package>freetype2-devel</package> <package>xorg-x11-devel</package> <package>fontconfig-devel</package> <package>libmcrypt</package> <package>gd-devel</package> <package>libpng-devel</package> <package>compat-curl2</package> <package>curl</package> <package>curl-devel</package> </packages> <patterns config:type="list"> <pattern>base</pattern> <pattern>Basis-Devel</pattern> </patterns> </software>
Here's the error I get on the console when attempting to install with this:
Software.xml:2: namespace error : Namespace prefix config for type on packages is not defined <packages config:type="list"> ^ Soft.xml:21: namespace error : Namespace prefix config for type on patterns is not defined <patterns config:type="list"> ^
What am I doing wrong here? I followed Uwe's documentation verbatim. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall +help@opensuse.org
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org