Claims
- 1. 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.
- 2. A system according to claim 1, wherein said raw streaming parser API provides the raw text of the XML document.
- 3. A system according to claim 1, wherein said raw streaming parser provides non-cached access to the XML document.
- 4. A system according to claim 1, wherein said raw streaming parser API provides read-only access to the XML document.
- 5. A system according to claim 1, wherein said raw streaming parser API implements namespaces.
- 6. A system according to claim 1, wherein said raw streaming parser API enforces well-formedness of the XML document.
- 7. A system according to claim 1, wherein said raw streaming parser API can pull data from the XML document.
- 8. A system according to claim 1, wherein said raw streaming parser API can skip unwanted data in the XML document.
- 9. A system according to claim 1, wherein said non-validating streaming parser API reads information for the XML document from one of a DTD and XML schema.
- 10. A system according to claim 1, wherein said validating streaming parser API reads information for the XML document from one of a DTD and XML schema.
- 11. A system according to claim 1, wherein said validating streaming parser API does a streaming validation of the XML document.
- 12. A system according to claim 1, wherein said validating streaming parser API does not require the loading of the entire XML document into memory.
- 13. 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.
- 14. 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.
CLAIM OF PRIORITY
[0001] This application claims priority to U.S. Provisional Patent Application No. 60/358,419, filed Feb. 21, 2002, entitled “SYSTEM AND METHOD FOR XML PARSING”, which is hereby incorporated herein by reference.
[0002] The following applications are cross-referenced and incorporated herein by reference:
[0003] U.S. patent application ser. No. ______ entitled “SYSTEM AND METHOD FOR XML DATA BINDING” by Chris Fry and Scott Ziegler, filed ______.
[0004] U.S. patent application Ser. No. ______ entitled “SYSTEM AND METHOD FOR FAST XSL TRANSFORMATION” by Chris Fry, filed ______.
[0005] U.S. patent application Ser. No. ______ entitled “STREAMING PARSER API” by Chris Fry and Sam Pullara, filed ______.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60358419 |
Feb 2002 |
US |