mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Add xml validation for generated xml file
This commit is contained in:
parent
6e9a821ebd
commit
b2f4f41c8c
2 changed files with 3 additions and 3 deletions
|
|
@ -74,8 +74,9 @@ echo "Check if the required tools are generated"
|
|||
|
||||
cd ..
|
||||
|
||||
echo "Validate datamodel_default generated XML file"
|
||||
xmllint --schema test/tools/cwmp-datamodel-1-8.xsd tools/out/datamodel_default.xml --noout
|
||||
#check_ret $? ## Need to be reviewed to remove all duplicate key-sequence
|
||||
check_ret $?
|
||||
|
||||
echo "********* Validate C File *********"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@
|
|||
"software_version": "1.2.3.4",
|
||||
"root_node": "Device.",
|
||||
"vendor_list": [
|
||||
"iopsys",
|
||||
"openwrt"
|
||||
"iopsys"
|
||||
],
|
||||
"dm_json_files": [
|
||||
"../dmtree/json/tr181.json",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue