Methods and apparatus for parsing extensible markup language (XML) data streams
Abstract
In one embodiment, a method of parsing an XML data stream comprises receiving an XML data stream containing a namespace prefix and an associated element tag name. The element tag name is associated with an element tag. The namespace prefix and the element tag name are converted into a token that uniquely represents a namespace specification that is associated with the namespace prefix and the element tag. A stack is defined and is configured to receive one or more tokens during parsing of the XML data stream. Parsing of the XML data stream is performed without requiring an XML tree structure comprising an XML document embodied by the XML data stream, to be built.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of parsing an XML data stream comprising: receiving an XML data stream containing a namespace prefix and an associated element tag name, the element tag name being associated with an element tag; converting the namespace prefix and the element tag name into a token that uniquely represents a namespace specification that is associated with the namespace prefix and the element tag; associating each token with a dictionary that contains one or more entries that are associated with a namespace specification, wherein dictionaries serve as a lookup mechanisms for tokens
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 17 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- "Fundamentals of Computer Science I, Stacks and Queues," http://www.math.grin.edu/courses/Scheme/spring-1998/stacks-and-queues.html.
- "Quick Start for SAX Application Writers", http://www.megginson.com/SAX/quickstart.html.
- "SAX Implementation of a Namespace Parser Filter" by Cowan, http://ccil.org/cowan/XML, Dec. 6, 1998.
- "What is an Event-Based Interface"; http://www.megginson.com/SAX/event.html.
- Aho; "Compliers, Compliers: Principles, Techniques, and tools"; Mar. 1998.