Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Kumar Raja
Ranch Hand
Posts: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • 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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • 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: 547
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic