I've been using JDOM and JDOM2 as a markup builder for years now, and it works fine. If desired I could produce a small static utility class to generate XHTML, basically a wrapper around JDOM2.
Ichiro On Sat, Feb 8, 2014 at 5:04 AM, Juan Pablo Santos RodrÃguez < juanpablo.san...@gmail.com> wrote: > Hi, > > regarding the JIRA ticket, we have a few related issues: > > * https://issues.apache.org/jira/browse/JSPWIKI-566 which was scoped for > 3.0 > * https://issues.apache.org/jira/browse/JSPWIKI-659 related to > JSPWIKI-566, > but also happens on current trunk > * https://issues.apache.org/jira/browse/JSPWIKI-794 , more general, not > directly related > * https://issues.apache.org/jira/browse/JSPWIKI-276 , might be considered > a > subtask of JSPWIKI-794. > > Also, in this comment [#1] Harry pointed out that jabsorb seems also > inactive, but json-rpc seems to have revived [#2]? > > > br, > juan pablo > > > [#1] > > https://issues.apache.org/jira/browse/JSPWIKI-276?focusedCommentId=13552196&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13552196 > [#2] https://github.com/RitwikSaikia/jsonrpc > > > On Fri, Feb 7, 2014 at 12:30 AM, Dirk Frederickx > <dirk.frederi...@gmail.com>wrote: > > > Hi Ichiro, > > > > I was not aware about the change of the jsonrpc java implementation. > > It seems that the upgrade would be the right thing to do , not clear what > > the improvements really are -- I suggest to log an improvement ticket in > > JIRA. > > > > > > From the error message, it seems the the jsonrpc server cannot map the > > method onto the right RPCCallable java class. > > Which json-rpc command is being send to the server ? > > > > > > > > dirk > > > > > > On Tue, Feb 4, 2014 at 12:07 PM, Ichiro Furusato > > <ichiro.furus...@gmail.com>wrote: > > > > > Hi Dirk, > > > > > > Apparently the com.metaparadigm.jsonrpc code is no longer current, > > replaced > > > by > > > a newly-named JAbsorb package, available from Google Code: > > > > > > http://code.google.com/p/jabsorb/ > > > > > > This looks to be written by the same author and represents a package > name > > > change and some minor changes. > > > > > > In looking into the hooks in JSPWiki it seems that the only requirement > > > would > > > be to alter the servlet package name in web.xml and change the imports > in > > > the > > > JSONRPCManager from: > > > > > > import com.metaparadigm.jsonrpc.InvocationCallback; (API) > > > import com.metaparadigm.jsonrpc.JSONRPCBridge; > > > > > > to > > > > > > import org.jabsorb.callback.InvocationCallback; > > > import org.jabsorb.JSONRPCBridge; > > > > > > I've not been able to determine if the bridge has changed in any > > > significant way from > > > the JavaScript side of things, but ostensibily the method calls used > seem > > > the same, > > > though the new implementation is missing the setDebug() method. > > > registerCallback() > > > and registerObject() are the same. > > > > > > I was just wondering if you already knew about this change and/or if > you > > > knew of > > > any plans to update to this new package. > > > > > > Thanks, > > > > > > Ichiro > > > > > > [PS. and BTW, despite quite a bit of digging into the JSON RPC code, > > > including a > > > fair bit of debugging, I've not yet been able to successfully register > a > > > non JSPWiki > > > object and get the bridge to respond with anything except a > > > {"id":10000,"error":{"code":591,"msg":"method not found (session may > have > > > timed out)"}} > > > But I keep digging... didn't think this would be so difficult...] > > > > > >