Encoding insignificant whitespace of XML data
AssigneeOracle International Corporation
InventorsBalasubramanyam Sthanikam, Sivasanakan Chandrasekar, Sam Idicula, Nipun Agarwal
Life of this patent
Estimating the term…
Abstract
Techniques are described for preserving the original insignificant white space of XML data. The techniques may be used in combination with compact XML data storage formats, such as binary XML, to preserve the insignificant white space without requiring as much storage space as uncompressed formats. White space opcodes/operand pairs are described for representing white space characters and white space patterns. The white space opcode/operand pairs represent the white space in binary XML, are use to generate the original white space when the binary XML is decoded back to textual XML data.
Claims24
A method for encoding insignificant white space of eXtensible Markup Language (XML) data, the method comprising:
- identifying an occurrence of insignificant white space in the XML data;
- generating encoded data to represent the occurrence of insignificant white space, wherein the encoded data includes one or more opcodes and one or more corresponding operands, wherein the encoded data does not include the insignificant white space whose occurrence the encoded data represents;
- reconstructing a version of the XML data that includes the occurrence of the insignificant white space based on (a) the encoded data, and (b) information that represents the XML data without the insignificant white space;
- and
- wherein the method is performed by one or more computing devices.
A computer-readable storage that stores instructions which, when executed by one or more processors, cause performance of:
- identifying an occurrence of insignificant white space in the XML data;
- generating encoded data to represent the occurrence of insignificant white space, wherein the encoded data includes one or more opcodes and one or more corresponding operands, wherein the encoded data does not include the insignificant white space whose occurrence the encoded data represents;
- reconstructing a version of the XML data that includes the occurrence of the insignificant white space based on (a) the encoded data, and (b) information that represents the XML data without the insignificant white space.
Dependencies are inferred from the claim text.