ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Unable to validate URDF file

asked 2016-12-08 15:07:56 -0500

badrobit gravatar image

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?

edit retag flag offensive close merge delete

Comments

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

Does anyone have any suggestions about a solution?

roughtyper gravatar image roughtyper  ( 2019-11-01 10:12:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-22 21:38:27 -0500

ratz gravatar image

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

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-12-08 15:07:56 -0500

Seen: 356 times

Last updated: Apr 22 '21