Copyright © 2011 Open Geospatial Consortium
35
driver name=ExificientDocumentSAX param name=description value=EXI with deflate
param name=org.w3c.exi.ttf.applicationClass value=document
driver …
5.3.1.3.3 With previous schema knowledge but without “deflate” post-compression
This mode is very close to the first one, except that we give the location of schema the first xsd including others to the algorithm. In the preparation phase, EXI will parse .xsd
files beginning by AIXM_BasicMessage.xsd, then will compute its grammar to apply for encoding or decoding. The output is bit aligned.
The configuration is in:
exi-ttfmsconfigdriverssaxexificient-schema.xml …
param name=japex.driverClass value=org.w3c.exi.ttf.candidate.exificient.ExificientSAXDriver
param name=org.w3c.exi.ttf.driver.candidateName value=Exificient 0.7 Siemens EXI Java open source impl.
driver name=ExificientSchemaSAX param name=description value=EXI with schema optimizations
but without deflate param name=org.w3c.exi.ttf.applicationClass value=schema
driver …
5.3.1.3.4 With previous schema knowledge and “deflate” post-compression
This mode is the merge of mode 2 deflate and 3 schema knowledge, the output given by mode 3 is byte aligned, then deflate plays its part. The overall output is bit aligned.
The configuration is in:
exi-ttfmsconfigdriverssaxexificient-both.xml …
param name=japex.driverClass value=org.w3c.exi.ttf.candidate.exificient.ExificientSAXDriver
param name=org.w3c.exi.ttf.driver.candidateName value=Exificient 0.7 Siemens EXI Java open source impl.
driver name=ExificientBothSAX param name=description value=EXI with schema optimizations
and deflate param name=org.w3c.exi.ttf.applicationClass value=both
driver
Copyright © 2011 Open Geospatial Consortium
36
…
5.3.2 CC++ based
5.3.2.1 CWXML
CubeWerck’s binary XML is very like Fast Info Set, except it doesn’t offer a PER encoding allowing a bit stream as output. The output is byte aligned and then offers a
good entry point for deflate. CWXML use its own linking with Zlib to invoke deflate.
CWXML uses dictionary to store strings like elements name and has a special feature to guess what is a floating point number when it encounters one and convert it to IEEE 754.
5.3.2.1.1 Without post-compression
Without deflate post-compression, CWXML can only take advantage of element name repetition and IEEE 754 serialization of floats doubles.
The configuration is in:
exi-ttfmsconfigpropertycompactioncompaction-native.xml …
driver name=CWXML neither param name=libraryPath
value={japex.exi.ttfms.candidatesDir}ccwxml param name=libraryName value=cwxml
param name=org.w3c.exi.ttf.applicationClass value=neither
param name=description value=CWXML neither driver
…
5.3.2.1.2 With GZIP post-compression
With deflate used as post-compression, the output is processed through a second pass trying to reduce redundancy.
The configuration is in:
exi-ttfmsconfigpropertycompactioncompaction-native.xml …
driver name=CWXML document param name=libraryPath
value={japex.exi.ttfms.candidatesDir}ccwxml param name=libraryName value=cwxml
param name=org.w3c.exi.ttf.applicationClass value=document
param name=description value=CWXML document driver