sunspec / models

SunSpec Model Definitions
Apache License 2.0
93 stars 54 forks source link

Many SMDX files fail validation against smdx.xsd #36

Open altendky opened 5 years ago

altendky commented 5 years ago
Lots of errors (click to expand) ``` altendky@lt:~$ git clone https://github.com/sunspec/models Cloning into 'models'... remote: Enumerating objects: 495, done. remote: Total 495 (delta 0), reused 0 (delta 0), pack-reused 495 Receiving objects: 100% (495/495), 328.82 KiB | 1.34 MiB/s, done. Resolving deltas: 100% (368/368), done. altendky@lt:~$ cd models/smdx/ altendky@lt:~/models/smdx$ make Using xmllint to validate all files... smdx_00001.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00001.xml fails to validate smdx_00002.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00002.xml fails to validate smdx_00003.xml validates smdx_00004.xml:94: element note: Schemas validity error : Element 'note': This element is not expected. Expected is ( notes ). smdx_00004.xml:99: element note: Schemas validity error : Element 'note': This element is not expected. Expected is ( notes ). smdx_00004.xml:132: element point: Schemas validity error : Element 'point', attribute 'offset': The attribute 'offset' is not allowed. smdx_00004.xml:132: element point: Schemas validity error : Element 'point', attribute 'type': The attribute 'type' is not allowed. smdx_00004.xml:132: element point: Schemas validity error : Element 'point', attribute 'access': The attribute 'access' is not allowed. smdx_00004.xml:132: element point: Schemas validity error : Element 'point', attribute 'mandatory': The attribute 'mandatory' is not allowed. smdx_00004.xml fails to validate smdx_00005.xml:98: element point: Schemas validity error : Element 'point', attribute 'andatory': The attribute 'andatory' is not allowed. smdx_00005.xml fails to validate smdx_00006.xml:100: element point: Schemas validity error : Element 'point', attribute 'andatory': The attribute 'andatory' is not allowed. smdx_00006.xml fails to validate smdx_00007.xml:29: element point: Schemas validity error : Element 'point', attribute 'andatory': The attribute 'andatory' is not allowed. smdx_00007.xml:58: element point: Schemas validity error : Element 'point', attribute 'offset': The attribute 'offset' is not allowed. smdx_00007.xml:58: element point: Schemas validity error : Element 'point', attribute 'type': The attribute 'type' is not allowed. smdx_00007.xml:58: element point: Schemas validity error : Element 'point', attribute 'access': The attribute 'access' is not allowed. smdx_00007.xml:58: element point: Schemas validity error : Element 'point', attribute 'mandatory': The attribute 'mandatory' is not allowed. smdx_00007.xml:125: element note: Schemas validity error : Element 'note': This element is not expected. Expected is ( notes ). smdx_00007.xml:130: element note: Schemas validity error : Element 'note': This element is not expected. Expected is ( notes ). smdx_00007.xml fails to validate smdx_00008.xml validates smdx_00009.xml validates smdx_00010.xml validates smdx_00011.xml validates smdx_00012.xml validates smdx_00013.xml validates smdx_00014.xml validates smdx_00015.xml validates smdx_00016.xml validates smdx_00017.xml validates smdx_00018.xml validates smdx_00019.xml validates smdx_00101.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00101.xml fails to validate smdx_00102.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00102.xml fails to validate smdx_00103.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00103.xml fails to validate smdx_00111.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00111.xml fails to validate smdx_00112.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00112.xml fails to validate smdx_00113.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00113.xml fails to validate smdx_00120.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00120.xml fails to validate smdx_00121.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00121.xml fails to validate smdx_00122.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00122.xml fails to validate smdx_00123.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00123.xml fails to validate smdx_00124.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00124.xml fails to validate smdx_00125.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00125.xml fails to validate smdx_00126.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00126.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00126.xml fails to validate smdx_00127.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00127.xml fails to validate smdx_00128.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00128.xml fails to validate smdx_00129.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00129.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00129.xml fails to validate smdx_00130.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00130.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00130.xml fails to validate smdx_00131.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00131.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00131.xml fails to validate smdx_00132.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00132.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00132.xml fails to validate smdx_00133.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00133.xml fails to validate smdx_00134.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00134.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00134.xml fails to validate smdx_00135.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00135.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00135.xml fails to validate smdx_00136.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00136.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00136.xml fails to validate smdx_00137.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00137.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00137.xml fails to validate smdx_00138.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00138.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00138.xml fails to validate smdx_00139.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00139.xml:3: element model: Schemas validity error : Element 'model', attribute 'status': The attribute 'status' is not allowed. smdx_00139.xml:20: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00139.xml fails to validate smdx_00140.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00140.xml:3: element model: Schemas validity error : Element 'model', attribute 'status': The attribute 'status' is not allowed. smdx_00140.xml:20: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00140.xml fails to validate smdx_00141.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00141.xml:3: element model: Schemas validity error : Element 'model', attribute 'status': The attribute 'status' is not allowed. smdx_00141.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00141.xml fails to validate smdx_00142.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00142.xml:3: element model: Schemas validity error : Element 'model', attribute 'status': The attribute 'status' is not allowed. smdx_00142.xml:18: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00142.xml fails to validate smdx_00143.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00143.xml:3: element model: Schemas validity error : Element 'model', attribute 'status': The attribute 'status' is not allowed. smdx_00143.xml:20: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00143.xml fails to validate smdx_00144.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00144.xml:3: element model: Schemas validity error : Element 'model', attribute 'status': The attribute 'status' is not allowed. smdx_00144.xml:20: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00144.xml fails to validate smdx_00145.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00145.xml:3: element model: Schemas validity error : Element 'model', attribute 'status': The attribute 'status' is not allowed. smdx_00145.xml fails to validate smdx_00160.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00160.xml:38: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00160.xml fails to validate smdx_00201.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00201.xml fails to validate smdx_00202.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00202.xml fails to validate smdx_00203.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00203.xml fails to validate smdx_00204.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00204.xml fails to validate smdx_00211.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00211.xml fails to validate smdx_00212.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00212.xml fails to validate smdx_00213.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00213.xml fails to validate smdx_00214.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00214.xml fails to validate smdx_00220.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00220.xml fails to validate smdx_00302.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00302.xml fails to validate smdx_00303.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00303.xml:5: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00303.xml fails to validate smdx_00304.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00304.xml:4: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00304.xml fails to validate smdx_00305.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00305.xml fails to validate smdx_00306.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00306.xml fails to validate smdx_00307.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00307.xml fails to validate smdx_00308.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00308.xml fails to validate smdx_00401.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00401.xml:37: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00401.xml fails to validate smdx_00402.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00402.xml:42: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00402.xml fails to validate smdx_00403.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00403.xml:39: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00403.xml fails to validate smdx_00404.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00404.xml:47: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00404.xml fails to validate smdx_00501.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00501.xml fails to validate smdx_00502.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00502.xml fails to validate smdx_00601.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00601.xml:33: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00601.xml:85: element note: Schemas validity error : Element 'note': This element is not expected. Expected is one of ( notes, symbol ). smdx_00601.xml:92: element note: Schemas validity error : Element 'note': This element is not expected. Expected is one of ( notes, symbol ). smdx_00601.xml fails to validate smdx_00801.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00801.xml fails to validate smdx_00802.xml:3: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00802.xml fails to validate smdx_00803.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00803.xml:33: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00803.xml fails to validate smdx_00804.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00804.xml:125: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00804.xml fails to validate smdx_00805.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00805.xml:33: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00805.xml fails to validate smdx_00806.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00806.xml:8: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00806.xml fails to validate smdx_00807.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00807.xml:75: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00807.xml fails to validate smdx_00808.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00808.xml:8: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00808.xml fails to validate smdx_00809.xml:4: element model: Schemas validity error : Element 'model', attribute 'name': The attribute 'name' is not allowed. smdx_00809.xml:8: element block: Schemas validity error : Element 'block', attribute 'name': The attribute 'name' is not allowed. smdx_00809.xml fails to validate smdx_63001.xml validates smdx_63002.xml validates smdx_64001.xml validates smdx_64020.xml validates smdx_64101.xml validates smdx_64110.xml validates smdx_64111.xml validates smdx_64112.xml validates Makefile:41: recipe for target 'check' failed make: *** [check] Error 3 ```
nielsbasjes commented 5 years ago

These errors do not (no longer) occur in the current version of the xmls.

altendky commented 4 years ago

So we got the Travis config but it's still not actually setup on the Travis side.

https://travis-ci.org/github/sunspec/models

image