vocabulary tables

View: New views
3 Messages — Rating Filter:   Alert me  

vocabulary tables

by samitha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I dont have a clear idea about vocabulary tables? could somebody explain. thanks

Re: vocabulary tables

by Oleksiy Stashok :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Samitha Kumara,

in common vocabulary tables are used to index infoset string/char data.
Then the indexes will be used during data encoding/decoding to make
encoding/decoding process faster decrease serialized infoset size.

WBR,
Alexey.


samitha kumara wrote:
> I dont have a clear idea about vocabulary tables? could somebody
> explain. thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: vocabulary tables

by Paul Sandoz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Samitha

samitha kumara wrote:
> I dont have a clear idea about vocabulary tables? could somebody
> explain. thanks

Apologies for the late reply...


samitha kumara wrote on the forum:
> well i think i have finally found the answer. vocabulary tables are
> tables like hash tables. say we want to make a fast infoset out of an
> xml document. then we read each tag. at the first time it appear we
> give it an index . both value and index are store in a table called
> vocabulary table.(there are additionla encoding stuff come in to
> action). the bottom line is this. so any further question please ask.
>

That is right. From the perspective of the encoder they are hash tables
from the perspective of the decoder they are array tables.

There are a bunch of tables for different types of information (local
name, attribute II, element II, namespace URI, namespace prefix. This
can reduce the search space and the size of table indexes that are encoded.

After a fast infoset document is parsed there will be (conceptually) a
final vocabulary that represents all the table entries created while
parsing (same applies after encoding an XML infoset to a fast infoset
document).

Paul.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price