Browse Prior Art Database

Mixed Message Format for Binary and Text Extensible Markup Language (XML) Disclosure Number: IPCOM000174732D
Original Publication Date: 2008-Sep-19
Included in the Prior Art Database: 2008-Sep-19
Document File: 1 page(s) / 26K

Publishing Venue



Described is a method to encode an Extensible Markup Language (XML) message as party binary and party text. Binary XML is typically a smaller and more efficiently processed representation than the original text XML. Various solutions exist to convert text XML into binary XML or to simply serialize information in a binary XML form to reduce space and processing time. If the decision is made to use binary XML, either the entire text XML message is converted to the binary XML form or the entire information set that would have been serialized to text XML is serialized to binary XML. Therefore, a message is either 100% text XML or 100% binary XML. The problem solved is that of not requiring the message be completely converted to binary XML while still realizing processing speed benefits. The solution allows a serializer to only convert the part of the message that has been processed to binary, leaving the remaining, unprocessed part as text XML. The drawbacks to the existing solutions is that once the decision is made to convert to binary XML, the entire message must be converted to binary, even if only a portion of the message ever is processed. Requiring an edge, or routing server to convert the entire message can be inefficient and costly especially when the routing server or edge server only needs to read the message headers to determine the next system to send the message to.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 59% of the total text.

Page 1 of 1

Mixed Message Format for Binary and Text Extensible Markup Language (XML)

This solution allows for a mixed message such that the message can be written partially as binary Extensible Markup Language (XML) and partially as text XML. This allows an intermediary that may only process a portion of the message to write out the portion it processed as binary XML and leave the remaining part of the message it did not touch as text XML. The advantage to this is that it allows the intermediary to not have to convert the entire message, but to be more efficient and only convert to binary XML the portion of the message it processed, and leave the remainder of the message intact as text XML. In addition, when the next system receives the message, the part in binary XML can be processed faster than if it was sent as text XML.

As an XML message flows through a networked system, it may be read and written many times. This idea allows that each time the message is written, the portion that was read in is written back out as binary XML. The remaining portion of the message that was not read or skipped, is not converted to binary and is left as text XML. The software on each system that processes these messages would have to be able to read the binary and text form of a message as well as read a "mixed" message, ie. one that starts as binary, but then contains an unlimited number of text and binary parts. This requires the mixed message for...