Skip to content

[BUG] Long lines in output area not wrapped #326

@mweidling

Description

@mweidling

Describe the bug

After evaluating a query, the output is displayed in the output area of eXide.
Since eXist-db 5.3.0 long output that exceeds the width of the output area is not wrapped anymore.

I observed this behaviour both in FF 89.0.2 (64-bit) for Ubuntu and Chrome Version 91.0.4472.114 (Official Build) (64-bit) on Xubuntu.

Expected behavior

If an output's horizontal extension exceeds the output area's width, the text should be wrapped so that I can see the output completely.

To Reproduce

  1. Get an XML file with a large amount of text (e.g. https://www.deutschestextarchiv.de/book/download_xml/goethe_leben01_1811) and store it in eXist-db 5.3.0
  2. Write a small query that returns the text nodes of said file, e.g.
doc("/db/goethe_leben01_1811.TEI-P5.xml")//tei:TEI//text() 
=> string-join("")
=> replace("[\t\n]", " ")
  1. Observe the output area. The text is cut instead of wrapped.

Screenshots

Output in eXist-db 5.2.0:

Screenshot_2021-07-07_08-31-00

Output in eXist-db 5.3.0

Screenshot_2021-07-07_08-31-19

Context (please always complete the following information):

  • OS: Xubuntu 18.04 LTS
  • eXist-db Version: 5.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions