System and method for XML parsing
AssigneeBEA Systems, Inc.
InventorChris Fry
Life of this patent
Estimating the term…
Abstract
Broad XML support is obtained through use of a set of streaming parser APIs. An application or client needing access to an XML document can contact an XML parser, XML processor, or XML reader in order to gain access to the document. The XML processor selects and instantiates a streaming parser API that is appropriate for the XML document and the client or application. Streaming parser APIs include raw streaming parser APIs, non-validating streaming parser APIs, and validating streaming parser APIs. The XML parser can then provide a variety of types of access to the application or client that does not require the entire document to be read into memory, including providing an XML stream, pulling XML information, and skipping unwanted XML from the document.
Claims14
A system for parsing an XML document, comprising:
- a raw streaming parser API for providing non-validating access to an XML document;
- a non-validating streaming parser API for reading information for the XML document and using that information to provide access to an XML document;
- a validating streaming parser API for reading information for the XML document and using that information to validate and provide access to the XML document;
- and
- means for selecting one of said raw streaming parser API, said non-validating streaming parser API, and said validating streaming parser API in order to provide access to, and parse, an XML document.
A system for parsing an XML document, comprising:
- at least two streaming parser APIs selected from a raw streaming parser API for providing non-validating access to an XML document, a non-validating streaming parser API for reading information for the XML document and using that information to provide access to an XML document, and a validating streaming parser API for reading information for the XML document and using that information to validate and provide access to the XML document;
- and
- means for selecting one of said streaming parser APIs in order to provide access to, and parse, an XML document.
A method for parsing an XML document, comprising:
- receiving an XML document;
- selecting a streaming parser API from a set of streaming parser APIs to provide access to, and parse, an XML document, the set of streaming API s containing at least two of a raw streaming parser API for providing non-validating access to an XML document, a non-validating streaming parser API for reading information for the XML document and using that information to provide access to an XML document, and a validating streaming parser API for reading information for the XML document and using that information to validate and provide access to the XML document;
- and
- processing the XML document using the selected streaming parser API.
Dependencies are inferred from the claim text.