Author: dennisl Date: Fri Oct 2 06:56:06 2009 New Revision: 820909 URL: http://svn.apache.org/viewvc?rev=820909&view=rev Log: o Use XML schema everywhere.
Modified: maven/plugins/trunk/maven-changes-plugin/src/site/apt/usage.apt.vm maven/plugins/trunk/maven-changes-plugin/src/site/changes/sample-changes.xml maven/plugins/trunk/maven-changes-plugin/src/test/resources/changes.xml maven/plugins/trunk/maven-changes-plugin/src/test/unit/announce-changes.xml maven/plugins/trunk/maven-changes-plugin/src/test/unit/changes.xml maven/plugins/trunk/maven-changes-plugin/src/test/unit/non-valid-changes.xml Modified: maven/plugins/trunk/maven-changes-plugin/src/site/apt/usage.apt.vm URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/site/apt/usage.apt.vm?rev=820909&r1=820908&r2=820909&view=diff ============================================================================== --- maven/plugins/trunk/maven-changes-plugin/src/site/apt/usage.apt.vm (original) +++ maven/plugins/trunk/maven-changes-plugin/src/site/apt/usage.apt.vm Fri Oct 2 06:56:06 2009 @@ -40,7 +40,9 @@ Here's an example of a typical <<<changes.xml>>>, showing the syntax: ------------------- -<document> +<document xmlns="http://maven.apache.org/changes/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> <properties> <title>Changes Tester Project</title> <author email="jr...@exist.com">Johnny R. Ruiz III</author> Modified: maven/plugins/trunk/maven-changes-plugin/src/site/changes/sample-changes.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/site/changes/sample-changes.xml?rev=820909&r1=820908&r2=820909&view=diff ============================================================================== --- maven/plugins/trunk/maven-changes-plugin/src/site/changes/sample-changes.xml (original) +++ maven/plugins/trunk/maven-changes-plugin/src/site/changes/sample-changes.xml Fri Oct 2 06:56:06 2009 @@ -16,7 +16,9 @@ specific language governing permissions and limitations under the License. --> -<document> +<document xmlns="http://maven.apache.org/changes/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> <properties> <title>Changes Tester Project</title> <author email="jr...@exist.com">Johnny R. Ruiz III</author> Modified: maven/plugins/trunk/maven-changes-plugin/src/test/resources/changes.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/test/resources/changes.xml?rev=820909&r1=820908&r2=820909&view=diff ============================================================================== --- maven/plugins/trunk/maven-changes-plugin/src/test/resources/changes.xml (original) +++ maven/plugins/trunk/maven-changes-plugin/src/test/resources/changes.xml Fri Oct 2 06:56:06 2009 @@ -16,7 +16,9 @@ specific language governing permissions and limitations under the License. --> -<document> +<document xmlns="http://maven.apache.org/changes/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> <properties> <title>Page title</title> <author email="vmas...@apache.org">Vincent Massol</author> @@ -26,18 +28,18 @@ <release version="2.0" date="in CVS"> <action dev="vmassol" type="update"> Blah blah blaha. - </action> + </action> </release> <release version="1.0-SNAPSHOT" date="2003-06-05" description="Sample Description"> <action dev="vmassol" type="add">Test - </action> + </action> <action dev="vmassol" type="fix" issue="JIRA-XXX"> Corrected bug blah blah. - </action> + </action> <action dev="vmassol" type="remove" due-to="John Doe" due-to-email="j...@doe.com"> Removed blah blah. - </action> + </action> </release> </body> </document> \ No newline at end of file Modified: maven/plugins/trunk/maven-changes-plugin/src/test/unit/announce-changes.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/test/unit/announce-changes.xml?rev=820909&r1=820908&r2=820909&view=diff ============================================================================== --- maven/plugins/trunk/maven-changes-plugin/src/test/unit/announce-changes.xml (original) +++ maven/plugins/trunk/maven-changes-plugin/src/test/unit/announce-changes.xml Fri Oct 2 06:56:06 2009 @@ -18,7 +18,8 @@ --> <document xmlns="http://maven.apache.org/changes/1.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> <properties> <title>Changes report Project</title> <author email="zl...@toto.com">Mr Zloug</author> Modified: maven/plugins/trunk/maven-changes-plugin/src/test/unit/changes.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/test/unit/changes.xml?rev=820909&r1=820908&r2=820909&view=diff ============================================================================== --- maven/plugins/trunk/maven-changes-plugin/src/test/unit/changes.xml (original) +++ maven/plugins/trunk/maven-changes-plugin/src/test/unit/changes.xml Fri Oct 2 06:56:06 2009 @@ -17,7 +17,9 @@ specific language governing permissions and limitations under the License. --> -<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/changes/1.0.0"> +<document xmlns="http://maven.apache.org/changes/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> <properties> <title>Changes report Project</title> <author email="zl...@toto.com">Mr Zloug</author> @@ -44,7 +46,7 @@ <fixes issue="JIRA-XXX"/> <fixes issue="JIRA-YYY"/> <dueto name="John Doe" email="j...@doe.com"/> - <dueto name="Jane Doe"/> + <dueto name="Jane Doe"/> </action> </release> </body> Modified: maven/plugins/trunk/maven-changes-plugin/src/test/unit/non-valid-changes.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/test/unit/non-valid-changes.xml?rev=820909&r1=820908&r2=820909&view=diff ============================================================================== --- maven/plugins/trunk/maven-changes-plugin/src/test/unit/non-valid-changes.xml (original) +++ maven/plugins/trunk/maven-changes-plugin/src/test/unit/non-valid-changes.xml Fri Oct 2 06:56:06 2009 @@ -18,10 +18,12 @@ under the License. --> -<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/changes/1.0.0"> +<document xmlns="http://maven.apache.org/changes/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd"> <properties> <atitle>Changes report Project</atitle> <author email="zl...@toto.com">Mr Zloug</author> </properties> - + </document> \ No newline at end of file