[ xframe-Bugs-1333049 ] The "maven-xsddoc-plugin" project file is invalid

"SourceForge.net" <[email protected]> Thu, 20 Oct 2005 03:15:08 -0700
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Bugs item #1333049, was opened at 2005-10-20 03:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1333049&group_id=48863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: The "maven-xsddoc-plugin" project file is invalid

Initial Comment:
The following concerns all versions of "maven-xsddoc-
plugin" up-to-and-including 1.0.  

The project file "project.xml" of the Maven plugin "maven-
xsddoc-plugin" is invalid.  This breaks compatiblity with 
Maven 1.1 whose parser of project files is less tolerant.  

The parsing error concerns the "<contributor>" section 
of the "project.xml" which defines an unrecognised 
tag: "id".

Extract from "project.xml" in "maven-xsddoc-plugin": 
 
    <!-- ... -->
    <contributor>
      <!-- ... -->          
      <id>trippcr</id> <!-- TAG NOT RECOGNISED -->
      <!-- ... -->          
    </contributor>
    <!-- ... -->      

Below is a trace of the error output by the Maven 
1.1 "project.xml" parser:  

org.codehaus.plexus.util.xml.pull.XmlPullParserExceptio
n: Unrecognised tag: 'id'
 (position: START_TAG seen ...<contributor>\r\n      
<id>... @101:11)
        at 
org.apache.maven.project.io.xpp3.MavenXpp3Reader.par
seContributor(Mav
enXpp3Reader.java:444)
        at 
org.apache.maven.project.io.xpp3.MavenXpp3Reader.par
seModel(MavenXpp3
Reader.java:879)
        at 
org.apache.maven.project.io.xpp3.MavenXpp3Reader.rea
d(MavenXpp3Reader
.java:1782)
        at org.apache.maven.project.Project.<init>
(Project.java:122)
        at 
org.apache.maven.MavenUtils.getNonJellyProject
(MavenUtils.java:185)
        at org.apache.maven.MavenUtils.getProject
(MavenUtils.java:120)
        at 
org.apache.maven.plugin.JellyScriptHousing.getProject
(JellyScriptHous
ing.java:105)
        at 
org.apache.maven.plugin.PluginManager.installPlugin
(PluginManager.jav
a:915)
        at 
org.apache.maven.plugin.PluginManager.installPlugin
(PluginManager.jav
a:884)
        at 
org.apache.maven.plugin.PluginManager.processDepend
encies(PluginManag
er.java:458)
        at 
org.apache.maven.plugin.PluginManager.attainGoals
(PluginManager.java:
664)
        at org.apache.maven.MavenSession.attainGoals
(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:511)
        at org.apache.maven.cli.App.main(App.java:1258)
        at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run
(Forehead.java:551)
        at com.werken.forehead.Forehead.main
(Forehead.java:581)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454391&aid=1333049&group_id=48863


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl