Element folding not entirely persistent
Oxygen general issues.
-
- Posts: 17
- Joined: Wed Jan 11, 2017 11:27 pm
Element folding not entirely persistent
Post by EarlMorton »
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!
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!
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Element folding not entirely persistent
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 17
- Joined: Wed Jan 11, 2017 11:27 pm
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Element folding not entirely persistent
Hi,
That maximum number of files for which we preserve the fold information seems to be 50. When the 51'st file is opened/closed, the information for the first file for which the folding was preserved will be lost.
Regards,
Radu
That maximum number of files for which we preserve the fold information seems to be 50. When the 51'st file is opened/closed, the information for the first file for which the folding was preserved will be lost.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service