Renate Groen-Waaijer wrote:
>  
> 
> A client of us is using the XMLMind XML Editor for creating all their
> xml documents.
> 
> To validate these xml documents they all use the same XML Scheme.
> 
> Since this scheme is every now and then being updated, we are wondering
> if they could put the schema on a central server, so that if we have a
> new scheme, we only have to replace the scheme on the server and not on
> every single PC. Can you please inform me if it is possible to have
> XMLMind working with a scheme, which is placed on a server?
> 

Yes, there should be no problem at all. You just need to disable the
*schema* *cache*.

In order to do that you may use the "-putpref useDocTypeCache false"
command line option. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.dialog.PreferencesEditorDialog.html#advancedOptions
and
http://www.xmlmind.com/xmleditor/_distrib/doc/help/command_line_usage.html

In practice,

* if XXE is started using xxe.exe, edit xxe.jstart using notepad and add
line:
---
-putpref useDocTypeCache false
---
*after* line:
---
com.xmlmind.xmleditapp.start.Start
---

* If XXE is started using Java Web Start, you may specify the "-putpref
useDocTypeCache false" command line option in the .jnlp file. Edit
xxe.jnlp using a text editor and replace:

  <application-desc main-class="com.xmlmind.xmleditapp.start.WebStart"/>

by:

  <application-desc main-class="com.xmlmind.xmleditapp.start.WebStart">
    <argument>-putpref</argument>
    <argument>useDocTypeCache</argument>
    <argument>false</argument>
  </application-desc>


Reply via email to