The intake DTD seems to be out of sync with the codebase. The DTD has Date and DateKey, but the FieldFactory only has DateString and neither Date nor DateKey.
I don't know if the DTD is this way for backwards compatibility...if not, the attached patch (in diff -u format :-) updates it to just have DateString. If so, let me know and I could submit a patch to update FieldFactory to use Date/DateKey instead of DateString. Also, I've been browsing the Intake source code trying to track various things down (e.g. why a field of type Date was always throwing a NullPointerException in the declareGroup method :-), and if Fulcrum is going to be moved over to the Plexus, I'll gladly volunteer to refactor the Intake service (e.g. use Betwixt?) into an Avalon component, assuming I can use another Avalonized Fulcrum service as an example of what I should do. - Stephen
Index: intake.dtd =================================================================== RCS file: /home/cvspublic/jakarta-turbine-fulcrum/intake.dtd,v retrieving revision 1.1 diff -u -r1.1 intake.dtd --- intake.dtd 3 Sep 2001 17:19:23 -0000 1.1 +++ intake.dtd 24 Jun 2002 20:57:10 -0000 @@ -20,8 +20,8 @@ key CDATA #REQUIRED name CDATA #REQUIRED type ( boolean | BigDecimal | short | int | long | float - | double | BigInteger | byte | char | String | Date - | StringKey | NumberKey | DateKey | ComboKey ) "String" + | double | BigInteger | byte | char | String | DateString + | StringKey | NumberKey | ComboKey ) "String" onError CDATA #IMPLIED multiValued ( true | false ) "false" displayName CDATA #IMPLIED
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
