Changes between Version 1 and Version 2 of Setting_Schema_Location
- Timestamp:
- Jan 26, 2010, 3:36:25 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Setting_Schema_Location
v1 v2 1 According to the [http://www.thaiopensource.com/relaxng/design.html#section:17 documentation of Relax NG], there is no way of telling a document the location of the Relax NG Schema as it is possible with a DTD. As our main editor at the moment is oxygen, either a processing instruction has to be entered into the xml-file, or a validation scenario has to be entered into oxygen (via Dokument > Validieren > Konfiguriere Validierungsszenario).1 According to the [http://www.thaiopensource.com/relaxng/design.html#section:17 documentation of Relax NG], there is no way of telling a document the location of the Relax NG Schema as it is possible with a DTD. As our main editor at the moment is [http://www.oxygenxml.com oxygen], either a processing instruction has to be entered into the xml-file, or a validation scenario has to be entered into oxygen (via Dokument > Validieren > Konfiguriere Validierungsszenario). 2 2 3 3 In order to keep things clean and not confuse the user with relative paths to a local copy, a link to the Relax NG schema on this server can be entered. However, as this server can be reached only via https, oxygen itself has to be configured to accept a secure connection. 4 4 5 For this purpose, the certificate of the it-dev server has to be downloaded and stored in the keychain (when on Mac OS). Then, edit oxygen's Info.plist and add5 For this purpose, the SSL certificate of the it-dev server has to be downloaded and stored in the in the Java keystore. On Mac OS, this can be done via Keychain (Schlüsselbundverwaltung). 6 6 7 Then, edit oxygen's Info.plist with the {{{Property List Editor}}} and add two lines under Java > Properties: 8 9 * Key: {{{javax.net.ssl.trustStoreProvider}}}, Value: {{{Apple}}} (String) 10 * Key: {{{javax.net.ssl.trustStoreType}}}, Value: {{{KeyChainStore}}} (String) 11 12 13 You can also paste the following snippet directly into the {{{Info.plist}}} (in Java/Properties) 7 14 {{{ 8 15 <key>javax.net.ssl.trustStoreProvider</key> … … 12 19 }}} 13 20 14 under Java > Properties.21 Note that the {{{Info.plist}}} file is overwritten with every update of Oxygen. 15 22 16 The link to the latest version of the schema root is {{{https://it-dev.mpiwg-berlin.mpg.de/svn/mpdl-project-content/trunk/schema/echo/echo.rnc}}} 23 The link to the latest version of the schema root is {{{https://it-dev.mpiwg-berlin.mpg.de/svn/mpdl-project-content/trunk/schema/schema/echo/echo.rnc}}} 24 25 26 Fingerprints of the key: 27 28 SHA1: {{{FA 59 20 79 0E 28 80 18 CA 2D 00 F1 B2 18 EA B7 00 F1 51 BE}}} 29 MD5: {{{10 FB 77 75 C4 3A 30 62 BE 20 77 D5 51 F2 E0 C8}}} 30 31