Skip to content

validate_package_xml: check with xmllint - #85

Merged
scpeters merged 2 commits into
noblefrom
scpeters/package_xmllint
Sep 2, 2025
Merged

validate_package_xml: check with xmllint#85
scpeters merged 2 commits into
noblefrom
scpeters/package_xmllint

Conversation

@scpeters

@scpeters scpeters commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

Fixes #84.

Summary

There is a commented bit of code to use ament_xmllint that is waiting on ros-infrastructure/rep#400 to be merged. In the meantime, just use xmllint --noout to check for XML syntax errors (see ca4011a).

Since installing libxml2-utils can be slow, move the XML syntax after the version check (see 41a3184).

Testing

Tested in gazebosim/gz-jetty#118:

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit to gazebosim/gz-jetty that referenced this pull request Sep 2, 2025
Testing gazebo-tooling/action-gz-ci#85

Signed-off-by: Steve Peters <computersthatmove@gmail.com>
scpeters added a commit to gazebosim/gz-jetty that referenced this pull request Sep 2, 2025
Testing gazebo-tooling/action-gz-ci#85

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters
scpeters marked this pull request as ready for review September 2, 2025 17:56
@scpeters
scpeters requested review from azeey and iche033 September 2, 2025 17:56
@scpeters
scpeters merged commit 895a910 into noble Sep 2, 2025
@scpeters
scpeters deleted the scpeters/package_xmllint branch September 2, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants