You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2005/12/07 01:19:33 UTC
svn commit: r354629 - /maven/maven-1/plugins/trunk/pom/xdocs/validation.xml
Author: ltheussl
Date: Tue Dec 6 16:19:31 2005
New Revision: 354629
URL: http://svn.apache.org/viewcvs?rev=354629&view=rev
Log:
Change order of subsections
Modified:
maven/maven-1/plugins/trunk/pom/xdocs/validation.xml
Modified: maven/maven-1/plugins/trunk/pom/xdocs/validation.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pom/xdocs/validation.xml?rev=354629&r1=354628&r2=354629&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pom/xdocs/validation.xml (original)
+++ maven/maven-1/plugins/trunk/pom/xdocs/validation.xml Tue Dec 6 16:19:31 2005
@@ -42,6 +42,18 @@
to run, you should try to validate your pom with an independent
xml validation tool first.
</p>
+ <subsection name="Namespace">
+ <p>
+ In order to be valid, your <code>project.xml</code> file needs
+ to include a namespace declaration in the project root element:
+ </p>
+ <source><![CDATA[<project xmlns="http://maven.apache.org/POM/3.0.0">]]></source>
+ <p>
+ or
+ </p>
+ <source><![CDATA[<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">]]></source>
+ </subsection>
<subsection name="Required elements">
<p>
The validation routine works differently for stand-alone
@@ -185,18 +197,6 @@
<td>No</td><td>No</td>
</tr>
</table>
- </subsection>
- <subsection name="Namespace">
- <p>
- In order to be valid, your <code>project.xml</code> file needs
- to include a namespace declaration in the project root element:
- </p>
- <source><![CDATA[<project xmlns="http://maven.apache.org/POM/3.0.0">]]></source>
- <p>
- or
- </p>
- <source><![CDATA[<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">]]></source>
</subsection>
</section>
</body>