Clearing the schema cache
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 8
- Joined: Wed Jan 19, 2005 10:18 pm
Clearing the schema cache
I'm using oXygen 6.1
oXygen seems to cache schema (.xsd) files e.g., for File/New. It doesn't seem to use the cache for validation.
Is there a way to clear the cache? Currently I have to restart the application.
Thanks
oXygen seems to cache schema (.xsd) files e.g., for File/New. It doesn't seem to use the cache for validation.
Is there a way to clear the cache? Currently I have to restart the application.
Thanks
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
For validation it is used the schema associated with the document. The schema is not cached. If you associate other schema / change the content of the schema validation uses the new schema / the new content of the schema. In this way it is used the latest version of the schema for validating the edited document. Please give an example of document and schema with steps to reproduce the case when you have to restart the application for using the latest schema.
Best Regards,
Sorin
For validation it is used the schema associated with the document. The schema is not cached. If you associate other schema / change the content of the schema validation uses the new schema / the new content of the schema. In this way it is used the latest version of the schema for validating the edited document. Please give an example of document and schema with steps to reproduce the case when you have to restart the application for using the latest schema.
Best Regards,
Sorin
-
- Posts: 8
- Joined: Wed Jan 19, 2005 10:18 pm
Create a schema that has a few elements where minOccurs>0 and use File/New to create a new XML document that references it.
Then modify the schema. Remove the elements for example.
Use File/New to create a new XML document. The elemnets that were previous "minOccurs > 0" still appear when in fact they have been removed from the schema.
Then modify the schema. Remove the elements for example.
Use File/New to create a new XML document. The elemnets that were previous "minOccurs > 0" still appear when in fact they have been removed from the schema.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
I just tried to create a new XML document with File -> New -> XML Document based on a XML Schema before and after I changed the schema by removing an element with minOccurs > 0. The latest version of the XSD file is used always. Did you save the XSD file after removing the elements ?
Best Regards,
Sorin
I just tried to create a new XML document with File -> New -> XML Document based on a XML Schema before and after I changed the schema by removing an element with minOccurs > 0. The latest version of the XSD file is used always. Did you save the XSD file after removing the elements ?
Best Regards,
Sorin
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