https://bugs.kde.org/show_bug.cgi?id=320775
--- Comment #16 from Christopher Yeleighton <giecrilj at stegny.2a.pl> --- The protocol ghelp is implemented via an input slave. An input slave generates document content as a character stream (actually, it is a material character array, which is why KDE Help Centre is so slow). The slave generates calling an external library to perform the transformation. The result of the observation used by the slave is not a character stream though; it is a document (TODO: it should be a stream of XML events instead). The document internally contains a tree of nodes. A tree is an in-memory structure with nodes containing pointers to other nodes; in particular, this representation does not live in a contiguous memory block and cannot be directly stored or sent over the pipeline (wire). All XML documents are built from pointers to objects arranged in a hierarchical way; the objects have a well-defined common interface you can rely upon; this is called the Document Object Model, which is what the acronym DOM stands for. The input slave examines the document returned by the library and generates its textual representation which it sends back to the client. -- You are receiving this mail because: You are the assignee for the bug.
