You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
XmlValidate
2
2
===========
3
3
4
-
A quick & flexible XML validator capable of performing bulk validation of XML documents against XML Schemas as defined in the XML documents or forcing another schema target.
4
+
A quick & flexible open source XML validator capable of performing bulk validation of XML documents
5
+
against XML Schemas as defined in the XML documents or forcing another schema target.
5
6
6
7
*XmlValidate* validates individual XML documents by filename or URL
7
8
or recursively searching directories with a list of target file
ERROR: SAXParseException org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'tilt'. One of '{"http://www.opengis.net/kml/2.2":altitudeModeGroup, "http://www.opengis.net/kml/2.2":LookAtSimpleExtensionGroup, "http://www.opengis.net/kml/2.2":LookAtObjectExtensionGroup}' is expected.
87
+
ERROR: SAXParseException org.xml.sax.SAXParseException; lineNumber: 27; columnNumber: 13; cvc-complex-type.2.4.a: Invalid content was found starting with element 'tilt'. One of '{"http://www.opengis.net/kml/2.2":altitudeModeGroup, "http://www.opengis.net/kml/2.2":LookAtSimpleExtensionGroup, "http://www.opengis.net/kml/2.2":LookAtObjectExtensionGroup}' is expected.
73
88
Line: 27, column: 13
74
89
27: <tilt>***62.04855796276328</tilt>
75
90
76
-
Check: data\tessellate21.kml
91
+
Check: data\kml\tessellate21.kml
77
92
*OK*
78
93
79
-
Check: data\tessellate22.kml
94
+
Check: data\kml\tessellate22.kml
80
95
*OK*
96
+
dir: data\kmz
97
+
98
+
Check: data\kmz\big.kmz
99
+
*OK*
100
+
101
+
Errors: 1 Warnings: 0 Files: 11 Time: 895 ms
102
+
Valid files 10/11 (91%)
81
103
82
-
Errors: 1 Warnings: 0 Files: 6 Time: 421 ms
83
-
Valid files 5/6 (83%)
84
104
85
105
Notice the tessellate-orig.kml example has the wrong namespace
86
106
and fails to validate against the specified schema namespace.
@@ -120,4 +140,4 @@ your XmlValidate/schemas directory as reference them like this:
120
140
or add any directory of your choosing and reference with an absolute path:
<desc>Both banks of the lower Mystic River have paved trails, allowing for a short and a long loop along the water. The short loop is a two mile trail with no road crossings. The long loop adds side-trips out to Draw Seven Park and the MBTA yard at Wellington Station, but crosses the six lanes of Route 28 twice.</desc>
0 commit comments