Skip to main content

Fast Infoset & J2ME

1 reply [Last post]
skjolber
Offline
Joined: 2005-08-03
Points: 0

Hi, I hope this forum still is active. I'm looking at using Fast Infoset with J2ME via StAX - which in the JSR-173 spec (sect 4.12) is limited to the interfaces:

javax.xml.stream.XMLStreamWriter
javax.xml.stream.XMLStreamException
javax.xml.stream.Location
javax.xml.stream.XMLStreamConstants

Now, looking at the source FI source code, it uses classes that do not exist in microjava's CLDC.

Theese are:

- Vector/Hashtable-like classes: Map, List, ArrayList, HashMap

- some Exceptions

- Regex expressions / evaluation - used in the com.sun.xml.fastinfoset.algorithm package, it seems for searching for a delimiter

- more ?

Now, I HOPE that most of theese problems are straight-forward to solve and I would like to do so in understanding with the original authors of the code.

Where do I go from here?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sandoz
Offline
Joined: 2003-06-20
Points: 0

Hi,

As coincidence would have it a fork of the J2SE fast infoset (FISE) StAX implementation has been committed to the fi project workspace. This is called FIME and it is planned to modify the code to be more suitable for J2ME.

Ias (Changshin Lee) has been responsible for this, as part of the larger work for Web services on J2ME.

I suggest we conduct some dicussions over email on dev@fi.dev.java.net (you need to subscribe) to see how we can all work together on this.

Paul.