Page 1 of 1

Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 8:14 am
by kwun
Hi there,

I have the following problem:
When I work with texts that are stored on my computer (Kubuntu 22.04, updated today, OxygenXML 24.1 updated a few days ago), I can see the enabled NBSPs and tabs that I want to see, that I have enabled in Options>Editor
image.png
However, these are not displayed when I'm opening a text that is uploaded to exist-db (5.3) and opened in OxygenXML. I don't know what happens here but can I somehow get these back? We heavily use NBSPs over regular spaces and this would really make work easier :-D

All the best,
K

Re: Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 8:25 am
by Radu
Hi,

After you open the XML file from Exist DB you can the Ctrl-F shortcut to open Oxygen's Find/Replace dialog, check the "Regular expression" checkbox and search for "\u00a0" (without the quotes). Does it find any such nbsp characters in the file? If not, I suspect the Exist server has altered the saved XML content as it sometimes has the habit of changing the saved XML content and indenting it.
Maybe if you disable indentation on the server side in the conf.xml file it might help:
https://exist-db.org/exist/apps/doc/web ... ialization

Regards,
Radu

Re: Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 8:49 am
by kwun
Hi,

Thanks for your suggestion - I checked this and the nbsps are found.

Re: Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 10:21 am
by Radu
Hi,

If the nbsp characters are there, I'm not sure why this would not work for you. Oxygen presents the same visual markers no matter from where the XML file was opened. I tested on my side and the markers should be presented if in the Preferences->"Editor" page the "Show tabs/nbsp/eol/eof" checkbox is checked (and I see that you have it checked).

Regards,
Radu

Re: Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 11:11 am
by kwun
I just realised that it gets even weirder:
Some texts work, others don't. I have no clue what this could be, to be honest.

Our Team is working with Windows and Linux(me and my boss), but that should not be an issue.

Re: Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 12:34 pm
by kwun
To add to this:
Some texts that work on my machine don't work on a colleague's machine (running Win10).
So far, we cannot predict what happens & when. Should I open a qualified bug report somewhere?

Re: Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 12:44 pm
by Radu
Hi,
Some texts that work on my machine don't work on a colleague's machine (running Win10).
Does your colleague have that particular setting checked for displaying tab/eol/nbsp's? Because by default the setting is not checked.
So far, we cannot predict what happens & when. Should I open a qualified bug report somewhere?
If you have a certain XML file for which you can reproduce the problem (and you know it contains the nbsp character), then save this XML file on disk and re-open it in Oxygen, does the problem also occur for the file which is now opened from the local disk? If you can provide us with a sample test file with which you can consistently reproduce the problem I could add an internal issue to look more into this:
https://www.oxygenxml.com/techSupport.html
I can add an internal issue also if you do not provide a sample test file but as I cannot reproduce the problem on our side probably our quality assurance team will also not be able to reproduce it on our side.

Regards,
Radu

Re: Show formatting formatting signs for texts on exist-db

Posted: Wed May 11, 2022 3:31 pm
by kwun
will check that tomorrow and deliver xmls that work on my machine and some that don't work :-)
Thank you for your help :-)