Skip to content

Commit

Permalink
Add type=results to Resource in Error VOTable
Browse files Browse the repository at this point in the history
  • Loading branch information
stvoutsin committed Dec 12, 2024
1 parent c4e61fa commit 5709d53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog.d/20241212_200622_steliosvoutsinas_DM_48121.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- Delete the sections that don't apply -->

### Bug fixes

- Fixed missing attribute (type) in VOTable Error resource element
4 changes: 2 additions & 2 deletions src/sia/templates/votable_error.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<VOTABLE version="1.3" xmlns="http://www.ivoa.net/xml/VOTable/v1.3">
<RESOURCE>
<RESOURCE type="results">
<INFO name="QUERY_STATUS" value="ERROR">{{ error_message }}</INFO>
</RESOURCE>
</VOTABLE>
</VOTABLE>

0 comments on commit 5709d53

Please sign in to comment.