You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Skopp <sk...@riege.de> on 2003/04/14 12:08:01 UTC

Maven project Schema (with jEdit)

Hi guys,

I try to use the "project" XML Schema for project.xml validation (with
jEdit).  How does that work?
Currently I added a
"targetNamespace=http://dtd.rsidus.riege.de/maven-project" to the Schema
and used

<project 
	xmlns="http://dtd.rsidus.riege.de/maven-project"
	xs:schemaLocation="http://dtd.rsidus.riege.de/maven-project
http://dtd.rsidus.riege.de/maven-project.xsd"
	xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
>

but I get a XML parsing error:
"Components with no namespace are not referencable..."

P.S.: msv checker reports problems with the schema:
[msk@skopp asap-project]$ msv
http://dtd.rsidus.riege.de/maven-project.xsd project.xml
start parsing a grammar.
namespace "" is referenced but no schema definition of this namespace
was found.
  6:49@http://dtd.rsidus.riege.de/maven-project.xsd
failed to load a grammar.

Any clue?
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com

This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5


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