diff -r b45f2768fab1 -r 81aa8aaccdd4 xmlclass/xsdschema.py --- a/xmlclass/xsdschema.py Sat Aug 19 16:30:15 2017 +0300 +++ b/xmlclass/xsdschema.py Sat Aug 19 16:45:37 2017 +0300 @@ -1139,9 +1139,9 @@ XSD_NAMESPACE = { -#------------------------------------------------------------------------------- -# Syntax elements definition -#------------------------------------------------------------------------------- + #------------------------------------------------------------------------------- + # Syntax elements definition + #------------------------------------------------------------------------------- "all": { "struct": """ @@ -1917,9 +1917,9 @@ "reduce": GenerateFacetReducing("whiteSpace", True) }, -#------------------------------------------------------------------------------- -# Syntax attributes definition -#------------------------------------------------------------------------------- + #------------------------------------------------------------------------------- + # Syntax attributes definition + #------------------------------------------------------------------------------- "abstract": { "type": SYNTAXATTRIBUTE, @@ -2194,14 +2194,14 @@ "xpath": { "type": SYNTAXATTRIBUTE, "extract": { -# "default": NotSupportedYet("xpath") + # "default": NotSupportedYet("xpath") "default": GetAttributeValue } }, -#------------------------------------------------------------------------------- -# Simple types definition -#------------------------------------------------------------------------------- + #------------------------------------------------------------------------------- + # Simple types definition + #------------------------------------------------------------------------------- "string": { "type": SIMPLETYPE,