Windows Scripts
Windows scripts have the following general features:
- Scripts with file output can send their output to stdout which can also be piped to another script (
*2MusicXmland*2Lyscripts) /hand--helpoptions
The scripts are part of the installation, and are also available separately in a zip file here.
XML Validation
The
musicXmlValidate script validates a MusicXML file against the MusicXml 4.0 schema.
All of the musicXml2* conversion scripts validate the file before processing as well.
A validation failure will result in the conversion not being run.
Validation uses the encoding indicated by the encoding attribute of the XML declaration, by default
UTF-8.
In some cases, validation will fail when the encoding is given as
UTF-8,
and issue an error of this type:
Invalid byte 2 of 3-byte UTF-8 sequence
Usually, manually changing the encoding attribute value to
ISO-8859-1 will result in a successful validation.