updated script references to use HTTPS
authorStephan Zednik <zednis@rpi.edu>
Tue, 12 Feb 2013 10:15:58 -0700
changeset 5563 f5c6097bc5ac
parent 5562 e6940c4ae57c
child 5564 c20edae98cde
updated script references to use HTTPS
xml/prov-xml.html
--- a/xml/prov-xml.html	Tue Feb 12 15:37:24 2013 +0000
+++ b/xml/prov-xml.html	Tue Feb 12 10:15:58 2013 -0700
@@ -32,9 +32,8 @@
 		
 	</style>
 
-    <script src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script>
-    <script src="http://www.w3.org/2007/OWL/toggles.js" class="remove"></script> 
-    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
+	<script src="https://www.w3.org/Tools/respec/respec-w3c-common" class="remove"></script>
+    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
 
     <script src="../model/glossary.js" class="remove"></script>
     <script src="../model/provbib.js" class="remove"></script>
@@ -269,7 +268,8 @@
 
 <section id="schema-modularization">
 <h3>Schema Modularization</h3>
-<p>The PROV-XML schema have been modularized so that extension elements defined in Working Group Notes can be defined in separate schemas.  Elements defined in the PROV-DM are defined in the prov-core.xsd schema and elements defined in notes are defined in extension schemas (e.g. extensions/prov-dictionary.xsd, extensions/prov-links.xsd).  The default schema, prov.xsd, imports prov-core and all extension schemas developed by the Working Group.  With this modeling all PROV elements, even those defined in Notes, are defined from the default schema.  If the user wishes to leverage a schema that does not include extension elements the user can use schemaLocation to directly reference prov-core.xsd.</p>
+<p>The PROV-XML schema have been modularized so that extension elements defined in Working Group Notes can be defined in separate schemas.  Elements defined in the PROV-DM are defined in the <b>prov-core.xsd</b> schema and elements defined in notes are defined in extension schemas (e.g. <b>prov-dictionary.xsd</b>, <b>prov-links.xsd</b>).  The default schema, <b>prov.xsd</b>, imports <b>prov-core.xsd</b> and all extension schemas developed by the Working Group.  With this modeling all PROV elements, even those defined in Notes, are defined from the default schema.  If the user wishes to leverage a schema that does not include extension elements the user can use schemaLocation to directly reference <b>prov-core.xsd</b>.</p>
+<p>The default schema - <b>prov.xsd</b></p>
 <pre>
 &lt;?xml version="1.0" encoding="utf-8"?&gt;
 &lt;xs:schema targetNamespace="http://www.w3.org/ns/prov#"
@@ -284,7 +284,8 @@
 
 &lt;/xs:schema&gt;
 </pre>
-<p>Extension schemas import the prov-core.xsd schema and make use of a substitution group on the <code>prov:abstractElement</code> to add extension defined elements to the list of valid PROV elements in a bundle or document.</p>
+<p>Extension schemas import the <b>prov-core.xsd</b> schema and make use of a substitution group on the <code>prov:abstractElement</code> to add extension defined elements to the list of valid PROV elements in a bundle or document.</p>
+<p>The <b>prov-links.xsd</b> extension schema.</p>
 <pre>
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
@@ -2645,13 +2646,28 @@
 
 <section id="extension-schemas">
 <h3>Extension Schemas</h3>
-<section id="prov-dictionary-schema">
-<h4>prov-dictionary.xsd</h4>
-</section>
-
-<section id="prov-links-schena">
-<h4>prov-links.xsd</h4>
-</section>
+<p>Extension schemas are schemas in the PROV Namespace that define additional PROV elements not from the PROV-DM.  Workgroup Notes provide extension schemas to define their Note-introduced PROV elements.  Extension schemas must import (using <code>xs:include</code>) the <b>prov-core.xsd</b> schema and make use of a substitution group on the <code>prov:abstractElement</code> to add extension defined elements to the list of valid PROV elements in a bundle or document.</p>
+<p>Here is an example from the <b>prov-links.xsd</b> extension schema.</p>
+<pre class="example">
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://www.w3.org/ns/prov#" xmlns:prov="http://www.w3.org/ns/prov#"
+	elementFormDefault="qualified"&gt;
+	
+	&lt;xs:include schemaLocation="../prov-core.xsd" /&gt;
+	
+	&lt;xs:complexType name="Mention"&gt;
+		&lt;xs:sequence&gt;
+			&lt;xs:element name="specificEntity" type="prov:IDRef" /&gt;
+			&lt;xs:element name="generalEntity" type="prov:IDRef" /&gt;
+			&lt;xs:element name="bundle" type="prov:IDRef" /&gt;
+		&lt;/xs:sequence&gt;
+	&lt;/xs:complexType&gt;
+	
+	&lt;xs:element name="mentionOf" type="prov:Mention" substitutionGroup="prov:abstractElement" /&gt;
+	
+&lt;/xs:schema&gt;
+</pre>
 </section>
 </section>