# HG changeset patch
# User Surkov Sergey <surkovsv93@gmail.com>
# Date 1519056607 -10800
# Node ID 62403f9b6ca9ca17c0ed4c97ec71fa6250169808
# Parent  b524b356aa58cb922eb0a023f6a08d718812b6dc
make the URI model compatible with https

diff -r b524b356aa58 -r 62403f9b6ca9 xmlclass/xmlclass.py
--- a/xmlclass/xmlclass.py	Mon Feb 19 19:02:25 2018 +0300
+++ b/xmlclass/xmlclass.py	Mon Feb 19 19:10:07 2018 +0300
@@ -67,7 +67,7 @@
 QName_model = re.compile('((?:[a-zA-Z_][\w]*:)?[a-zA-Z_][\w]*)$')
 QNames_model = re.compile('((?:[a-zA-Z_][\w]*:)?[a-zA-Z_][\w]*(?: (?:[a-zA-Z_][\w]*:)?[a-zA-Z_][\w]*)*)$')
 NCName_model = re.compile('([a-zA-Z_][\w]*)$')
-URI_model = re.compile('((?:http://|/)?(?:[\w.-]*/?)*)$')
+URI_model = re.compile('((?:htt(p|ps)://|/)?(?:[\w.-]*/?)*)$')
 LANGUAGE_model = re.compile('([a-zA-Z]{1,8}(?:-[a-zA-Z0-9]{1,8})*)$')
 
 ONLY_ANNOTATION = re.compile("((?:annotation )?)")