Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found a useful tool (xmllint) to make sure all of my SDF file are valid. It's actually a general tool from XML files

Just run, for example:

xmllint ~/.gazebo/models/ground_plane/model.sdf

If you just get the content of the file as output, then your SDF file is valid, otherwise you'd get errors.

It helps a lot. But I still run into issues that are specific to SDF files, so if there's a better tool it'll be great.

I found a useful tool (xmllint) to make sure all of my SDF file are valid. It's actually a general tool from for XML filesfiles, so it also works for config files for example.

Just run, for example:

xmllint ~/.gazebo/models/ground_plane/model.sdf

If you just get the content of the file as output, then your SDF file is valid, otherwise you'd get errors.

It helps a lot. But I still run into issues that are specific to SDF files, so if there's a better tool it'll be great.