Revision history [back]

Tools to validate SDF files with

Hi,

I'm following the Gazebo tutorials on making a model. I decided to manually write the SDF file instead of copy pasting from the tutorial, so that I would learn better. I am now attempting to load the file in Gazebo and I get the following error:

Error [parser.cc:292] Error parsing XML in file [/home/mkhoory/gazebo/models/box.sdf]: Error reading end tag.
[Err] [Server.cc:391] Unable to read sdf file[models/box.sdf]


My question is: is there a tool I can use to validate the SDF file? I can't seem to find anyone mentioning any tool, and the error message from gazebo is unhelpful because it doesn't give me a line number in the very least.

Really all I want is the line number of where the problem is for when I load it with gazebo.