You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by JG Flowers <Je...@yahoo.co.uk> on 2008/03/12 21:04:10 UTC
Maven1 Project.xml. Does it have a DTD? Newbie question
Hi folks, I'm using Maven 1 to look at XDoclet. It falls over with an error
parsing an id node in the contributor section
C:\Tools\XDoclet\xdoclet-all\xdoclet\project.xml'
[exec] >> ParseError at [row,col]:[295,17]
[exec] Message: Unrecognised tag: 'id'
So it begs the question is there a DTD for project.xml files or something of
this nature
There is this weird DOCTYPE at top of document
<!DOCTYPE project [
<!ENTITY Ouml "Ö">
<!ENTITY eacute "é">
<!ENTITY oslash "ø">
]>
And it says <pom version> is 3..
Can someone point me to a guide that explains this stuff. Cheers.
--
View this message in context: http://www.nabble.com/Maven1-Project.xml.-Does-it-have-a-DTD--Newbie-question-tp16012546s177p16012546.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven1 Project.xml. Does it have a DTD? Newbie question
Posted by Lukas Theussl <lt...@apache.org>.
The maven 1 pom is explained here [1] and there is an xsd available
there [2]. As you see, id is not a valid tag for a contributor (the
developer id is an scm id, so it's pointless for a contributor), and
contrary to m1.0, the parser in maven 1.1 enforces the rules.
HTH,
-Lukas
[1] http://maven.apache.org/maven-1.x/reference/maven-model/3.0.2/maven.html
[2] http://maven.apache.org/maven-v3_0_0.xsd
JG Flowers wrote:
> Hi folks, I'm using Maven 1 to look at XDoclet. It falls over with an error
> parsing an id node in the contributor section
> C:\Tools\XDoclet\xdoclet-all\xdoclet\project.xml'
> [exec] >> ParseError at [row,col]:[295,17]
> [exec] Message: Unrecognised tag: 'id'
> So it begs the question is there a DTD for project.xml files or something of
> this nature
> There is this weird DOCTYPE at top of document
> <!DOCTYPE project [
> <!ENTITY Ouml "Ö">
> <!ENTITY eacute "é">
> <!ENTITY oslash "ø">
> ]>
> And it says <pom version> is 3..
> Can someone point me to a guide that explains this stuff. Cheers.
>
> BTW: I'm using Maven 1.1
> Here is snippet that's failing
> <contributors>
> <contributor>
> <name>Alon Salant</name>
> </contributor>
> <contributor>
> <name>Andreas "Mad" Schaefer</name>
> <id>schaefera</id>
> schaefera@users.sourceforge.net
> <organization>JBossGroup</organization>
> </contributor>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org