-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fails to load Source with linebreak in <title> #103
Comments
As this issue is quite old, we should first try to reproduce it before we take further steps. |
cannot reproduce, closing |
As mentioned in #337 this had to do with the text not being normalised. Currently it works for @riedde Just paste #103 (comment) as titleStmt in a TEI file and you get a HTTP 4000 Bad Request, the content window in the Edirom stays blank: <?xml version="1.0" ?><exception><path>/db/apps/Edirom-Online/data/xql/getLinkTarget.xql</path><message>exerr:ERROR The actual return type does not match the sequence type declared in the function's signature: eutil:getLocalizedTitle(node(), xs:string?) xs:string. Expected cardinality: exactly one, got 2. [at line 105, column 41, source: /db/apps/Edirom-Online/data/xql/getLinkTarget.xql]
In function:
eutil:getLocalizedTitle(node(), xs:string?) [181:10:/db/apps/Edirom-Online/data/xqm/util.xqm]
local:getWindowTitle(node()+, xs:string) [311:18:/db/apps/Edirom-Online/data/xql/getLinkTarget.xql]</message></exception> |
Yes, there's a lot of problematic $foo := <foo>text1<!-- comment --> text2 </foo>
|
That said, E.g., |
I'm not sure if this works, because mei:title can contain multiple nodes. I introduced a function doing this job in #426 |
e.g.
The text was updated successfully, but these errors were encountered: