mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Merge remote-tracking branch 'upstream/develop' into python-api
This commit is contained in:
commit
f59e0afcff
10 changed files with 2144 additions and 42 deletions
|
|
@ -57,13 +57,7 @@ Validating XML Files
|
|||
|
||||
Input files can be checked before executing OpenMC using the ``xml_validate``
|
||||
script. It is located in ``src/utils/xml_validate.py`` in the source code or in
|
||||
``bin/xml_validate`` in the install directory. Before use, the third party
|
||||
package TRANG_ must be installed and in your ``PATH`` to convert the compact
|
||||
RelaxNG schema to standard RelaxNG format. For Ubuntu, you can install with:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo apt-get install trang
|
||||
``bin/xml_validate`` in the install directory.
|
||||
|
||||
Two command line arguments can be set when running ``xml_validate``:
|
||||
|
||||
|
|
@ -84,7 +78,6 @@ Message Description
|
|||
======================== ===================================
|
||||
[XML ERROR] Cannot parse XML file.
|
||||
[NO RELAXNG FOUND] No RelaxNG file found for XML file.
|
||||
[TRANG FAILED] TRANG not installed properly.
|
||||
[NOT VALID] XML file does not match RelaxNG.
|
||||
[VALID] XML file matches RelaxNG.
|
||||
======================== ===================================
|
||||
|
|
@ -98,8 +91,6 @@ the following command:
|
|||
|
||||
/opt/openmc/0.6.2/bin/xml_validate
|
||||
|
||||
.. _TRANG: http://www.thaiopensource.com/relaxng/trang.html
|
||||
|
||||
--------------------------------------
|
||||
Settings Specification -- settings.xml
|
||||
--------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue