Subject: Re: Detecting Infinite Looping From: Richard Light <richard@xxxxxxxxxxxxxxxxx> Date: Thu, 29 Jan 1998 09:10:58 +0000 |
In message <3.0.32.19980128224446.00b40ce8@xxxxxxxxxx>, "W. Eliot Kimber" <eliot@xxxxxxxxxx> writes >I'm in the process of implementing HyTime location address resolution. One >of the possible error conditions is a circular reference where one location >address directly or indirectly addresses itself. This is a reportable >HyTime error, for obvious reasons. My question is this: how would I go >about detecting such a case in DSSSL? > >My logic constructs a node list by recursively processing each location >address found. How would I compare each new node to the node list at that >point to see if it's already in it (if it's a location address)? Won't the (node-list-contains? n1 sn1) procedure [10.2.2 List Operations] do this directly? Richard. Richard Light SGML/XML and Museum Information Consultancy richard@xxxxxxxxxxxxxxxxx DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Detecting Infinite Looping, W. Eliot Kimber | Thread | Re: Detecting Infinite Looping, Henry Thompson |
RE: Detecting Infinite Looping, Pawson, David | Date | Re: Detecting Infinite Looping, Henry Thompson |
Month |