Element folding not entirely persistent

<oXygen/> general issues.
EarlMorton
Posts: 17

Element folding not entirely persistent

Fri Dec 21, 2018 7:43 pm

I am working with a set of 97 XML Schema modules. The authors of these schemas went way overboard (in my opinion) with <xs:annotation> elements. For example, almost every element in the set has an @id attribute, and in every type definition where the @id is declared, there is an <xs:annotation> indicating that the attribute is "Optional id for data management." I really don't need to see that annotation every single time I see the attribute declaration! It just clutters the schemas and makes them harder to read. This is just one of many examples of excessive <xs:annotation>s.

So I went through all the modules and folded all the annotations. When I reopen some of the modules, the folding is persistent, as the Help says it shoudl be (https://www.oxygenxml.com/doc/versions/ ... ext%2Cmode), but sometimes it is not. It's been hard for me to discover a definite pattern, but my best guess is that oXygen has a limit to how many schema modules it can keep track of the folding status for, and that 97 exceeds that limit.

Can you confirm that, or perhaps suggest something that I'm doing wrong that causes oXygen to lose the folding?

Thanks!
Radu
Posts: 6050

Re: Element folding not entirely persistent

Mon Dec 24, 2018 10:49 am

Dear Earl,

We do have a maximum limit of folds that are persistently remembered and probably indeed you are overflowing that maximum.
I will add an internal issue to see how we could better handle such situations on our side.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
EarlMorton
Posts: 17

Re: Element folding not entirely persistent

Wed Jan 02, 2019 6:15 pm

OK--thanks, Radu!

Earl

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 0 guests