Re: Reference and First-Class Function
"Vladimir Nesterovsky" <[email protected]> Tue, 16 Dec 2008 06:15:00 -0800
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <430e9ded$1643cd5b$6932f102$@com> |
> > Function object should be an atomic type, otherwise how can > > you store it in a sequence? > > A sequence is a sequence of items; currently the items can be atomic values > or nodes; the proposal is to add a third kind of item. It would still be an > item, therefore it could still be part of a sequence. The qualification probably does not change the meaning, however xslt spec suggests to consider extension object as atomic value: 18.1.3 External Objects An implementation may allow an extension function to return an object that does not have any natural representation in the XDM data model, either as an atomic value or as a node. -- Vladimir Nesterovsky http://www.nesterovsky-bros.com