The preamble of the schema file is defined as follows:
<schema
targetNamespace="http://www.netupdate.ch/xsd/netupdate"
xmlns:netupdate="http://www.netupdate.ch/xsd/netupdate"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
From this definition it is evident that all elements must be qualified that is defined with the namespace tag
followed by the element name. Furthermore, the target namespace and the specific name space netupdate maps to
the URI http://www.sumex1.net/xsd/netupdate. Therefore, to define a correct data file the XML elements must be
defined inside the following XML code snippet:
<?xml version="1.0" standalone="no"?>
<netupdate:update
xmlns:netupdate=" http://www.netupdate.ch/xsd/netupdate "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.netupdate.ch/xsd/netupdate
netupdate_upd.xsd">
XML elements go here...
</netupdate:update>
|