You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by John Casey <jd...@commonjava.org> on 2008/07/24 23:27:22 UTC

Critical flaw in Modello XPP3 strict-mode handling

Hi,

The issues MNG-3680 and MODELLO-112 describe a problem with the 
strict-flag handling where associations are concerned. Essentially, 
modello is ignoring the value of the strict flag when content within an 
association list is invalid, and throwing an XmlPullParserException 
regardless.

I've corrected this, and closed MODELLO-112. However, for backward 
compatibility reasons Maven 2.0.10 requires this fix.

Does anyone have an objection to releasing a new version of Modello (or 
rather, the Modello XPP3 Plugin) to address this issue? We could call it 
1.0-alpha-19.1 if necessary, and adjust the plugin-level dependencies in 
the Maven POM accordingly, if the other Modello developers don't think 
this issue is worth a whole -alpha-20 release.

WDYT?

-john
-- 
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.ejlife.net/blogs/buildchimp/

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


Re: Critical flaw in Modello XPP3 strict-mode handling

Posted by Jesse McConnell <je...@gmail.com>.
I am +1 this...it is very much needed for 2.0.10

jesse

On Thu, Jul 24, 2008 at 4:27 PM, John Casey <jd...@commonjava.org> wrote:
> Hi,
>
> The issues MNG-3680 and MODELLO-112 describe a problem with the strict-flag
> handling where associations are concerned. Essentially, modello is ignoring
> the value of the strict flag when content within an association list is
> invalid, and throwing an XmlPullParserException regardless.
>
> I've corrected this, and closed MODELLO-112. However, for backward
> compatibility reasons Maven 2.0.10 requires this fix.
>
> Does anyone have an objection to releasing a new version of Modello (or
> rather, the Modello XPP3 Plugin) to address this issue? We could call it
> 1.0-alpha-19.1 if necessary, and adjust the plugin-level dependencies in the
> Maven POM accordingly, if the other Modello developers don't think this
> issue is worth a whole -alpha-20 release.
>
> WDYT?
>
> -john
> --
> John Casey
> Developer, PMC Member - Apache Maven (http://maven.apache.org)
> Blog: http://www.ejlife.net/blogs/buildchimp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



-- 
jesse mcconnell
jesse.mcconnell@gmail.com

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


Re: Critical flaw in Modello XPP3 strict-mode handling

Posted by Jason van Zyl <ja...@maven.org>.
+1
go for it.

On 24-Jul-08, at 5:27 PM, John Casey wrote:

> Hi,
>
> The issues MNG-3680 and MODELLO-112 describe a problem with the  
> strict-flag handling where associations are concerned. Essentially,  
> modello is ignoring the value of the strict flag when content within  
> an association list is invalid, and throwing an  
> XmlPullParserException regardless.
>
> I've corrected this, and closed MODELLO-112. However, for backward  
> compatibility reasons Maven 2.0.10 requires this fix.
>
> Does anyone have an objection to releasing a new version of Modello  
> (or rather, the Modello XPP3 Plugin) to address this issue? We could  
> call it 1.0-alpha-19.1 if necessary, and adjust the plugin-level  
> dependencies in the Maven POM accordingly, if the other Modello  
> developers don't think this issue is worth a whole -alpha-20 release.
>
> WDYT?
>
> -john
> -- 
> John Casey
> Developer, PMC Member - Apache Maven (http://maven.apache.org)
> Blog: http://www.ejlife.net/blogs/buildchimp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more  
examples
you look at, the more general your framework will be.

   -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks


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