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