On Fri, 7 Jul 2006 [EMAIL PROTECTED] wrote:

> in the paper "Active xml Primer" the author write: "A document may grow
> in an unbounded manner. Consider the very simple piece of data t:
> <a><sc>get-a()</sc></a>

The service call, the <sc> element,  embedded in datum t is get-a.

> Suppose the service call get-a returns t and that the attributes of the
> service call specify that the call should be activated immediately.

So when Active XML encounters datum t, it activates get-a, which returns
datum t, which is inserted right after the service call:

> Then the document is rewritten into:
> <a><sc>get-a()</sc><a><sc>get-a()</sc></a></a>

and then it happens again, and again, ...

> <a><sc>get-a()</sc><a><sc>get-a()</sc><a><sc>get-a()</sc></a></a></a>...

> This results in constructing a tree with unbounded depth. "

The result is an XML document, a tree, in which each <a> element has
an infinite number of descendents identical to itself.

> I do not understand this example.

> Can someone explain in more detail?

Active XML is dangerous.  You probably don't want it on your system.

--
Jim Dixon  [EMAIL PROTECTED]   tel +44 117 982 0786  mobile +44 797 373 7881
http://xlattice.sourceforge.net         p2p communications infrastructure
_______________________________________________
p2p-hackers mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/p2p-hackers

Reply via email to