App: Improve Metadata error handling
Report XML parse exception details.
This commit is contained in:
6
src/Mod/Test/TestData/bad_root_node.xml
Normal file
6
src/Mod/Test/TestData/bad_root_node.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
|
||||
<notpackage format="1" xmlns="https://wiki.freecad.org/Package_Metadata">
|
||||
<name>Bad root node</name>
|
||||
<description>The root node is not called "package".</description>
|
||||
<version>1.0.0</version>
|
||||
</notpackage>
|
||||
Reference in New Issue
Block a user