EnglishFrenchSpanish

OnWorks favicon

pegasus-dax-validator - Online in the Cloud

Run pegasus-dax-validator in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pegasus-dax-validator that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pegasus-dax-validator - determines if a given DAX file is valid.

SYNOPSIS


pegasus-dax-validator daxfile [verbose]

DESCRIPTION


The pegasus-dax-validator is a simple application that determines, if a given DAX file is
valid XML. For this, it parses the file with as many XML validity checks that the Apache
Xerces XML parser framework supports.

OPTIONS


daxfile
The location of the file containing the DAX.

verbose
If any kind of second argument was specified, not limited to the string verbose, the
verbose output mode is switched on.

RETURN VALUE


If the DAX was parsed successfully, or only warning’s were issued, the exit code is 0. Any
'error or fatal error will result in an exit code of 1.

Additionally, a summary statistics with counts of warnings, errors, and fatal errors will
be displayed.

EXAMPLE


The following shows the parsing of a DAX file that uses the wrong kind of value for
certain enumerations. The output shows the errors with the respective line number and
column number of the input DAX file, so that one can find and fix them more easily. (The
lines in the example were broken to fit the manpage format.)

$ pegasus-dax-validator bd.dax
ERROR in line 14, col 110: cvc-enumeration-valid: Value 'i386' is not
facet-valid with respect to enumeration '[x86, x86_64, ppc, ppc_64,
ia64, sparcv7, sparcv9, amd64]'. It must be a value from the
enumeration.
ERROR in line 14, col 110: cvc-attribute.3: The value 'i386' of
attribute 'arch' on element 'executable' is not valid with respect to
its type, 'ArchitectureType'.
ERROR in line 14, col 110: cvc-enumeration-valid: Value 'darwin' is
not facet-valid with respect to enumeration '[aix, sunos, linux, macosx,
windows]'. It must be a value from the enumeration.
ERROR in line 14, col 110: cvc-attribute.3: The value 'darwin' of
attribute 'os' on element 'executable' is not valid with respect to
its type, 'OSType'.

0 warnings, 4 errors, and 0 fatal errors detected.

Use pegasus-dax-validator online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

  • 1
    a2j_control
    a2j_control
    a2j_control - utility to control
    a2jmidid daemon ...
    Run a2j_control
  • 2
    a2mp3
    a2mp3
    a2mp3 - program to optimize your music
    for your mp3 player ...
    Run a2mp3
  • 3
    create_common
    create_common
    ctn_manpage - Generic CTN manual page
    DESCRIPTION: This is a generic manual
    package for a CTN program. All CTN
    programs will give their brief usage
    synopsis wh...
    Run create_common
  • 4
    create_compressed_fs
    create_compressed_fs
    create_compressed_fs,
    extract_compressed_fs - convert and
    extract a filesystem to/from a cloop
    volume ...
    Run create_compressed_fs
  • 5
    gapi2-codegen
    gapi2-codegen
    undocumented - No manpage for this
    program. DESCRIPTION: This program does
    not have a manpage. Run this command
    with the help switch to see what it
    does. For f...
    Run gapi2-codegen
  • 6
    gapi2-fixup
    gapi2-fixup
    undocumented - No manpage for this
    program. DESCRIPTION: This program does
    not have a manpage. Run this command
    with the help switch to see what it
    does. For f...
    Run gapi2-fixup
  • More »

Ad