About: StAX is a research topic. Over the lifetime, 27 publications have been published within this topic receiving 182 citations. The topic is also known as: Streaming API for XML.
TL;DR: A survey of four representative XML parsing models-DOM, SAX, StAX, and VTD-reveals their suitability for different types of applications.
Abstract: Parsing is an expensive operation that can degrade XML processing performance. A survey of four representative XML parsing models-DOM, SAX, StAX, and VTD-reveals their suitability for different types of applications.
TL;DR: In this paper, an improved system and method for processing XML documents combines a pull-based streaming parser such as StAX with an XML object binding framework such as XMLBeans.
Abstract: An improved system and method for processing XML documents combines a pull-based streaming parser such as StAX with an XML object binding framework such as XMLBeans. In this manner, XML documents of arbitrary size can be processed without being subject to memory limitations. In addition, various embodiments of the present invention provide a framework that insulates application code from StAX and XMLBeans. Appli-cation data objects need not be aware of StAX and XMLBeans. Code can thereby be more easily maintained, and can be swapped, enhanced, or other-wise modified without adversely impacting the operation of applications.
TL;DR: This paper describes how to use conventional compiler construction tools, and parser generators in particular, to build XML driven application generators, and illustrates the approach with an XML-driven generator of shortest-route search applications in subway networks.
Abstract: This paper describes how to use conventional compiler construction tools, and
parser generators in particular, to build XML driven application generators.
In our approach, the document interface is provided by a standard
stream-oriented XML processing framework (e.g., SAX or StAX). This framework
is used to program a generic, customizable XML scanner that transforms
documents into streams of suitable tokens (opening and closing tags,
character data, etc.). The next step is to characterize the syntactic
structure of these streams in terms of generation-specific context-free
grammars. By adding suitable semantic attributes and semantic actions to
these grammars, developers obtain generation-oriented translation schemes:
high-level specifications of the generation tasks. These specifications are
then turned into working application generators by using standard parser
generation technology. We illustrate the approach with , an
XML-driven generator of shortest-route search applications in subway
networks.