Binary XML

J

Jeff Brooks

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
 
A

Andy Fish

Jeff Brooks said:
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.
 
M

Magnus Henriksson

Jeff Brooks said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top