摘要 |
Aspects of the invention are directed to XML post-processing hardware acceleration for high-speed simple type checking (e.g., string and format checking) and whitespace collapsing. An apparatus for processing text data according to an embodiment includes a post processing engine (PPE); a set of post processing state machines coupled to the PPE; and a memory for storing text data to be processed by the set of post processing state machines; wherein the set of post processing state machines includes a whitespace handler state machine for reading text data from the memory and for applying a whitespace facet to at least 4 bytes of the text data during a clock cycle.
|