Thanks, all, for the input, but I'm still getting the same error. The setup page (http://xqdoc.org/qs_marklogic.html) mentions and links to older versions of the scripts but yes, I did find the Jan 2007 1.3 versions and am using those.
Yes, I'm using v1.6 of the binary. Again, I'm using the packages mentioned on the marklogic setup page (including xqdoc_conv.jar v1.6 and the latest scripts for verifying proper install. Are there any other tools to produce documentation from xqDoc embedded in a file? I'm actually more interested in simple text or manpage output than HTML anyway. It might be nice to get this working, though... On Thu, Mar 4, 2010 at 7:57 AM, Darin McBeath <[email protected]> wrote: > I assume when you mention xqDoc demo code, you are referencing the 'scripts' > from Jan 2007 v1.3 (http://xqdoc.org/source.html) > > What version of the binary are you using? Are you using version 1.6 > (http://xqdoc.org/binaries.html)? > > Based on the error message below, it sounds like there is a mismatch between > the version of the code/grammars parsing the XQuery file and the XQuery > specification syntax version used in the XQuery file. In other words, if > the syntax is 1.0 in the XQuery files, then only xqdoc version 1.6 will > work. Hope this helps. If not, let m know and I will investigate further. > > Darin. > > ________________________________ > From: Karl Erisman <[email protected]> > To: General Mark Logic Developer Discussion > <[email protected]> > Sent: Wed, March 3, 2010 11:08:47 PM > Subject: Re: [MarkLogic Dev General] XQDoc in ML version 4? > > $ java org.xqdoc.drivers.marklogic.MarkLogicFileDriver > /opt/MarkLogic/xqdoc localhost 8005 username password > > ... fails with: > > org.xqdoc.conversion.XQDocException: line 1:24: unexpected token: ; > at > org.xqdoc.conversion.XQDocController.parse(XQDocController.java:309) > at > org.xqdoc.conversion.XQDocController.process(XQDocController.java:229) > at > org.xqdoc.drivers.marklogic.MarkLogicFileDriver.main(MarkLogicFileDriver.java:84) > Caused by: line 1:24: unexpected token: ; > at > org.xqdoc.xquery.parser.may2003.XQueryParser.exprSingle(XQueryParser.java:2023) > at > org.xqdoc.xquery.parser.may2003.XQueryParser.expr(XQueryParser.java:1399) > at > org.xqdoc.xquery.parser.may2003.XQueryParser.queryBody(XQueryParser.java:700) > at > org.xqdoc.xquery.parser.may2003.XQueryParser.mainModule(XQueryParser.java:392) > at > org.xqdoc.xquery.parser.may2003.XQueryParser.module(XQueryParser.java:290) > at > org.xqdoc.xquery.parser.may2003.XQueryParser.xpath(XQueryParser.java:231) > at > org.xqdoc.conversion.XQDocController.parse(XQDocController.java:302) > ... 2 more > > Note that this is the output when running xqDoc against the demo code > provided for verifying that things are working correctly. I get the > same result when running xqDoc against my own code. > > Any ideas? > > Thanks, > Karl > > On Wed, Mar 3, 2010 at 2:56 PM, Darin McBeath <[email protected]> wrote: >> What specific problem are you encountering? There is nothing specific to >> version 4 of ML that would prevent xqDoc from working. I use xqDoc on 4.1 >> and it works fine. >> >> However, there are some other xqDoc limitations ... but, it really >> depends >> on the xquery code which you are trying to xqDoc. >> >> Let me know the specific error and if possible provide the XQuery code >> that >> is causing the problem. >> >> Darin. >> >> ________________________________ >> From: Karl Erisman <[email protected]> >> To: General Mark Logic Developer Discussion >> <[email protected]> >> Sent: Wed, March 3, 2010 3:42:30 PM >> Subject: [MarkLogic Dev General] XQDoc in ML version 4? >> >> What is the status of xqDoc support for MarkLogic? Does XQDoc work >> with ML version 4? It appears to me that it does not. Can anyone >> suggest any alternatives to xqDoc? I prefer keeping certain types of >> documentation inline with the source code for maintainability reasons. >> >> Thanks, >> Karl >> _______________________________________________ >> General mailing list >> [email protected] >> http://xqzone.com/mailman/listinfo/general >> >> _______________________________________________ >> General mailing list >> [email protected] >> http://xqzone.com/mailman/listinfo/general >> >> > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
