[jsword-devel] XML Parsers
DM Smith
dmsmith555 at yahoo.com
Mon Feb 20 20:14:57 MST 2006
To bad. I'd have liked a simple path. Looks like 5.0 here we come
(slowly and cautiously).
Troy A. Griffitts wrote:
> From my brief stint trying to compile flashcards for j2me, I think
> you'd be hard pressed to get jsword compiled. Very basic things like
> java.util.Properties is not present. I haven't given up hope for
> flashcards, but need more time to provide basic implementations of the
> missing resources we use.
>
> -Troy.
>
>
>
> DM Smith wrote:
>> Is it at all important to be able to target hand helds (e.g. pda,
>> phone, ...)? (i.e. compile with J2ME)
>>
>> Right now we cannot, but with a few simple changes, we could have
>> jsword.jar and common.jar work on them.
>> However, IIRC we have to compile with -target 1.3 which implies
>> -source 1.3.
>> I think that if we use language features of 5.0, then we have to
>> -source 1.5.
>>
>> I agree that there are a lot of language features in 1.5 that would
>> be wins.
>>
>> Joe Walker wrote:
>>
>>>
>>> My vote would be to go with Java 5.
>>> Other wins for us with Java5:
>>> - co-variant return types - we've missed these in the past
>>> - much better UI fidelity
>>> - enums, etc, etc
>>>
>>> Joe
>>>
>>> On 2/20/06, *DM Smith* <dmsmith555 at yahoo.com
>>> <mailto:dmsmith555 at yahoo.com>> wrote:
>>>
>>> Please give me your thoughts:
>>> Background:
>>> BibleDesktop uses Java WebStart as one of its "installers" and
>>> Java
>>> 1.4 or higher.
>>> WebStart and Java 1.4 are written in such a way that the
>>> built-in
>>> xml parser cannot be replaced.
>>> Java 1.4 uses Crimson for its parser and one has to go to great
>>> lengths to replace it via a wrapper script.
>>> Java 1.5 (aka 5.0) uses Xerces for its parser and it is
>>> designed to
>>> be replaceable, even via WebStart.
>>>
>>> Opportunity:
>>> Xerces has capabilities that Crimson does not. A few of these
>>> would
>>> be genuinely useful.
>>> For example:
>>> Xerces allows the programmatic specification of a schema.
>>> (This
>>> would allow us to have a debug mode that could validate fragments
>>> against a schema.)
>>> Xerces provides the ability to get line and offset
>>> information
>>> in error reports.
>>>
>>> Do we go to Java 1.5? (At least for Java WebStart?)
>>> Do we stick with source compatibility to Java 1.4?
>>> Do we try to achieve source compatibility with Java 1.3? (This
>>> would
>>> allow us to target handhelds. We just need to replace regex and
>>> asserts.)
>>> Do we use the latest and greatest Xerces? (It adds 1,176K + 190K
>>> to the
>>> install size.)
>>>
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org <mailto:jsword-devel at crosswire.org>
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>>
>>
>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
More information about the jsword-devel
mailing list