Skip to content
Snippets Groups Projects
Forked from ogs / ogs
8711 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
date = "2018-11-14T11:00:13+01`:00"
title = "Project file syntax"
author = "Lars Bilke"
weight = 3

[menu]
  [menu.userguide]
    parent = "troubleshooting"

Check project file syntax with xmllint

Project files .prj have to be valid XML documents. You can check the formatting with the xmllint-tool:

xmllint --noout myproj.prj

Install xmllint

We recommend to install via Chocolatey:

choco install xsltproc

Alternative installation

Another method is to use the Windows Subsystem for Linux where you can simply install Linux packages:

sudo apt-get install libxml2-utils
sudo apt-get install libxml2-utils
`xmllint` is part of the Homebrew xmlstarlet package:
brew install xmlstarlet