Commits

Michael[tm] Smith committed 4490406

Initial support for RDFa Lite validation.

Comments (0)

Files changed (1)

   legacyRnc = os.path.join(os.path.join(buildRoot, "validator", "schema", "legacy", "legacy.rnc"))
   buildSchemaDriverHtmlCore(schemaDir)
   buildSchemaDriverHtml5(schemaDir)
-  buildSchemaDriverHtml5Microdata(schemaDir)
+  buildSchemaDriverHtml5MicrodataRDFa(schemaDir)
   buildSchemaDriverXhtmlCore(schemaDir)
   buildSchemaDriverXhtmlCorePlusWf2(schemaDir)
   buildSchemaDriverXhtml5html(schemaDir)
   buildSchemaDriverXhtml5xhtml(schemaDir)
-  buildSchemaDriverXhtml5Microdata(schemaDir)
+  buildSchemaDriverXhtml5MicrodataRDFa(schemaDir)
   removeIfExists(os.path.join(schemaDir, "legacy.rnc"))
   shutil.copy(legacyRnc, schemaDir)
 
 		nonRoundtrippable = notAllowed
 }
 '''
-schemaDriverHtml5Microdata = '''\
+schemaDriverHtml5MicrodataRDFa = '''\
 include "microdata.rnc"
+include "rdfa-lite.rnc"
 '''
 
 def openDriver(schemaDir, driverName, sourceName=""):
   f.write(schemaDriverHtml5)
   f.close()
 
-def buildSchemaDriverHtml5Microdata(schemaDir):
-  f = openDriver(schemaDir, "html5full-microdata.rnc", "html5full.rnc")
-  f.write(schemaDriverHtml5Microdata)
+def buildSchemaDriverHtml5MicrodataRDFa(schemaDir):
+  f = openDriver(schemaDir, "html5full-microdata-rdfa.rnc", "html5full.rnc")
+  f.write(schemaDriverHtml5MicrodataRDFa)
   f.close()
 
 ################################
   f.write(schemaDriverHtml5)
   f.close()
 
-def buildSchemaDriverXhtml5Microdata(schemaDir):
-  f = openDriver(schemaDir, "xhtml5full-xhtml-microdata.rnc", "xhtml5full-xhtml.rnc")
-  f.write(schemaDriverHtml5Microdata)
+def buildSchemaDriverXhtml5MicrodataRDFa(schemaDir):
+  f = openDriver(schemaDir, "xhtml5full-xhtml-microdata-rdfa.rnc", "xhtml5full-xhtml.rnc")
+  f.write(schemaDriverHtml5MicrodataRDFa)
   f.close()
 
 #################################################################
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.