ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Unable to validate URDF file

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

badrobit gravatar image

I am trying to validate this basic URDF file:

<?xml version="1.0"?>
<robot xmlns:xacro="" name="rover">

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


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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



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

Seen: 312 times

Last updated: Apr 22 '21