Hello Everyone, I am on Marklogic 5.0-3 and I am not able to load files using webdav. It was working fine on Marklogic 4.2-3 as soon as I upgraded the Webdav throws error and does not load the files.
Can anyone help? Best Regards, Kashif Khan Sr. Solutions Architect Houghton Mifflin Harcourt, Orlando, FL Office: (407) 345-3420 Cell: (407) 949-4697 "The water you touch in the river is the last of that which has passed and the first of that which is coming" --Leonardo da Vinci On 3/26/12 12:40 PM, "John Snelson" <[email protected]> wrote: >What does the code in footer.xqy look like? > >One bug fix that was made in 5.0-1 was to require quotes around >attribute values in direct element constructor expressions - maybe you >have unquoted attribute values in your program? > >John > >On 26/03/12 17:22, Khan, Kashif wrote: >> >> We just upgraded to Marklogic server 5.0-3 and now I am getting this >> error for my application. Did anyone face this issue with their >> application? >> >> >> 500 Internal Server Error >> >> XDMP-UNEXPECTED: (err:XPST0003) Unexpected token syntax error, >> unexpected QName_, expecting EmptyTagClose_ or StartTagClose_ >> in /application/views/footer.xqy, at 16:31, >> in xdmp:invoke("/application/views/footer.xqy", (fn:QName("", "data"), >> map:map()), <options >> >>xmlns="xdmp:eval"><isolation>different-transaction</isolation><prevent-de >>adlocks>t...</options>) >> [1.0-ml] >> in /system/xqmvc.xqy, at 105:4, >> in _view("/application/views/footer.xqy", ()) [1.0-ml] >> $view-file = "/application/views/footer.xqy" >> $pairs = () >> in /system/xqmvc.xqy, at 119:8, >> in xqmvc:view("footer", ()) [1.0-ml] >> $view = "footer" >> $pairs = () >> $view-file = "/application/views/footer.xqy" >> in /application/controllers/word.xqy, at 216:12, >> in word-controller:error() [1.0-ml] >> in /system/error.xqy, at 9:7 [1.0-ml] >> $set-var = () >> Old Error >> <error:error xsi:schemaLocation="http://marklogic.com/xdmp/error >> error.xsd" xmlns:error="http://marklogic.com/xdmp/error" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> >> <error:code>XDMP-UNEXPECTED</error:code> >> <error:name>err:XPST0003</error:name> >> <error:xquery-version>1.0-ml</error:xquery-version> >> <error:message>Unexpected token</error:message> >> <error:format-string>XDMP-UNEXPECTED: (err:XPST0003) >> Unexpected token syntax error, unexpected QName_, expecting >> EmptyTagClose_ or StartTagClose_</error:format-string> >> <error:retryable>false</error:retryable> >> <error:expr> </error:expr> <error:data> >> <error:datum>syntax error, unexpected QName_, expecting >> EmptyTagClose_ or StartTagClose_</error:datum> >> <error:datum/> </error:data> <error:stack> >> <error:frame> >> <error:uri>/application/views/footer.xqy</error:uri> >> <error:line>16</error:line> >> <error:column>31</error:column> >> <error:operation>xdmp:invoke("/application/views/footer.xqy", >> (fn:QName("", "data"), map:map()), &lt;options >> >>xmlns="xdmp:eval"&gt;&lt;isolation&gt;different-transaction&a >>mp;lt;/isolation&gt;&lt;prevent-deadlocks&gt;t...&lt;/opt >>ions&gt;)</error:operation> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:uri>/system/xqmvc.xqy</error:uri> >> <error:line>105</error:line> >> <error:column>4</error:column> >> <error:operation>_view("/application/views/footer.xqy", >> ())</error:operation> <error:variables> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">view-file</error:name >>> >> >><error:value>"/application/views/footer.xqy"</error:value> >> </error:variable> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">pairs</error:name> >> <error:value>()</error:value> </error:variable> >> </error:variables> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:uri>/system/xqmvc.xqy</error:uri> >> <error:line>119</error:line> >> <error:column>8</error:column> >> <error:operation>xqmvc:view("footer", >> ())</error:operation> <error:variables> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">view</error:name> >> <error:value>"footer"</error:value> >> </error:variable> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">pairs</error:name> >> <error:value>()</error:value> </error:variable> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">view-file</error:name >>> >> >><error:value>"/application/views/footer.xqy"</error:value> >> </error:variable> </error:variables> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:uri>/application/controllers/word.xqy</error:uri> >> <error:line>121</error:line> >> <error:column>18</error:column> >> <error:operation>search()</error:operation> >> <error:variables> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/controller">id-query</error >>:name> >> <error:value>()</error:value> </error:variable> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/controller">word-query</err >>or:name> >> <error:value>()</error:value> </error:variable> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/controller">word-def</error >>:name> >> <error:value>()</error:value> </error:variable> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/controller">page-title</err >>or:name> >> <error:value>"American Heritage Dictionary - >> Search"</error:value> </error:variable> >> </error:variables> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:uri>/application/controllers/word.xqy</error:uri> >> <error:line>30</error:line> >> <error:column>4</error:column> >> <error:operation>xqmvc-ctrlr:index()</error:operation> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:line>1</error:line> >> <error:column>123</error:column> >> <error:operation>xdmp:eval("import module namespace >> xqmvc-ctrlr = &amp;quot;http://scholarsporta...", (), >> &lt;options >> >>xmlns="xdmp:eval"&gt;&lt;isolation&gt;different-transaction&a >>mp;lt;/isolation&gt;&lt;prevent-deadlocks&gt;t...&lt;/opt >>ions&gt;)</error:operation> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:uri>/system/xqmvc.xqy</error:uri> >> <error:line>63</error:line> >> <error:column>12</error:column> >> >><error:operation>_controller("/application/controllers/word.xqy", >> "index")</error:operation> <error:variables> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">controller-file</erro >>r:name> >> >><error:value>"/application/controllers/word.xqy"</error:value> >>; >> </error:variable> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">function</error:name& >>gt; >> <error:value>"index"</error:value> >> </error:variable> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">import-declaration</e >>rror:name> >> <error:value>"import module namespace xqmvc-ctrlr = >> &amp;quot;http://scholarsporta..."</error:value> >> </error:variable> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">function-call</error: >>name> >> <error:value>"xqmvc-ctrlr:index()"</error:value> >> </error:variable> </error:variables> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:uri>/system/xqmvc.xqy</error:uri> >> <error:line>77</error:line> >> <error:column>8</error:column> >> <error:operation>xqmvc:controller("word", >> "index")</error:operation> <error:variables> >> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">controller</error:nam >>e> >> <error:value>"word"</error:value> >> </error:variable> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">function</error:name& >>gt; >> <error:value>"index"</error:value> >> </error:variable> <error:variable> <error:name >> >>xmlns="http://scholarsportal.info/xqmvc/core">controller-file</erro >>r:name> >> >><error:value>"/application/controllers/word.xqy"</error:value> >>; >> </error:variable> </error:variables> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> <error:frame> >> <error:uri>/</error:uri> >> <error:line>34</error:line> >> <error:column>8</error:column> <error:variables> >> <error:variable> <error:name >> xmlns="">controller</error:name> >> <error:value>"word"</error:value> >> </error:variable> <error:variable> <error:name >> xmlns="">function</error:name> >> <error:value>"index"</error:value> >> </error:variable> <error:variable> <error:name >> xmlns="">plugin</error:name> >> <error:value>""</error:value> </error:variable> >> <error:variable> <error:name >> xmlns="">log</error:name> >> <error:value>()</error:value> </error:variable> >> </error:variables> >> <error:xquery-version>1.0-ml</error:xquery-version> >> </error:frame> </error:stack> </error:error> >> >> Best Regards, >> >> Kashif Khan >> >> * >> * >> > > >-- >John Snelson, Lead Engineer http://twitter.com/jpcs >MarkLogic Corporation http://www.marklogic.com >_______________________________________________ >General mailing list >[email protected] >http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
