Dev:versioning: Difference between revisions
[unchecked revision] | [unchecked revision] |
m (Category added) |
('Exchange a railML file based on unstable schemas' added) |
||
Line 11: | Line 11: | ||
* HTML documentation in <tt>documentation</tt> folder | * HTML documentation in <tt>documentation</tt> folder | ||
Current stable release is railML 2. | Current stable release is railML 2.1. | ||
=== Older stable releases === | === Older stable releases === | ||
Line 49: | Line 49: | ||
* Current defect XML sample files for semantic validation purposes in <tt>defectSamples</tt> folder | * Current defect XML sample files for semantic validation purposes in <tt>defectSamples</tt> folder | ||
* blank <tt>documentation</tt> folder | * blank <tt>documentation</tt> folder | ||
==== Exchange a railML file based on unstable schemas ==== | |||
The following XML fragment shows how to exchange railML files using unstable railML schemas. | |||
<pre> | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<railml version="2.1r416" | |||
xmlns="http://www.railml.org/schemas/2011" | |||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |||
xsi:schemaLocation="http://www.railml.org/schemas/2011 http://trac.assembla.com/railML/export/416/trunk/schema/railML.xsd"> | |||
... | |||
</railml> | |||
</pre> | |||
* Use the last released version number plus the current SVN number: {{Attr|version<nowiki>=</nowiki>"2.1r416"}} | |||
* Use the last released namespace | |||
** as default namespace: {{Attr|xmlns<nowiki>="http://www.railml.org/schemas/2011"</nowiki>}} | |||
** as prefixed namespace: {{Attr|xmlns:rail<nowiki>="http://www.railml.org/schemas/2011</nowiki>"}} (not shown above) | |||
* Use the appropriate web-based Schema location at Assembla: {{Attr|xsi:schemaLocation<nowiki>="http://www.railml.org/schemas/2011 http://trac.assembla.com/railML/export/416/trunk/schema/railML.xsd"</nowiki>}} | |||
For local validation purposes, see [[CO:catalog|Local versus web-based validation (XML catalogs and XML namespaces)]] | |||
== Supervise current development without download == | == Supervise current development without download == |
Revision as of 22:58, 13 April 2012
Download railML
Current stable release
In order to get the current stable railML package, click Download released version on the railML homepage.
The package consists of an zip archive containing:
- XML Schema files in schema folder
- XML example files in examples folder
- HTML documentation in documentation folder
Current stable release is railML 2.1.
Older stable releases
Older officially released railML versions are archived at the railML homepage. Click Development > Download > archives or this direct link.
All downloads are zip archived.
Developer unstable releases
Since railML 1.1 the development of railML can be publicly supervised through the public subversion repository located at Assembla.
Subversion is an open source version control system. All code changes are registered with date and time together with its commiter and a commit log message.
Regularly downloads
If you want to keep track of all code commits, you should use an subversion client. See Assembla hints for subversion client software.
- Change to your local railML folder.
- First time: checkout the current repository (all changes since version 1.1 - lasted 21 seconds up to revision 377).
svn co http://svn2.assembla.com/svn/railML/
- Further: update your local repository copy as often as you want (all recent changes since last svn update).
svn up http://svn2.assembla.com/svn/railML/
You get railML files according to its repository folders.
Most recent snapshot
If you don't run an subversion client, you can nevertheless get a copy of the most recent developer version.
Simply click Developer version on the railML homepage to download an zip archive of repositories' trunk folder.
The zip archive contains:
- Current XML Schema files in schema folder
- Current XML example files in examples folder
- Current defect XML sample files for semantic validation purposes in defectSamples folder
- blank documentation folder
Exchange a railML file based on unstable schemas
The following XML fragment shows how to exchange railML files using unstable railML schemas.
<?xml version="1.0" encoding="UTF-8"?> <railml version="2.1r416" xmlns="http://www.railml.org/schemas/2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.railml.org/schemas/2011 http://trac.assembla.com/railML/export/416/trunk/schema/railML.xsd"> ... </railml>
- Use the last released version number plus the current SVN number: version="2.1r416"
- Use the last released namespace
- as default namespace: xmlns="http://www.railml.org/schemas/2011"
- as prefixed namespace: xmlns:rail="http://www.railml.org/schemas/2011" (not shown above)
- Use the appropriate web-based Schema location at Assembla: xsi:schemaLocation="http://www.railml.org/schemas/2011 http://trac.assembla.com/railML/export/416/trunk/schema/railML.xsd"
For local validation purposes, see Local versus web-based validation (XML catalogs and XML namespaces)
Supervise current development without download
The public web-based Subversion repository offers public supervision of current development without downloading some file.
List of recent code changes
Assembla provides a Stream tab to show a list of recent code commits, you can profile the output with the Filter on the righten side. Just have a look what the coordinators commited last time.
The same code commits are listed in the Assembla Trac Timeline view which can be profiled with parameters of the grey box at righten side: choose Repository checkins.
Browse the source files
[to be written]
Revision log
[to be written]
Subversion repository folders
[to be written]
branches
[to be written]
tags
[to be written]
trunk
[to be written]
Back to Common overview