Skip to content

Commit

Permalink
Fix XML header format. Encoding is mandatory aparently.
Browse files Browse the repository at this point in the history
done as part of CURA-10951
  • Loading branch information
rburema committed Sep 8, 2023
1 parent 9eea2b9 commit eca7703
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/namespaces.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>

Check failure on line 1 in tests/namespaces.xml

View workflow job for this annotation

GitHub Actions / testing

Error processing result file: Invalid format.

Check failure on line 1 in tests/namespaces.xml

View workflow job for this annotation

GitHub Actions / testing

Error processing result file: Invalid format.
<main unit="millimeter" xmlns="http://schemas.microsoft.com/3dmanufacturing/core/2015/02" xml:lang="en-US">

<simple xmlns:a="_a_"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/problem_model.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>

Check failure on line 1 in tests/problem_model.xml

View workflow job for this annotation

GitHub Actions / testing

Error processing result file: Invalid format.

Check failure on line 1 in tests/problem_model.xml

View workflow job for this annotation

GitHub Actions / testing

Error processing result file: Invalid format.
<model unit="millimeter" xmlns="http://schemas.microsoft.com/3dmanufacturing/core/2015/02" xml:lang="en-US">
<!-- this file uses Dutch style commas for the decimal-indicator, instead of international/US points -->
<!-- this should either be read or fail fast, but should definitely not just silently ignore the part after the comma-->
Expand Down
2 changes: 1 addition & 1 deletion tests/test_model.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>

Check failure on line 1 in tests/test_model.xml

View workflow job for this annotation

GitHub Actions / testing

Error processing result file: Invalid format.

Check failure on line 1 in tests/test_model.xml

View workflow job for this annotation

GitHub Actions / testing

Error processing result file: Invalid format.
<model unit="millimeter" xmlns="http://schemas.microsoft.com/3dmanufacturing/core/2015/02" xml:lang="en-US">
<resources>
<object id="1" name="test_object" type="model">
Expand Down

0 comments on commit eca7703

Please sign in to comment.