RE: [xml-dev] JavaScript (was Re: [xml-dev] Whither XML ?)

From
Richard Salz <>
To
Alexander Philippou <>
Date
2010-11-12T03:02:08Z
ID
<>
Thread
RE: [xml-dev] JavaScript (was Re: [xml-dev] Whither XML ?)
> No, Fast Infoset is not schema dependent (maybe you were thinking of
> EXI?).

Actually, XER more likely. :)

> If a numeric/datetime/
> boolean value is written using the methods provided by the FI API 
> (e.g. WriteValue(Double)) then the writer will select the 
> representation it considers as most efficient ...

Ah, that's a clever tweak that I don't recall from the original FI specs. 
So a writer that knows the schema can do more optimizations, but a reader 
can always decode.  Nice.

        /r$

--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/