dev@fi.java.net

Re: JAXB and of base64 data and FI

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 27 Jul 2005 12:20:03 +0200

Kohsuke Kawaguchi wrote:
>> One issue is that JAX-WS uses StAX so the FI StAX parser and
>> serializer will be used. So the source and result are not really SAX
>> based. This may make the returning of a Base64Data a little tricky as
>> we go through a pull to push layer. To encode and decode such data we
>> may need to operate closely with the StAX serializer and parser.
>>
>> For parsing we might need to do something at the level of the
>> XMLStreamReaderToContentHandler or have something specific to FI
>> related to StAX. Or can we have a FIStAXConnector?
>
>
> OK, then we'll use the unmarshal method that takes XMLStreamReader to
> pass in the FI StAX parser, then. The ordinary JAXB implementation will
> use it just as a StAX parser, while the JAXB RI will recognize it as a
> FI StAX parser.
>

OK. So i will write the FIConnector and FIXmlOutput specifically for the
FI StAX parser and serializer.


>>> If someone from the FI team can write those code, I can happy put
>>> them into the JAXB CVS repository and modify our API implementation
>>> code to hook them together.
>>
>>
>> Are you just referring to the source/result or are you including the
>> FIConnector and FIXmlOutput as well?
>
>
> The latter. I was hoping that I don't have to do it :-)
>

Thats OK, i will do it, i was just not sure what exactly you proposed to
do :-)

Paul.

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