[Xpath-ng] Proposal for definition of values/lists

Uche Ogbuji uche.ogbuji at fourthought.com
Mon Dec 9 16:53:38 MST 2002


> I'm quite keen on making the definition of "nodes" fairly open ended,
> since I want to be able to use XPath NG with LMNL structures and to
> allow modules to create their own node kinds (e.g. for schema
> components).

I think we do this by just stating what properties and behaviors a node should 
have (XPath 1.0 gives us most of that) and don't stipulate that it must 
originate in XML.

> I wonder if we also need a "foreign object" value type?

I recoiled hard from this in XPath 1.1.  I think I've come round a bit on it.  
However, if we did support a foreign object type, I would want to put a big 
responsibility on the shoulders of the implementer to specify and implement 
some sort of fallback or generic behavior.  I don't know exactly how we would 
spell this, but I'd really want to at least try.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Tour of 4Suite - http://www.xml.com/pub/a/2002/10/16/py-xml.html
Proper XML Output in Python - http://www.xml.com/pub/a/2002/11/13/py-xml.html
RSS for Python - http://www-106.ibm.com/developerworks/webservices/library/ws-p
yth11.html
Debug XSLT on the fly - http://www-106.ibm.com/developerworks/xml/library/x-deb
ugxs.html





More information about the Xpath-ng mailing list