Compressed Valid XML Encoding for Smaller XML File Transfer
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
XML documents are verbose and large, causing issues in memory-constrained systems and bandwidth-limited communication systems, as they are human-readable and data-type aware, leading to increased file sizes and inefficient data transfer.
Innovation Solution
Compressing XML documents into binary streams using algorithms like Deflate, converting them back into valid text using base-64 encoding, and associating XML tags to identify them as compressed, while ensuring the documents remain valid and recognizable by XML-processing applications.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If XML documents are made human-readable and data-type aware, then ease of use and data-type awareness are improved, but file size increases
Solution Approach 1:
The patent applies parameter changes by transforming the XML document from its original human-readable text format into a compressed binary representation. This changes the fundamental parameter of data representation while maintaining the underlying information content, thereby reducing file size while preserving data-type awareness through structured encoding
Solution Approach 2:
The patent creates a compressed copy of the XML document in binary format that contains all the essential data-type information. This binary copy serves as an efficient representation that can be decompressed back to the original format when needed, resolving the contradiction between file size and data-type awareness
2Quantity of substance
If XML documents are compressed into binary format, then file size is reduced, but validity and recognizability as XML documents deteriorates
Solution Approach 1:
The patent introduces an intermediary binary format that acts as a bridge between the original XML document and the compressed representation. This intermediary format maintains the structural integrity and data-type information of the original XML while enabling efficient compression, and can be decompressed back to valid XML format when needed
Solution Approach 2:
The patent changes the parameter of data representation from human-readable text to binary format, while preserving the essential XML structure and data-type information through structured encoding. This allows the document to be recognized and processed as valid XML after decompression
Data Source
AI summary
A method comprising compressing a first XML document into a binary stream, converting the binary stream into a compressed valid XML document, and associating at least one XML tag with the compressed valid XML document in order to identify the document as a compressed XML document.


