You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christopher Chan <cc...@spikesource.com> on 2004/02/25 22:57:09 UTC

Problem with xsi:noNamespaceSchemaLocation="./maven-project.xsd" in maven.xml

I have the following:
<project
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="maven-project.xsd"
    default="nogoal"
    xmlns:j="jelly:core"
    xmlns:m="jelly:maven"
    xmlns:u="jelly:util"
    xmlns:ant="jelly:ant"
    xmlns:deploy="deploy">
...
</project>

But when I run maven, I get this error?  

cchan@potomac% maven  --nobanner --emacs show-info
File...... null
Element... null
Line...... -1
Column.... -1
file:/home/cchan/dev/:13:27: <project> This tag does not understand the 'noNamespaceSchemaLocation' attribute
BUILD SUCCESSFUL
Total time: 2 seconds
Finished at: Wed Feb 25 13:56:01 PST 2004

Does anybody know why this happens?  It should be a valid XML schema document..

Thanks.

Christopher Chan
email: cchan@spikesource.com
work: 650-561-0227

________________________________________________________________________
"One of the secrets of life is to make 
stepping stones out of stumbling blocks" 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org