• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is XML InformationSet (Infoset) and in what way it is different from DOM?

 
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

Could you some explain me about XML Infoset? and how is it different from DOM. From this document, I read Infoset as "XML Information Set (Infoset) allows you to describe an XML document as a series of objects with specialized properties. Read about this abstract data to better understand the basic structure of XML. " . Does it not sound like a DOM? Can you explain me the differences and pros/cons.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Infoset concept is a convenient way of referring to the components of XML document with a consistent vocabulary.

For example, when referring to XML processing steps, a process either preserves the infoset or it does not.

There is no processing API like there is for DOM.

Bill



 
Kumar Raja
Ranch Hand
Posts: 558
2
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

William Brogden wrote:The Infoset concept is a convenient way of referring to the components of XML document with a consistent vocabulary.

For example, when referring to XML processing steps, a process either preserves the infoset or it does not.

There is no processing API like there is for DOM.

Bill





Thank you Bill. So, it is only an abstract way of representing, but in order process the XML Infoset, we use some API like DOM, SAX etc. Please confirm.
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No matter what API you use, you will be processing the Infoset.

I wouldn't worry about it - the term mostly seems to be used in the standards setting circles of the W3C and other standards organizations.

Bill
 
He baked a muffin that stole my car! And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic