Automatic schema sync for open files upon schema change
Are you missing a feature? Request its implementation here.
-
- Posts: 2
- Joined: Wed Nov 21, 2007 10:41 am
- Location: Israel
Automatic schema sync for open files upon schema change
Our application uses XML files from which we generate XSD files during save (we have an eclipse builder plugin). The generated XSDs are defined as the schema of our XML files (each eclipse project has an XSD that imports XSDs from projects on which it depends).
The schemas change frequently (every few seconds) and are very large (e.g. 120,000 lines of XML in one project).
Our developers are used to clicking the "reset caches and validate" button after each save (actually they are used to click this button twice because many times once is not enough).
It would increase our productivity significantly if this will be done automatically whenever a schema changed (e.g. upon save, check if the schema changed and reload it if needed).
The schemas change frequently (every few seconds) and are very large (e.g. 120,000 lines of XML in one project).
Our developers are used to clicking the "reset caches and validate" button after each save (actually they are used to click this button twice because many times once is not enough).
It would increase our productivity significantly if this will be done automatically whenever a schema changed (e.g. upon save, check if the schema changed and reload it if needed).
Atzmon Hen-tov
Chief Software Architect
Mobile: +972-50-899-1109
E-mail: atzmon@pontis.com
Fax: +972-9-954-8580
http://www.pontis.com
Chief Software Architect
Mobile: +972-50-899-1109
E-mail: atzmon@pontis.com
Fax: +972-9-954-8580
http://www.pontis.com
-
- Posts: 9505
- Joined: Fri Jul 09, 2004 5:18 pm
Dear Atzmon,
The normal validation detects if the schema used directly by the XML file was modified by looking at the timestamp and automatically resets the schemas cache.
The problem seems to be that the XSD schema directly used by the XML file remains unmodified and that's why the editors need to press "Reset cache and validate" in order to reset the schemas cache.
I suppose you already have the "Check errors on save" option available in the "Options->Preferences->Editor->Open/Save" page.
As a workaround when you modify any of the indirectly imported schemas you also have to touch (update the timestamp) on the main schema imported directly by the XML file.
If this is not possible for you we will consider adding an Oxygen option to "reset cache" on save.
Regards,
Radu
The normal validation detects if the schema used directly by the XML file was modified by looking at the timestamp and automatically resets the schemas cache.
The problem seems to be that the XSD schema directly used by the XML file remains unmodified and that's why the editors need to press "Reset cache and validate" in order to reset the schemas cache.
I suppose you already have the "Check errors on save" option available in the "Options->Preferences->Editor->Open/Save" page.
As a workaround when you modify any of the indirectly imported schemas you also have to touch (update the timestamp) on the main schema imported directly by the XML file.
If this is not possible for you we will consider adding an Oxygen option to "reset cache" on save.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Wed Nov 21, 2007 10:41 am
- Location: Israel
Hi Radu,
Thanks for the prompt reply. We will try the touch as you proposed.
Regards,
Atzmon
Thanks for the prompt reply. We will try the touch as you proposed.
Regards,
Atzmon
Atzmon Hen-tov
Chief Software Architect
Mobile: +972-50-899-1109
E-mail: atzmon@pontis.com
Fax: +972-9-954-8580
http://www.pontis.com
Chief Software Architect
Mobile: +972-50-899-1109
E-mail: atzmon@pontis.com
Fax: +972-9-954-8580
http://www.pontis.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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