SLES 9: Errors in the XML DTD
Hello, I' ve just tested SLES 9 and autoyast, I' ve created a XML file with the yast tool from scratch. Bugs 1. Tools -> Create Reference Profile seems not to work, e.g. no software collection will be created. 2. Tools -> Check Validity of Profile: I don't know the error in the DTD: /tmp/YaST2-02661-GARgtP/valid.xml:70: element security: validity error : No declaration for element security </security> The following errors occur as the bootloader.dtd is incorrect, the mentioned elements 'activate' and 'repl_mbr' are missing: /tmp/YaST2-02661-GARgtP/valid.xml:91: element activate: validity error : No declaration for attribute type of element activate <activate config:type="boolean">false</activate> ^ /tmp/YaST2-02661-GARgtP/valid.xml:91: element activate: validity error : No declaration for element activate <activate config:type="boolean">false</activate> ^ /tmp/YaST2-02661-GARgtP/valid.xml:95: element repl_mbr: validity error : No declaration for attribute type of element repl_mbr <repl_mbr config:type="boolean">false</repl_mbr> ^ /tmp/YaST2-02661-GARgtP/valid.xml:95: element repl_mbr: validity error : No declaration for element repl_mbr <repl_mbr config:type="boolean">false</repl_mbr> ^ /tmp/YaST2-02661-GARgtP/valid.xml:96: element bootloader: validity error : Element bootloader content does not follow the DTD, expecting (global? , initrd_modules? , loader_device? , loader_type , location , sections?), got (activate loader_device loader_type location repl_mbr ) </bootloader> ^ Have anybody tested this piece of software before releasing it? I'm afraid of installing a system with autoyast, is it possible? _________________________________________________________________ Schluß mit Spam! http://www.msn.de/antispam/prevention/junkmailfilter Wir helfen Ihnen, unerwünschte E-Mails zu reduzieren.
Hi, Hans Kamm wrote:
Hello,
I' ve just tested SLES 9 and autoyast, I' ve created a XML file with the yast tool from scratch.
Bugs 1. Tools -> Create Reference Profile seems not to work, e.g. no software collection will be created.
This works fine for me. What exactly do you get?
2. Tools -> Check Validity of Profile:
This is an error with the DTD, it does not mean that your Profile is invalid, it means that the DTD is missing some data. The DTD is created using profiles generated by the autoyast interface, so any profile generated using the interface is automatically valid, even if it does not validate for some reason. Last minute changes in data structures, especially when creating a reference profile which list almost everything are not refelected in the DTD. An updated DTD for 9.1 and SLES9 can be downloaded from here: www.suse.de/~nashif/autoinstall/dtd-9.1.tar.bz2 Unpack the archive in /usr/share/autoinstall. Those updates will be available via YOU soon. Anas
participants (2)
-
Anas Nashif
-
Hans Kamm