On 7/14/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
On 7/14/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> I can tell you from years of painful experience, supporting some JSP tag
> libraries that rendered complex output, that the golden file approach can be
> really fragile and I'd never do it again :-).  The problem we had is two
> fold:
>
> * Some changes that are innocuous in their effect on the runtime
>   (such as changing the order of attributes generated in an element)
>   will still break the golden file.  False positive error reports are never
>   a productivity enhancer :-).
>
> * If you deliberately change the output of a component, the tendency
>   of the developer is to just re-record the entire golden file, and forget
>   to examine whether some other bug was introduced (such as omitting
>   a child element or something).  We found ourselves introducing
>   new errors when this occurred, which kind of defeats the purpose.

*snip*
This means that we are not testing the order in which attributes are
written, which we shouldn't be testing, since order doesn't mean
anything.
( http://wiki.apache.org/myfaces/Trinidad_RenderKit_test_framework)

> Deliberately releasing components that don't work with the RI does not seem
> like something that will increase the market acceptance of MyFaces
> components.  Instead, this would create (or increase) a perception that
> MyFaces developers are not interested in compatibility.  Also, given the

right.

> fact that the RI has a 1.2 version available and MyFaces doesn't yet, it
> seems likely to give people a reason to consider switching away.

Nope.
Not every company is going to *swtich* to Java EE 5 only because it is
now released. From what I learned at my last job is, that big
companies are going to have *solid* base for their technology stack. I
also know from a friend that they recently switched away from Java EE
1.2 to Java EE 1.4 (or from 2 -> 4, what ever the real name is...).

Who said anything about adopting Java EE 5?  I'm talking about people considering adopting JSF 1.2.  Yes, MyFaces will have such an implementation eventually, but if people get the impression that this group only cares about compatibility with their own JSF implementation, then what's the point of implementing a standard in the first place?

Craig

Reply via email to