[AgileWiki] infosets are working, what are infosets?
Status: Beta
Brought to you by:
blaforge
From: Bill la F. <bil...@su...> - 2006-08-07 02:15:51
|
OK, what is an infoset? Well, it is different from a namespace but similar enough to be confusing. The infoset of a rolon includes: 1. the references, e.g. any rolons named in the document content; 2. child topics and LSecs; and 3. the infoset of the CSecs. Note that CSecs, though rolons, define the infoset differently. For example, the infoset of a TagMatch CSec includes only the matching rolons. Note that an infoset is not ordered. And two rolons with the same name (but not the same pathname) can be in the same infoset. This contrasts with a namespace, which does not allow for dulicate names. (The names command displays the namespace.) Now namespaces are used to resolve names. What are infosets used for? 1. We will use the infoset of CSects to extend a rolon's namespace. This is hard, because namespaces are cached so we need to worry about dependency relationships with CSecs. 2. Infosets are essential for the development of applications. In general, applications deal with one or more infosets. Using multiple types of CSecs to build infosets will lend tremendous flexibility to AW applications. Bill |