Methods and apparatus for parsing extensible markup language (XML) data streams
First Claim
1. A computer-implemented system for parsing an Extensible Markup Language (XML) data stream, comprising the following computer components stored in a computer readable media and executable by one or more processors:
- a node factory module that;
defines a plurality of states, individual states being associated with individual elements of an XML data stream, wherein the defining of the plurality of states comprises defining one or more schema modules that are configured to track one or more states of the XML data stream; and
associates one or more rules with each state;
an XML parser that receives the XML data stream; and
the one or more schema modules that;
evaluate the XML data stream against one or more of the rules for individual elements contained in the XML data stream, wherein the evaluating comprises using the one or more schema modules to evaluate the XML data stream against one or more schema-based rules; and
disregard associated portions of the XML data stream if any of the rules that are associated with those portions are violated.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and structures for parsing an Extensible Markup Language (XML) data stream are described. In the described embodiment, one or more schema modules are defined and are associated with HTTP requests that are received from a client. The schema module(s) has a function that determines whether an XML data stream conforms to a given schema that is associated with the HTTP request. If a portion of the XML data stream does not conform to the given schema, then the schema module disregards that XML data stream portion. In the described embodiment, each schema module has a plurality of states associated therewith. Each state is associated with one or more schema requirements that relate to a particular element that is evaluated by the schema module. Each state is different from the other states and the number of states is a function of the number of layers or elements that are contained within a particular XML data stream.
20 Citations
19 Claims
-
1. A computer-implemented system for parsing an Extensible Markup Language (XML) data stream, comprising the following computer components stored in a computer readable media and executable by one or more processors:
-
a node factory module that; defines a plurality of states, individual states being associated with individual elements of an XML data stream, wherein the defining of the plurality of states comprises defining one or more schema modules that are configured to track one or more states of the XML data stream; and associates one or more rules with each state; an XML parser that receives the XML data stream; and the one or more schema modules that; evaluate the XML data stream against one or more of the rules for individual elements contained in the XML data stream, wherein the evaluating comprises using the one or more schema modules to evaluate the XML data stream against one or more schema-based rules; and disregard associated portions of the XML data stream if any of the rules that are associated with those portions are violated. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-implemented system for parsing an Extensible Markup Language (XML) data stream, comprising the following computer components stored in a computer readable media and executable by one or more processors:
-
a node factory module that; defines a plurality of states, individual states being associated with individual elements of an XML data stream, wherein the defining of the plurality of states comprises defining one or more schema modules that are configured to track one or more states of the XML data stream, each schema module being associated with at least one request type that defines the XML data stream; and associates one or more rules with each state; an XML parser that receives XML data stream; and the one or more schema modules that; evaluate the XML data stream against one or more of the rules for individual elements contained in the XML data stream; and disregard associated portions of the XML data stream if any of the rules that are associated with those portions are violated. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
Specification