- From: Dan Connolly <connolly@w3.org>
- Date: Mon, 19 Apr 2004 08:56:39 -0500
- To: public-cwm-bugs@w3.org
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