Robotics StackExchange | Archived questions

Unable to validate URDF file

I am trying to validate this basic URDF file:

<?xml version="1.0"?>
<robot xmlns:xacro="http://ros.org/wiki/xacro" name="rover">
</robot>

When using XML Copy Editor I am able to have it pass the well-formed check but when I try to validate it I get the following error:

Error at line 2, column 65: no declaration found for element 'robot'

Is there something anyone can see in this basic URDF file that is invalid or why it is unable to find the element for robot?

Asked by badrobit on 2016-12-08 16:07:56 UTC

Comments

I'm touching this question because I'm having exactly the same problem.

Does anyone have any suggestions about a solution?

Asked by roughtyper on 2019-11-01 10:12:43 UTC

Answers

It might be the reason that usage of xmlns:xacro in xml file must have .xacro as extension as against to .urdf

Asked by ratz on 2021-04-22 21:38:27 UTC

Comments