System and method for XML parsing
First Claim
1. A system for parsing an XML document, comprising:
- a streaming parser;
a set of streaming parser APIs that interface with said streaming parser, from which set one of said streaming parser APIs is selected and instantiated by said streaming parser to parse said XML document, and including within said set a raw streaming parser API for providing non-validating access to said XML document, a non-validating streaming parser API for reading information for said XML document and using that information to provide access to the XML document, and a validating streaming parser API for reading information for said XML document and using that information to validate and provide access to the XML document; and
means for selecting and instantiating one of said set of streaming parser APIs to provide access to, and parse, said XML document.
2 Assignments
0 Petitions
Accused Products
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.
-
Citations
17 Claims
-
1. A system for parsing an XML document, comprising:
-
a streaming parser;
a set of streaming parser APIs that interface with said streaming parser, from which set one of said streaming parser APIs is selected and instantiated by said streaming parser to parse said XML document, and including within said set a raw streaming parser API for providing non-validating access to said XML document, a non-validating streaming parser API for reading information for said XML document and using that information to provide access to the XML document, and a validating streaming parser API for reading information for said XML document and using that information to validate and provide access to the XML document; and
means for selecting and instantiating one of said set of streaming parser APIs to provide access to, and parse, said XML document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A method for parsing an XML document, comprising the steps of:
-
receiving an XML document;
providing a set of streaming parser APIs that interface with a streaming parser, wherein said set of streaming parser APIs include a raw streaming parser API for providing non-validating access to said XML document, a non-validating streaming parser API for reading information for said XML document and using that information to provide access to the XML document, and a validating streaming parser API for reading information for said XML document and using that information to validate and provide access to the XML document;
selecting a streaming parser API from said set of streaming parser APIs; and
,instantiating said streaming parser API to provide access to, and parse, said XML document. - View Dependent Claims (15)
-
-
16. A system for parsing an XML document, comprising:
-
a streaming parser;
a set of streaming parser APIs that interface with said streaming parser, from which set at least two of said streaming parser APIs are selected and instantiated by said streaming parser to parse said XML document, and including within said set a raw streaming parser API for providing non-validating access to said XML document, a non-validating streaming parser API for reading information for said XML document and using that information to provide access to the XML document, and a validating streaming parser API for reading information for said XML document and using that information to validate and provide access to the XML document; and
means for selecting and instantiating at least two of said set of streaming parser APIs to provide access to, and parse, said XML document.
-
-
17. A method for parsing an XML document, comprising the steps of:
-
receiving an XML document;
providing a set of streaming parser APIs that interface with a streaming parser, wherein said set of streaming parser APIs include a raw streaming parser API for providing non-validating access to said XML document, a non-validating streaming parser API for reading information for said XML document and using that information to provide access to the XML document, and a validating streaming parser API for reading information for said XML document and using that information to validate and provide access to the XML document;
selecting at least two streaming parser APIs from said set of streaming parser APIs; and
,instantiating the selected streaming parser APIs to provide access to, and parse, said XML document.
-
Specification