Offline caching of schemas in Oxygen
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Wed Mar 04, 2009 2:47 am
Offline caching of schemas in Oxygen
is there a way to easily cache schemas offline for use in the Oxygen XML eclipse plugin when working without internet access. I'd like this for autocomplete and schema validation. I've tried setting up XML catalogs in eclipse but haven't been able to get this approach to work with Oxygen (should it?) Is there another way?
I do notice that if I am connected to the internet when I open my document with Oxygen/Eclipse, it caches the schemas but if I open oxygen/eclipse fresh when not connected, I don't have a cache.
FYI, I have a rather large number of schemas and schema locations I am specifying and don't want to change the XML configuration if I don't have to in order to point to a local copy.
Thanks,
Ken
I do notice that if I am connected to the internet when I open my document with Oxygen/Eclipse, it caches the schemas but if I open oxygen/eclipse fresh when not connected, I don't have a cache.
FYI, I have a rather large number of schemas and schema locations I am specifying and don't want to change the XML configuration if I don't have to in order to point to a local copy.
Thanks,
Ken
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Offline caching of schemas in Oxygen
Post by sorin_ristache »
Hello,
Regards,
Sorin
If you want to use the schemas when you do not have Internet access you have to set an XML catalog from menu Window -> Preferences -> Oxygen -> XML -> XML Catalog that maps the locations of the schemas to the local schemas stored on your computer. You can see if the map locations are correctly specified in the XML catalog in the log messages of the catalog resolver. You enable log messages for the catalog resolver with the option Verbosity available from menu Window -> Preferences -> Oxygen -> XML -> XML Catalog.kyagen wrote:I've tried setting up XML catalogs in eclipse but haven't been able to get this approach to work with Oxygen (should it?) Is there another way?
The schema is cached in the Oxygen plugin when it it accessed the first time. If it was changed on disk you have to press the toolbar button Reset Cache and Validate. The caching is not saved to disk whe you close Eclipse so when you restart Eclipse the accessed schemas are cached again. That means without Internet access nothing is cached when you start Eclipse and validate an XML file in the Oxygen plugin.kyagen wrote:I do notice that if I am connected to the internet when I open my document with Oxygen/Eclipse, it caches the schemas but if I open oxygen/eclipse fresh when not connected, I don't have a cache.
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