lists don't work with store.any()

I'm writing a converter from RDF to XMLRPC data structures.
I need to distinguish list items from integers, strings,
and other sorts of things. I tried

	i = graph.any(subj=item, pred=RDF.first)
	if i: #list...

but that test never passed. I changed it to

	if isinstance(item, term.List):

and the code is working now. But since this limitation
isn't documented

http://www.w3.org/2000/10/swap/formula.html#Formula-any

I conclude it's a bug.


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
see you at the WWW2004 in NY 17-22 May?

Received on Monday, 19 April 2004 09:56:02 UTC