> From: Brett Porter Sent: Sunday, April 17, 2005 8:14 AM
> To: Maven Developers List
> Subject: Re: POM root Element: project or model?
> 

[snip]

> It's planned to provide a generated schema - however, different
> namespaces will not tend to be used inside the POM - we've looked at the
> option and preferred to keep it simple, finding no need to add them at
> this point.
> 

Yes this is not really a problem for m2 ;-)

I was just playing around with the new m2 model. For me the POM is a
repository for Metadata about a project/artifact. I want to parse the
pom.xml files and transfer them to a XTM TopicMap. For XML parsing I very
often use XMLBeans... and XMLBeans needs a schema and xml instances with a
namespace.

In the moment I have created a schema for the new m2 POM and use it with XML
Beans for parsing the POM. Before I give the XML to the parser I add a
science fiction namespace and good ;-)

Yes I know this is just my personal kismet and I can live with it ;-) but
perhaps other schema and namespace aware parsers for examples in IDE's or
Tools may have the same problem.

Just an idea and a report from working with m2. Not a criticism!

yo




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to