Hi Lei,
> I am on a project which requires FI, can anyone point out some doc or
> sample or user guide ?
Joe is currently working on some samples that explain how FI can be used.
Currently FI can be used with the SAX and StAX APIs:
The SAXDocumentParser and StAXDocumentParser classes may be used to
parse a fast infoset document.
The SAXDocumentSerializer and StAXDocumentSerializer classes may be used
to parse a fast infoset document.
There is preliminary DOM support for serialization a Document to a fast
infoset document, using the DOMDocumentSerializer class, and i hope to
have parsing support added soon.
To parse a fast infoset document to produce SAX events one can do:
ContentHandler handler = <create handler>
InputStream input = new FileInputStream("<fast infoset document file>");
SAXDocumentParser parser = new SAXDocumentParser();
parser.setContentHandler(handler);
parser.parse(input);
Until we get the samples ready i may be able to help you better by
answering further questions you have on this list.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109