Binary XML

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff Brooks

    #1

    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
  • Andy Fish

    #2
    Re: Binary XML

    "Jeff Brooks" <jeff_brooks@no spam.com> wrote in message
    news:5gDkc.3079 96$Pk3.10538@pd 7tw1no...[color=blue]
    >
    > 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[/color]

    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.




    Comment

    • Magnus Henriksson

      #3
      Re: Binary XML

      "Jeff Brooks" <jeff_brooks@no spam.com> wrote in message
      news:5gDkc.3079 96$Pk3.10538@pd 7tw1no...[color=blue]
      >
      > 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[/color]

      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


      Comment

      Working...