Hi,
I seem to remember there was a recent question on obtaining an instance
of a JSPWikiMarkupParser, and now that I'm trying to do exactly that it
seems there isn't any way to do so...
There's only one constructor for the class and that requires a
WikiContext, which throws an IllegalArgumentException if either the
WikiEngine or HttpServletRequest are null, which seems like an
insurmountable barrier. It seems like there a number of places where
one would hit an NPE on reference to a null m_engine. What to do in
those cases where the WikiEngine seems necessary is of course unknown.
Anyone been able to create a parser without a WikiEngine or HTTP
server? I am running this as an embedded application but I'd like
access to a parser when neither the WikiEngine nor Jetty are active.
Another alternative would be to create a dummy WikiEngine outside of
the context of Jetty.
Thanks,
Murray
...........................................................................
Murray Altheim <murray07 at altheim.com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record
_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the
stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList