I'm having trouble using the xinclude:include syntax on SLES9 SP2.
See file extracts below.
A few questions:
1) Is the xinclude syntax is known to work on SLES9 SP2?
2) Is it possible to reference a local file in the href: ? (like
href:=/tmp/osmf.xml)
3) From the error in y2log, it seems that autoyast can't get the http
file, however if I do:
wget http://10.26.248.155/SLES9CONTROL/sles9sp2/content.xml
I get the file all right.
Any clues please?
Thanks
Yan
LOGS & FILES:
I have in the 'container' file:
<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">
and down further:
</partition>
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml" />
<partition>
The osmf.xml file:
<?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">
<install>
<partitioning config:type="list">
<drive>
<device>/dev/vg01</device>
true
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<format config:type="boolean">true</format>
osmflv
<mount>/osmf</mount>
<size>200MB</size>
</partition>
</partitions>
<pesize>4M</pesize>
<use>all</use>
</drive>
</install>
</profile>
And in y2log
2005-10-13 21:21:16 <1> linux(3737) [agent-curl]
CurlAgent.cc(Execute):210 Output:
/tmp/YaST2-03737-IAsUEr/rules/container.xml
2005-10-13 21:21:21 <1> linux(3737) [YCP] AutoInstallRules.ycp:722
Working on file: container.xml
2005-10-13 21:21:21 <1> linux(3737) [YCP] XML.ycp:113 Reading
/tmp/YaST2-03737-IAsUEr/rules/container.xml
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:2:
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 I/O
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 warning :
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 failed to load HTTP resource
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 <!DOCTYPE profile SYSTEM
"/usr/share/autoinstall/dtd/profile.dtd">
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
^
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:21:
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 parser
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 error :
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 Opening and ending tag mismatch:
partitioning line 5 and install
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 </install>
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 ^
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:22:
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 parser
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 error :
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 Opening and ending tag mismatch: install
line 4 and profile
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 </profile>
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 ^
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:23:
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 parser
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 error :
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 Premature end of data in tag profile line
3
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 ^
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 could not load
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml, and no fallback was
found
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/content.xml:2:
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 I/O
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 warning :
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 failed to load HTTP resource
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 <!DOCTYPE profile SYSTEM
"/usr/share/autoinstall/dtd/profile.dtd">
2005-10-13 21:21:21 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
^
2005-10-13 21:21:21 <3> linux(3737) [Interpreter] XML.ycp:114 Failed
while processing XIncludes
2005-10-13 21:21:21 <3> linux(3737) [Interpreter] XML.ycp:114
SCR::Read() failed
2005-10-13 21:21:21 <3> linux(3737) [Interpreter] XML.ycp:81 Argument
(contents) to Execute(...) is nil
2005-10-13 21:21:21 <3> linux(3737) [YCP] AutoInstallRules.ycp:727 Error
reading XML file
2005-10-13 21:21:21 <3> linux(3737) [bash]
ShellCommand.cc(shellcommand):73 cp: cannot stat
`/tmp/YaST2-03737-IAsUEr/base_profile.xml': No such file or directory
2005-10-13 21:21:21 <1> linux(3737) [YCP] AutoInstallRules.ycp:756
Ok=true
2005-10-13 21:21:21 <2> linux(3737) [YCP] XML.ycp:120 XML file
/tmp/YaST2-03737-IAsUEr/rules/prefinal_autoinst.xml (-1) not found
2005-10-13 21:21:21 <1> linux(3737) [YCP] Profile.ycp:98 importing
profile
2005-10-13 21:21:21 <1> linux(3737) [YCP] Profile.ycp:80 Can't detect
Profile Version
2005-10-13 21:21:21 <1> linux(3737) [YCP] AutoInstallRules.ycp:788
Checking classes...
2005-10-13 21:21:21 <3> linux(3737) [bash]
ShellCommand.cc(shellcommand):73 cp: cannot stat
`/tmp/YaST2-03737-IAsUEr/rules/prefinal_autoinst.xml': No such file or
directory
2005-10-13 21:21:21 <1> linux(3737) [YCP] AutoInstallRules.ycp:823
returns=true
2005-10-13 21:21:21 <1> linux(3737) [YCP] ProfileLocation.ycp:143
rulesret=true
2005-10-13 21:21:22 <1> linux(3737) [YCP] XML.ycp:113 Reading
/tmp/YaST2-03737-IAsUEr/autoinst.xml
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:2:
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 I/O
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 warning :
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 failed to load HTTP resource
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 <!DOCTYPE profile SYSTEM
"/usr/share/autoinstall/dtd/profile.dtd">
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
^
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:21:
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 parser
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 error :
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 Opening and ending tag mismatch:
partitioning line 5 and install
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 </install>
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 ^
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:22:
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 parser
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 error :
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 Opening and ending tag mismatch: install
line 4 and profile
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 </profile>
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 ^
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml:23:
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 parser
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 error :
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 Premature end of data in tag profile line
3
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 ^
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 could not load
http://10.26.248.155/SLES9CONTROL/sles9sp2/osmf.xml, and no fallback was
found
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
http://10.26.248.155/SLES9CONTROL/sles9sp2/content.xml:2:
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 I/O
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 warning :
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 failed to load HTTP resource
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678 <!DOCTYPE profile SYSTEM
"/usr/share/autoinstall/dtd/profile.dtd">
2005-10-13 21:21:22 <3> linux(3737) [agent-xml]
XmlAgent.cc(xmlagentError):678
^
2005-10-13 21:21:22 <3> linux(3737) [Interpreter] XML.ycp:114 Failed
while processing XIncludes
2005-10-13 21:21:22 <3> linux(3737) [Interpreter] XML.ycp:114
SCR::Read() failed