Commits

Michael[tm] Smith committed 2e6ae0e

tweak output of generated driver files to add <frameset> support (b=487)
http://bugzilla.validator.nu/show_bug.cgi?id=487

Comments (0)

Files changed (1)

 
 schemaDriverBase = '''\
 start = html.elem
-include "meta.rnc"
 include "phrase.rnc"
 include "block.rnc"
 include "sectional.rnc"
 include "applications.rnc"
 include "data.rnc"
 include "legacy.rnc"
+include "meta.rnc" {
+		html.inner =
+			(	head.elem
+			,	(	body.elem
+				|	frameset.elem
+				)
+			)
+}
 '''
 schemaDriverPlusWebForms2 = '''\
 include "tables.rnc"
 schemaDriverNamespace = '''\
 default namespace = "http://www.w3.org/1999/xhtml"
 '''
+schemaDriverMeta = '''\
+include "meta.rnc"
+'''
 schemaDriverToggle_HtmlCore = '''\
 include "common.rnc" {
 		XMLonly = notAllowed
   f = openDriver(schemaDir, "html5core.rnc")
   f.write(schemaDriverToggle_HtmlCore)
   f.write(schemaDriverBase)
+  f.write(schemaDriverMeta)
   f.close()
 
 def buildSchemaDriverHtml5(schemaDir):
   f.write(schemaDriverNamespace)
   f.write(schemaDriverToggle_XhtmlCore)
   f.write(schemaDriverBase)
+  f.write(schemaDriverMeta)
   f.close()
 
 def buildSchemaDriverXhtmlCorePlusWf2(schemaDir):