473,378 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Binary XML


I was curious what you guys think about binary formats vs text formats.

Does the fact that the XML standards body is looking into binary XML
affect any of your views?

Information about their binary work is available here:
http://www.w3.org/XML/Binary/

Jeff Brooks
Jul 20 '05 #1
2 2327
"Jeff Brooks" <je*********@nospam.com> wrote in message
news:5gDkc.307996$Pk3.10538@pd7tw1no...

I was curious what you guys think about binary formats vs text formats.

Does the fact that the XML standards body is looking into binary XML
affect any of your views?

Information about their binary work is available here:
http://www.w3.org/XML/Binary/

Jeff Brooks


my two cents:

In general, where the space requirements of a text based solution make it
difficult to store or transmit, the storage or transmission medium should be
responsible for compressing the xml using a generic compression mechanism,
and this should be considered an implementation detail not visible to the
application programmer. only in extreme cases is there a need for a specific
binary format.


Jul 20 '05 #2
"Jeff Brooks" <je*********@nospam.com> wrote in message
news:5gDkc.307996$Pk3.10538@pd7tw1no...

I was curious what you guys think about binary formats vs text formats.

Does the fact that the XML standards body is looking into binary XML
affect any of your views?

Information about their binary work is available here:
http://www.w3.org/XML/Binary/

Jeff Brooks


In my opinion, there are lots of things to consider before moving to binary
formats:

- Can an XML document be separate from the text that makes up the document?
The current XML recommendation only specifies the syntax in terms of text
strings (a sequence of characters). Anything else is not XML.

- Does file size matter? Storage and transmission capacities are continually
improved; will there be a market for binary XML when the [binary] Working
Group is done? Even so, will it be smaller than a gzipped XML file?

- Will binary XML be faster to load? Only if you assume that you do not need
to parse/validate the document. Do you trust binary XML to be correct at all
times?

- Will binary XML be faster to generate/serialize? I'm not so sure.

- Does it matter that the XML document is human readable and editable?
// Magnus
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: yaipa | last post by:
What would be the common sense way of finding a binary pattern in a ..bin file, say some 200 bytes, and replacing it with an updated pattern of the same length at the same offset? Also, the...
20
by: Christian Stigen Larsen | last post by:
A signed int reserves one bit to signify whether a number is positive or negative. In light of this, a colleague asked me whether there existed an int in C++ that was -0, a zero with the negative...
3
by: Tron Thomas | last post by:
What does binary mode for an ofstream object do anyway? Despite which mode the stream uses, operator << writes numeric value as their ASCII representation. I read on the Internet that it is...
103
by: Steven T. Hatton | last post by:
§27.4.2.1.4 Type ios_base::openmode Says this about the std::ios::binary openmode flag: *binary*: perform input and output in binary mode (as opposed to text mode) And that is basically _all_ it...
9
by: Ching-Lung | last post by:
Hi all, I try to create a tool to check the delta (diff) of 2 binaries and create the delta binary. I use binary formatter (serialization) to create the delta binary. It works fine but the...
7
by: John Dann | last post by:
I'm trying to read some binary data from a file created by another program. I know the binary file format but can't change or control the format. The binary data is organised such that it should...
68
by: vim | last post by:
hello everybody Plz tell the differance between binary file and ascii file............... Thanks in advance vim
5
by: bwv539 | last post by:
I have to output data into a binary file, that will contain data coming from a four channel measurement instrument. Since those data have to be read from another C program somewhere else, the...
10
by: rory | last post by:
I can't seem to append a string to the end of a binary file. I'm using the following code: fstream outFile("test.exe", ios::in | ios::out | ios::binary | ios::ate | ios::app)...
16
by: Erwin Moller | last post by:
Why is a binary file executable? Is any binary file executable? Is only binary file executable? Are all executable files binary? What is the connection between the attribute of binary and that of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.