-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "condition" Attribute to package_format3.xsd (#190)
* XSD: Moving DependencyType into each package format. * XSD: Add condition attribute to several elements in format3. * Travis: Testing XSD validator. * Travis: Fixing XSD validator. * Modifications to xsdValid.py suggested by @dirk-thomas.
- Loading branch information
1 parent
05185b6
commit 3a5300b
Showing
7 changed files
with
91 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/python | ||
|
||
import xmlschema | ||
|
||
format1 = xmlschema.XMLSchema('xsd/package_format1.xsd') | ||
print("'xsd/package_format1.xsd' file is valid.") | ||
format2 = xmlschema.XMLSchema('xsd/package_format2.xsd') | ||
print("'xsd/package_format2.xsd' file is valid.") | ||
format3 = xmlschema.XMLSchema('xsd/package_format3.xsd') | ||
print("'xsd/package_format3.xsd' file is valid.") |