-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
docType:bibliobugs and features related to the display of biblio entriesbugs and features related to the display of biblio entries
Milestone
Description
There seems to be one failure and one error in the biblio unit tests:
- error on
bt:test-collectionTitlewithA110745:
<testcase name="test-collectionTitle" class="bt:test-collectionTitle">
<error
type="java:org.exist.xquery.XPathException"
message="exerr:ERROR The actual return type does not match the sequence type declared
in the function's signature: bt:test-collectionTitle(xs:string) element().
Expected cardinality: exactly one, got 0. [at line 45, column 37, source:
String/-8763405129179873634]
In function:
	bt:test-collectionTitle(xs:string)
[11:5:/db/Steffen/xqsuite/biblio-tests.xqm]
	test:apply(function(*), item()*)
[581:9:jar:file:/opt/exist/lib/exist-core-6.3.0.jar!/org/exist/xquery/lib/xqsuite/xqsuite.xql]
	test:apply(function(*), element(function), item()*)
[488:9:jar:file:/opt/exist/lib/exist-core-6.3.0.jar!/org/exist/xquery/lib/xqsuite/xqsuite.xql]
	test:call-test(function(*), element(function), element(annotation)*)
[300:32:jar:file:/opt/exist/lib/exist-core-6.3.0.jar!/org/exist/xquery/lib/xqsuite/xqsuite.xql].
The actual return type does not match the sequence type declared in the function's signature:
bt:test-collectionTitle(xs:string) element(). Expected cardinality: exactly one, got 0."/>
</testcase>
- failure on
bt:test-printIncollectionCitationwithA110181:
<testcase name="test-printIncollectionCitation" class="bt:test-printIncollectionCitation">
<failure message="assertEquals failed." type="failure-error-code-1">
<xhtml:div xmlns:xhtml='http://www.w3.org/1999/xhtml'><xhtml:span class='author'>Michael Charles Tusa</xhtml:span>, <xhtml:span class='title'>Carl Maria (Friedrich Ernst) von Weber</xhtml:span>, in: <xhtml:span class='collectionTitle'>The New Grove. Dictionary of Music and Musician. Second Edition</xhtml:span>, hg. von <xhtml:span class='editor'>Stanley Sadie</xhtml:span>, <xhtml:span class='placeNYear'>London 2001</xhtml:span>, S. 135–172</xhtml:div>
</failure>
<output>
<xhtml:div xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:span class="author">Michael Charles Tusa</xhtml:span>, <xhtml:span class="title">Carl Maria (Friedrich Ernst) von Weber</xhtml:span>, in: <xhtml:span class="collectionTitle">The New Grove. Dictionary of Music and Musician. Second Edition</xhtml:span>
<xhtml:span class="vol">, Bd. 27</xhtml:span>, hg. von <xhtml:span class="editor">Stanley Sadie</xhtml:span>, <xhtml:span class="placeNYear">London 2001</xhtml:span>, S. 135–172</xhtml:div>
</output>
</testcase>
-> Here the volume information appears to be missing
Metadata
Metadata
Assignees
Labels
docType:bibliobugs and features related to the display of biblio entriesbugs and features related to the display of biblio entries