Thanks for the feedback. I see dIon has already addressed your comments. -Peter ----- Original Message ----- From: "John Casey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 8:37 PM Subject: project.xsd unresolved/ambiguous elements
> Warning! Long email from a relative newbie follows! > > All, > > I tried to d/l and use Maven today, and after finally getting smart > enough to turn on -verbose mode with Ant, I noticed that the project.xml > for the project I was working with (Jelly) wouldn't parse. The xml was > not well-formed according to the project.xsd in the maven distro I > d/l'ed. Also, the xsd itself was not valid. After doing some more > poking around, I found the following problems / ambiguities in the > project.xsd: > > - the connection element was included in the repository complex element, > but was not defined explicitly anywhere in the xsd. > > - the version element has multiple conceptual meanings; first, it means > a CVS version with a name, id, and tag; and second, it means a version > specification attached to a dependency. > > I had other problems with the project.xml itself, but since the Jelly > project.xml didn't actually make valid use of the repository stuff, I > took out the versions/version/etc. definitions from the project.xsd, and > left the version element to mean the version level of a dependency. > BTW, while I'm sending this, can I ask a question? Why not make the > repository element a required subelement of the versions element, since > they both pertain to the same essential thing? Quite probably I'm > missing something, just thought I'd ask. > > Also, you'll see that I added the definition of the connection element, > to at least make the repository element structure valid within the .xsd > file. > > I've included the diff against the CVS copy of the project.xsd for your > perusal. I generated it using "diff -e <cvs copy> <my copy>". > > Have fun, and please let me know if I'm completely misguided. > > Thanks, > John > > > -------------------------------------------------------------------------------- > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>