Show formatting formatting signs for texts on exist-db

Having trouble installing Oxygen? Got a bug to report? Post it all here.
kwun
Posts: 12
Joined: Fri Mar 04, 2022 12:27 pm

Show formatting formatting signs for texts on exist-db

Post 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
image.png (7.82 KiB) Viewed 834 times
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
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kwun
Posts: 12
Joined: Fri Mar 04, 2022 12:27 pm

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

Post by kwun »

Hi,

Thanks for your suggestion - I checked this and the nbsps are found.
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kwun
Posts: 12
Joined: Fri Mar 04, 2022 12:27 pm

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

Post 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.
kwun
Posts: 12
Joined: Fri Mar 04, 2022 12:27 pm

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

Post 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?
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kwun
Posts: 12
Joined: Fri Mar 04, 2022 12:27 pm

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

Post 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 :-)
Post Reply