System and method for efficient processing of XML documents represented as an event stream
First Claim
1. A method comprising:
- parsing, by a system, a representation of an XML document into a set of information items;
determining, by the system, a relationship among the information items from the representation of the XML document;
assigning, by the system, an operation code to each information item based upon the determined relationship, where each assigned operation code defines how the associated information should be interpreted at a destination;
forming, by the system, the operation codes and information items into a first sequence of contiguous bytes suitable for transfer from a source to the destination, said first sequence of contiguous bytes not depending upon any memory address assigned to the byte sequence; and
combining, by the system, the first sequence of contiguous bytes derived from the representation of the first XML document with a second sequence of contiguous bytes derived from a second XML document, the combining including replacing first namespace numbers of at least some operations codes of the second sequence of contiguous bytes with second namespace numbers to avoid conflicts with namespace numbers of the first sequence of contiguous bytes.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus are provided for processing a representation of an XML document to create a sequence of contiguous bytes for transfer from a source to a destination. The method includes the steps of parsing the representation of the XML document into a set of information items, determining a relationship among the information items from the representation of the XML document, assigning an operation code to each information element based upon the determined relationship, where each assigned operation code defines how the associated information should be interpreted at the destination and
forming the operation codes and information items into a sequence of contiguous bytes suitable for transfer from the source to the destination, said byte sequence not depending upon any memory address assigned to the byte sequence.
-
Citations
8 Claims
-
1. A method comprising:
-
parsing, by a system, a representation of an XML document into a set of information items; determining, by the system, a relationship among the information items from the representation of the XML document; assigning, by the system, an operation code to each information item based upon the determined relationship, where each assigned operation code defines how the associated information should be interpreted at a destination; forming, by the system, the operation codes and information items into a first sequence of contiguous bytes suitable for transfer from a source to the destination, said first sequence of contiguous bytes not depending upon any memory address assigned to the byte sequence; and combining, by the system, the first sequence of contiguous bytes derived from the representation of the first XML document with a second sequence of contiguous bytes derived from a second XML document, the combining including replacing first namespace numbers of at least some operations codes of the second sequence of contiguous bytes with second namespace numbers to avoid conflicts with namespace numbers of the first sequence of contiguous bytes. - View Dependent Claims (2, 3, 4)
-
-
5. A system comprising:
-
one or more processors;
a storage medium storing logic; and
thelogic operated by the one or more processors and adapted to parse a representation of an XML document into a set of information items; determine a relationship among the information items from the representation of the XLM document; assign an operation code to each information item based upon the determined relationship, where each assigned poeration code defines how the associated information should be interpreted at a destination; form the operation codes and information items into a first sequence of contiguous bytes suitable for transfer from a source to the destination, said first sequence of contiguous bytes not depending upon any memory address assigned to the byte sequence; and combine the first sequence of contiguous bytes derived from the representation of the first XML document with a second sequence of cotiguous bytes derived from a second XML document, the combining including replacing first namespace numbers of at least some operations codes of the second sequence of contiguous bytes with second namespace numbers to avoid conflicts with namespace numbers of the first sequence of contiguous bytes. - View Dependent Claims (6, 7, 8)
-
Specification