I've created a xml fiole with eclipse.
When eclipse check the format of the xml file, eclipse get an error.
The file created is:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE install SYSTEM "home/lmassa/Desktop/component-install.dtd" >
<install type="component" version="">
<name>name</name>
<creationDate>creationDate</creationDate>
<author>author</author>
<authorEmail>authorEmail</authorEmail>
<authorUrl>authorUrl</authorUrl>
<copyright>copyright</copyright>
<license>license</license>
<version>version</version>
<description>description</description>
<installfile>installfile</installfile>
<uninstallfile>uninstallfile</uninstallfile>
<install type="component" version="">
<name>name</name>
<creationDate>creationDate</creationDate>
<author>author</author>
<authorEmail>authorEmail</authorEmail>
<authorUrl>authorUrl</authorUrl>
<copyright>copyright</copyright>
<license>license</license>
<version>version</version>
<description>description</description>
<installfile>installfile</installfile>
<uninstallfile>uninstallfile</uninstallfile>
<uninstall>
<sql>
<file charset="utf8" driver="nmtoken">file</file>
</sql>
</uninstall>
<files folder="">
<filename>filename</filename>
</files>
<languages folder="">
<language tag="">language</language>
</languages>
<media destination="" folder="">
<filename>filename</filename>
</media>
<administration>
<menu act="nmtoken" controller="nmtoken" img="" layout="nmtoken" link="" sub="nmtoken" task="nmtoken" view="nmtoken">menu</menu>
</administration>
<params>
<param addParameterDir="" class="nmtoken" client="nmtoken" cols="nmtoken" default="" description="" directory="" exclude="" filter="" hide_default="nmtoken" hide_none="nmtoken" id="nmtoken" label="" menu_type="nmtoken" name="nmtoken" rows="nmtoken" scope="nmtoken" section="nmtoken" size="nmtoken" state="nmtoken" stripext="" type="nmtoken">
<option value="">option</option>
</param>
</params>
</install>
<uninstall>
<sql>
<file charset="utf8" driver="nmtoken">file</file>
</sql>
</uninstall>
<files folder="">
<filename>filename</filename>
</files>
<languages folder="">
<language tag="">language</language>
</languages>
<media destination="" folder="">
<filename>filename</filename>
</media>
<administration>
<menu act="nmtoken" controller="nmtoken" img="" layout="nmtoken" link="" sub="nmtoken" task="nmtoken" view="nmtoken">menu</menu>
</administration>
<params>
<param addParameterDir="" class="nmtoken" client="nmtoken" cols="nmtoken" default="" description="" directory="" exclude="" filter="" hide_default="nmtoken" hide_none="nmtoken" id="nmtoken" label="" menu_type="nmtoken" name="nmtoken" rows="nmtoken" scope="nmtoken" section="nmtoken" size="nmtoken" state="nmtoken" stripext="" type="nmtoken">
<option value="">option</option>
</param>
</params>
</install>