Permalink
Browse files

added qti dtd files

sometimes qti files will reference a DTD file (a deprecated behavior)
and not include that DTD in the package. While that is
technically incorrect we want to parse them anyway

Change-Id: Ia7d3226373a8ca35759a7e1db014575b599359ba
Reviewed-on: https://gerrit.instructure.com/4559
Reviewed-by: JT Olds <jt@instructure.com>
Tested-by: Bracken Mosbacker <bracken@instructure.com>
  • Loading branch information...
1 parent c2aeaea commit 5076c5ff9019ed98794e6151cf260254daf34b23 @bracken bracken committed Jul 5, 2011
Showing with 16,136 additions and 0 deletions.
  1. +3 −0 migrate.py
  2. +593 −0 schemas/ims_qtiasiv1p2.dtd
  3. +562 −0 schemas/ims_qtiasiv1p2p1.dtd
  4. +184 −0 schemas/ims_qtilitev1p2.dtd
  5. +2,395 −0 schemas/ims_qtiv1p1.dtd
  6. +2,923 −0 schemas/imsqti_v2p0.dtd
  7. +3,605 −0 schemas/imsqti_v2p1.dtd
  8. +5,871 −0 schemas/imsqti_v2p1.xsd
View
@@ -118,6 +118,9 @@
options.create_error_files = 1
else:
fileNames.append(x)
+
+ if not options.dtdDir:
+ options.dtdDir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'schemas'))
if options.cpPath and os.path.exists(options.cpPath):
if os.path.isdir(options.cpPath):
Oops, something went wrong.

0 comments on commit 5076c5f

Please sign in to comment.