[Openmcl-devel] CXML-RNG, Plexippus XPath, and Xuriella XSLT
gb at clozure.com
Sun May 20 14:09:05 UTC 2012
This is just a guess - and someone who has some idea of what the acronyms you
use mean may have a better one - but the code that you're trying to compile
may do something analogous to:
(defclass foo ()
(setf (find-class 'bar) (find-class 'foo))
... (typep x 'bar) ...
The spec says (in 4.3.7) that the proper name of a class is a valid
type specifier; in the code above, BAR isn't the proper name of any
class and likely isn't going to be recognized as a valid type
specifier in CCL; other implementations may effectively treat any use
of a symbol S (as a potential type-specifier) for which (FIND-CLASS S
NIL) returns a CLASS object C as being equivalent to C, even if
(CLASS-NAME C) returns something other than S.
You can persuade CCL to treat BAR as a valid type specifier in this
case by doing:
(deftype bar () 'foo)
before trying to use BAR as a type specifer.
[Of course, the problem you're having may be totally unrelated to the above.]
On Sun, 20 May 2012, Steven N?ez wrote:
> Has anyone got any of the above working on CCL? Specifically I'm trying to
> use Plexippus, but get:
> Unknown type specifier: CXML-STP-IMPL::DOCUMENT-TYPE
> When invoking any Plexippus functions. Not even the simple examples in the
> documentation run. This is on the latest 1.8 CCL.
> Any other suggestions for XPath with CCL?
> - SteveN
> Illation Pty Ltd
> 8/350 Collins Street
> Melbourne 3000
> T: ? +61 3 8399 9442
> M: +61 4 0096 4240
More information about the Openmcl-devel