On 10/12/2014 8:33 PM, Alexandre Rafalovitch wrote:
> Thanks Jack, this makes sense for text.
> 
> But what about for the ints, dates, and floats? The package web page
> does not seem to say anything. And your book (at least in my release
> 7) is also only talking about the text field. Yet, we seem to have a
> need to define the value (still as zero) in the schema.xml!

I don't think it needs to be defined, but it can be thought of as
helpful to explicitly state a value in the example even if that value is
in fact the default, so a new user doesn't have to wonder what the value
is on those field types.

After we verify that it is in fact unnecessary, I think you'd probably
agree that it would be more useful to add something to the comments in
schema.xml about what the default increment is, rather than explicitly
include it in the example definitions where it's not necessary.

My production schema probably includes the unnecessary parameter, but I
haven't looked at it for a while.

Thanks,
Shawn

Reply via email to