XSD schema for validating ROS2 XML launch files. Catch syntax errors before runtime and get IDE support.
Start your launchfile like this:
<?xml version="1.0"?>
<?xml-model href="https://raw.githubusercontent.com/nobleo/ros2_launch_validation/main/ros2_launch.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<launch>Validate the launchfiles in your package:
wget -O ros2_launch.xsd https://raw.githubusercontent.com/nobleo/ros2_launch_validation/main/ros2_launch.xsd
xmllint --noout --schema ros2_launch.xsd **/*.launch.xml