dev@jaxb.java.net

Integration of FI in JAXB

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 07 Aug 2006 17:00:35 +0200

Hi,

I am experimenting with performance improvements to FI integration into
JAXB.

In the latest FI code case there are the standard FI StAX
parsers/serializers and the Enchanced FI parsers/serializers. The latter
depend on an enhanced implementation of the former.

In the JAXB 2.1 code base there are the standard FI XMLSerializer and
StAXConnector implementations and the Enhanced ones. The JAXB runtime
will decide on what to use based on whether the standard or enhanced
StAX parsers/serializers are present.

The reason for this approach is that i wanted to provide some backwards
compatibility so that JAXB could be used with older implementations of FI.

This approach seemed good when it was in my head but now see it in
practice i really do not like it, so a general question: is it
reasonable for JAXB 2.1 to depend on FI 1.2 and above for optimal FI
integration?
(BTW JAXB can always fall back to the non-optimal mode)

If so i can remove this enhanced stuff and cut a 1.2 branch. This would
make things very easy, since nothing changes except version dependencies.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109