code-viewer issueshttps://gitlab.gwdg.de/SADE/code-viewer/-/issues2021-07-02T12:21:55Zhttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/22syntax error2021-07-02T12:21:55ZStefan Hynekstefan.hynek@uni-goettingen.desyntax errorERROR (ExistXqueryRegistry.java [findServices]:271) - XQuery '/db/apps/code-view/rest.xq' could not be compiled! Unable to compile XQuery: /db/apps/code-view/rest.xq: err:XPST0003 Syntax error within user defined function code-viewer-res...ERROR (ExistXqueryRegistry.java [findServices]:271) - XQuery '/db/apps/code-view/rest.xq' could not be compiled! Unable to compile XQuery: /db/apps/code-view/rest.xq: err:XPST0003 Syntax error within user defined function code-viewer-rest:main: unexpected token: ( [at line 14, column 71]https://gitlab.gwdg.de/SADE/code-viewer/-/issues/21the one failing test2019-11-29T11:38:35ZMathias Goebelthe one failing testfrom my point of view it makes sense to set up one test false negative, as it requires a processing of test output and a procedure to count/handle failing tests. also it will check the test engine itself to report failing tests appropria...from my point of view it makes sense to set up one test false negative, as it requires a processing of test output and a procedure to count/handle failing tests. also it will check the test engine itself to report failing tests appropriately.
the one set up here is NOT failing:
https://gitlab.gwdg.de/SADE/code-viewer/blob/develop/test.xq#L23https://gitlab.gwdg.de/SADE/code-viewer/-/issues/20Changelog2019-11-29T13:07:39ZMichelle WeidlingChangelogThe code viewer should keep a proper changelog.The code viewer should keep a proper changelog.Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/19Update to eXist-db 5.2.02020-05-28T13:49:29ZMichelle WeidlingUpdate to eXist-db 5.2.0Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/18Attributes loose namespace2019-11-29T09:21:46ZMichelle WeidlingAttributes loose namespaceE.g. `xml:id` becomes `id`–which is wrong.E.g. `xml:id` becomes `id`–which is wrong.Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/17Double installation2020-05-26T09:15:51ZMichelle WeidlingDouble installationWhen executing `ant test` the master app as well as the dev app are installed.When executing `ant test` the master app as well as the dev app are installed.Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/16Error in tests2019-11-01T13:49:41ZMichelle WeidlingError in testsWhile installing one test fails:
```xml
<testcase name="hljs example" class="cv-test:test-basic-009">
<failure message="assertXPath failed." type="failure-error-code-1">deep-equal($result, &lt;xhtml:pre xmlns:xhtml="http://www.w3.or...While installing one test fails:
```xml
<testcase name="hljs example" class="cv-test:test-basic-009">
<failure message="assertXPath failed." type="failure-error-code-1">deep-equal($result, <xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml/"><xhtml:code class="xml hljs"><xhtml:span class="hljs-tag"><![CDATA[<]]><xhtml:span class="hljs-name">title</xhtml:span><![CDATA[>]]></xhtml:span>Title<xhtml:span class="hljs-tag"><![CDATA[<]]>/<xhtml:span class="hljs-name">title</xhtml:span><![CDATA[>]]></xhtml:span></xhtml:code></xhtml:pre>)</failure>
<output>
<xhtml:pre xmlns:xhtml="http://www.w3.org/1999/xhtml/">
<xhtml:code class="xml hljs">
<xhtml:span class="hljs-tag"><<xhtml:span class="hljs-name">title</xhtml:span>></xhtml:span>Title<xhtml:span class="hljs-tag"></<xhtml:span class="hljs-name">title</xhtml:span>></xhtml:span>
</xhtml:code>
</xhtml:pre>
</output>
</testcase>
```Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/15Docs2020-05-29T11:43:03ZMichelle WeidlingDocsAs it became clear today the docs provided aren't sufficient for getting the code viewer to work.As it became clear today the docs provided aren't sufficient for getting the code viewer to work.v5.1.0Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/14White spaces2019-06-05T11:03:45ZMichelle WeidlingWhite spacesThere are lots and lots of surplus white spaces in the BdN code view which indicates that something's wrong here.There are lots and lots of surplus white spaces in the BdN code view which indicates that something's wrong here.v4.1.0Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/13Ship with CSS2020-05-28T13:48:17ZMichelle WeidlingShip with CSSMaybe it's even more comfortable to ship the Code Viewer with all highlight.js-CSS files.Maybe it's even more comfortable to ship the Code Viewer with all highlight.js-CSS files.v5.0.0Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/12post-install.xq not executed2019-01-23T08:00:31ZMichelle Weidlingpost-install.xq not executedv4.1.0Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/11Test execution2019-01-23T08:00:10ZMichelle WeidlingTest executionWrong tests are executed when installing the app in SADE core.Wrong tests are executed when installing the app in SADE core.v4.1.0Michelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/10windows compatibility2019-01-18T16:33:24ZMathias Goebelwindows compatibilitystoring files on the hosting system, we remove windows compatibility by using unix-only paths like `/tmp`. we should omit this and rework to get the application OS independent.storing files on the hosting system, we remove windows compatibility by using unix-only paths like `/tmp`. we should omit this and rework to get the application OS independent.v4.0.0Mathias GoebelMathias Goebelhttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/9Error while installing the package in eXist-db2018-12-10T07:47:46ZMichelle WeidlingError while installing the package in eXist-dbWhen installing the package the following error message occurs:
> Error found while processing repo.xml: exerr:ERROR org.exist.xquery.XPathException: err:XPST0003 unexpected token: null [at line 7, column 1]
While this doesn't limit ...When installing the package the following error message occurs:
> Error found while processing repo.xml: exerr:ERROR org.exist.xquery.XPathException: err:XPST0003 unexpected token: null [at line 7, column 1]
While this doesn't limit the usage of the app, error messages are rather unpleasant.publicMichelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/8usage of deprecated functions2018-12-18T08:56:45ZMichelle Weidlingusage of deprecated functionsIn [post-install.xq](post-install.xq), the functions used for `$test` seem to be deprecated.In [post-install.xq](post-install.xq), the functions used for `$test` seem to be deprecated.publicMichelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/7Update name2018-12-08T22:35:38ZMichelle WeidlingUpdate nameMichelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/6Update README2018-12-17T12:32:11ZMichelle WeidlingUpdate READMEAdapt to new indentationAdapt to new indentationpublicMathias GoebelMathias Goebelhttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/5indention and context2018-12-06T10:10:53ZMathias Goebelindention and contextwhen using the module for xml fragments, the indention got messy when it regards the original document.
we should add an option to work without the context, so we can set own indention levels.
the observed output is like:
```xml
<node1>
...when using the module for xml fragments, the indention got messy when it regards the original document.
we should add an option to work without the context, so we can set own indention levels.
the observed output is like:
```xml
<node1>
<some-node>
<correct-indention/>
</node1>
```
to rewrite the text-nodes at the beginning, we can filter for `^\s*\n\s+$`.
another parameter is needed of course.publicMathias GoebelMathias Goebelhttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/4project visibility: internal2018-12-18T08:56:45ZMathias Goebelproject visibility: internalplease set to `public` whenever you think it is appropriate.
otherwise please assign the "public" milestone to all issues to be fixed at first.please set to `public` whenever you think it is appropriate.
otherwise please assign the "public" milestone to all issues to be fixed at first.publicMichelle WeidlingMichelle Weidlinghttps://gitlab.gwdg.de/SADE/code-viewer/-/issues/3Documentation2018-08-10T14:57:57ZMichelle WeidlingDocumentationAdd proper documentation.Add proper documentation.Michelle WeidlingMichelle Weidling