You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2022/07/05 14:37:33 UTC

svn commit: r1902493 [20/33] - in /jackrabbit/site/live/jcr: ./ components/ css/ fonts/ js/ ocm/ status/

Modified: jackrabbit/site/live/jcr/node-type-notation.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/node-type-notation.html?rev=1902493&r1=1902492&r2=1902493&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/node-type-notation.html (original)
+++ jackrabbit/site/live/jcr/node-type-notation.html Tue Jul  5 14:37:31 2022
@@ -1,42 +1,40 @@
 <!DOCTYPE html>
+
+
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/node-type-notation.md at 2022-03-29
- | Rendered using Apache Maven Fluido Skin 1.9
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/node-type-notation.md at 2022-07-05
+ | Rendered using Apache Maven Fluido Skin 1.11.1
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
     <title>Apache Jackrabbit &#x2013; Node Type Notation</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" />
     <link rel="stylesheet" href="./css/site.css" />
     <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
-<!-- Matomo -->
-<script>
-  var _paq = window._paq = window._paq || [];
-  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
-  /* We explicitly disable cookie tracking to avoid privacy issues */
-  _paq.push(['disableCookies']);
-  _paq.push(['trackPageView']);
-  _paq.push(['enableLinkTracking']);
-  (function() {
-    var u="https://matomo.privacy.apache.org/";
-    _paq.push(['setTrackerUrl', u+'matomo.php']);
-    _paq.push(['setSiteId', '4']);
-    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
-  })();
-</script>
-<!-- End Matomo Code -->
+    <script src="./js/apache-maven-fluido-1.11.1.min.js"></script>
+
+    <!-- Matomo -->
+    <script>
+        var _paq = window._paq = window._paq || [];
+                _paq.push(['disableCookies']);
+                    _paq.push(['trackPageView']);
+                    _paq.push(['enableLinkTracking']);
+        
+        (function() {
+            var u="https://analytics.apache.org";
+            _paq.push(['setTrackerUrl', u+'/matomo.php']);
+            _paq.push(['setSiteId', '4']);
+            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+            g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+        })();
+    </script>
+    <!-- End Matomo Code -->
   </head>
   <body class="topBarEnabled">
-    <a href="https://github.com/apache/jackrabbit">
-      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
-        src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
-        alt="Fork me on GitHub">
-    </a>
+    <a class="github-fork-ribbon right-top" href="https://github.com/apache/jackrabbit" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -49,18 +47,18 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="index.html" title="Welcome">Welcome</a></li>
             <li><a href="downloads.html" title="Downloads">Downloads</a></li>
             <li><a href="articles.html" title="Articles">Articles</a></li>
             <li><a href="frequently-asked-questions.html" title="FAQ">FAQ</a></li>
-            <li><a href="http://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" title="Archived Jackrabbit Wiki">Archived Jackrabbit Wiki</a></li>
+            <li><a href="https://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" title="Archived Jackrabbit Wiki">Archived Jackrabbit Wiki</a></li>
             <li><a href="jackrabbit-history.html" title="Jackrabbit History">Jackrabbit History</a></li>
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started">Getting Started</a></li>
             <li><a href="standalone-server.html" title="Standalone Server">Standalone Server</a></li>
@@ -75,7 +73,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="jackrabbit-team.html" title="Jackrabbit Team">Jackrabbit Team</a></li>
             <li><a href="jackrabbit-roadmap.html" title="Jackrabbit Roadmap">Jackrabbit Roadmap</a></li>
@@ -87,15 +85,15 @@
             <li><a href="website.html" title="Website">Website</a></li>
             <li><a href="creating-releases.html" title="Creating Releases">Creating Releases</a></li>
             <li><a href="supporting-software-attribution.html" title="Attribution">Attribution</a></li>
-            <li><a href="privacy-policy.html" title="Privacy">Privacy</a></li>
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
         <ul class="dropdown-menu">
-            <li><a href="http://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
-            <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
-            <li><a href="http://www.apache.org/foundation/thanks.html" title="Current Sponsors">Current Sponsors</a></li>
+            <li><a href="https://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
+            <li><a href="https://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
+            <li><a href="https://www.apache.org/foundation/thanks.html" title="Current Sponsors">Current Sponsors</a></li>
+            <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" title="Privacy">Privacy</a></li>
         </ul>
       </li>
             </ul>
@@ -105,7 +103,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
+          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -114,7 +112,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-03-29</li>
+        <li id="publishDate">Last Published: 2022-07-05</li>
           </ul>
         </div>
       </header>
@@ -127,7 +125,7 @@
     <li><a href="downloads.html" title="Downloads"><span class="none"></span>Downloads</a></li>
     <li><a href="articles.html" title="Articles"><span class="none"></span>Articles</a></li>
     <li><a href="frequently-asked-questions.html" title="FAQ"><span class="none"></span>FAQ</a></li>
-    <li><a href="http://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" class="externalLink" title="Archived Jackrabbit Wiki"><span class="none"></span>Archived Jackrabbit Wiki</a></li>
+    <li><a href="https://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" class="externalLink" title="Archived Jackrabbit Wiki"><span class="none"></span>Archived Jackrabbit Wiki</a></li>
     <li><a href="jackrabbit-history.html" title="Jackrabbit History"><span class="none"></span>Jackrabbit History</a></li>
    <li class="nav-header">Documentation</li>
     <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started"><span class="none"></span>Getting Started</a></li>
@@ -151,15 +149,14 @@
     <li><a href="website.html" title="Website"><span class="none"></span>Website</a></li>
     <li><a href="creating-releases.html" title="Creating Releases"><span class="none"></span>Creating Releases</a></li>
     <li><a href="supporting-software-attribution.html" title="Attribution"><span class="none"></span>Attribution</a></li>
-    <li><a href="privacy-policy.html" title="Privacy"><span class="none"></span>Privacy</a></li>
    <li class="nav-header">Apache Software Foundation</li>
-    <li><a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="Introduction"><span class="none"></span>Introduction</a></li>
-    <li><a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"><span class="none"></span>Sponsorship</a></li>
-    <li><a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Current Sponsors"><span class="none"></span>Current Sponsors</a></li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="Introduction"><span class="none"></span>Introduction</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"><span class="none"></span>Sponsorship</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Current Sponsors"><span class="none"></span>Current Sponsors</a></li>
+    <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Privacy"><span class="none"></span>Privacy</a></li>
   </ul>
           </nav>
           <div class="well sidebar-nav">
-            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -186,11 +183,14 @@
    limitations under the License.
 -->
 <h1>Node Type Notation</h1>
-<p>The Compact Namespace and Node Type Definition (CND) notation provides a compact standardized syntax for defining node types and making namespace declarations. The notation is intended both for documentation and for programmatically registering node types (if you are unfamiliar with JCR node types, you may want to read the general Node Types section first).</p>
+<p>The Compact Namespace and Node Type Definition (CND) notation provides a
+compact standardized syntax for defining node types and making namespace
+declarations. The notation is intended both for documentation and for
+programmatically registering node types (if you are unfamiliar with JCR
+node types, you may want to read the general Node Types section first).</p>
 <p>Here is a &#x201c;worst-case scenario&#x201d; example that demonstrates all the features of the notation:</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">/*  An example node type definition */
+<div class="source"><pre class="prettyprint linenums"><code>/*  An example node type definition */
 
 // The namespace declaration
 &lt;ns = 'http://namespace.com/ns'&gt;
@@ -244,12 +244,10 @@ multiple
 
 // and has an on-parent-version setting of ...
 version
-</pre></div></div>
-
+</code></pre></div>
 <p>This definition can be written more compactly and with indentation:</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">/*  An example node type definition */
+<div class="source"><pre class="prettyprint linenums"><code>/*  An example node type definition */
 &lt;ns = 'http://namespace.com/ns'&gt;
 [ns:NodeType] &gt; ns:ParentType1, ns:ParentType2
   orderable mixin
@@ -261,22 +259,18 @@ version
   + ns:node (ns:reqType1, ns:reqType2)
     = ns:defaultType
     mandatory autocreated protected multiple version
-</pre></div></div>
-
+</code></pre></div>
 <p>or, using short forms for the attributes, even like this:</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">&lt;ns='http://namespace.com/ns'&gt;
+<div class="source"><pre class="prettyprint linenums"><code>&lt;ns='http://namespace.com/ns'&gt;
 [ns:NodeType] &gt;ns:ParentType1, ns:ParentType2 o m
   - ex:property='default1','default2' ! m a p * version &lt;'constraint1', 'constraint2'
   + ns:node(ns:reqType1,ns:reqType2)=ns:defaultType m a p *  version
-</pre></div></div>
-<section>
+</code></pre></div><section>
 <h2><a name="Grammar"></a>Grammar</h2>
 <p>The following grammar defines the CND notation. Terminal symbols are in double quotes.</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">cnd ::= {ns_mapping | node_type_def}
+<div class="source"><pre class="prettyprint linenums"><code>cnd ::= {ns_mapping | node_type_def}
 ns_mapping ::= &quot;&lt;&quot; prefix &quot;=&quot; uri &quot;&gt;&quot;
 prefix ::= string
 uri ::= string
@@ -322,74 +316,80 @@ string_list ::= string {&quot;,&quot; st
 string ::= quoted_string | unquoted_string
 quoted_string :: = &quot;'&quot; unquoted_string &quot;'&quot;
 unquoted_string ::= [A-Za-z0-9:_]+
-</pre></div></div>
-</section><section>
+</code></pre></div></section><section>
 <h2><a name="CND_Notation_in_Detail"></a>CND Notation in Detail</h2>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">cnd ::= {ns_mapping | node_type_def}
-</pre></div></div>
-
-<p>A CND consists of zero or more blocks, each of which is either namespace declaration or a node type definition. Namespace prefixes referenced in a node type definition block must be declared in a preceding namespace declaration block.</p><section>
+<div class="source"><pre class="prettyprint linenums"><code>cnd ::= {ns_mapping | node_type_def}
+</code></pre></div>
+<p>A CND consists of zero or more blocks, each of which is either namespace
+declaration or a node type definition. Namespace prefixes referenced in a
+node type definition block must be declared in a preceding namespace
+declaration block.</p><section>
 <h3><a name="Namespace_Declaration"></a>Namespace Declaration</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">ns_mapping ::= &quot;&lt;&quot; prefix &quot;=&quot; uri &quot;&gt;&quot;
+<div class="source"><pre class="prettyprint linenums"><code>ns_mapping ::= &quot;&lt;&quot; prefix &quot;=&quot; uri &quot;&gt;&quot;
 prefix ::= string
 uri ::= string
-</pre></div></div>
-
-<p>A namespace declaration consists of prefix/URI pair. The prefix must be a valid JCR namespace prefix, which is the same as a valid XML namespace prefix. The URI can in fact be any string. Just as in XML, it need not actually be a URI, though adhering to that convention is recommended.</p></section><section>
+</code></pre></div>
+<p>A namespace declaration consists of prefix/URI pair. The prefix must be a
+valid JCR namespace prefix, which is the same as a valid XML namespace
+prefix. The URI can in fact be any string. Just as in XML, it need not
+actually be a URI, though adhering to that convention is recommended.</p></section><section>
 <h3><a name="Node_Type_Definition"></a>Node Type Definition</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">node_type_def ::= node_type_name [super_types] [options] {property_def | child_node_def}
-</pre></div></div>
-
-<p>A node type definition consists of a node type name followed by an optional supertypes block, an optional options block and zero or more blocks, each either a property or node definition.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>node_type_def ::= node_type_name [super_types] [options] {property_def | child_node_def}
+</code></pre></div>
+<p>A node type definition consists of a node type name followed by an optional
+supertypes block, an optional options block and zero or more blocks, each
+either a property or node definition.</p></section><section>
 <h3><a name="Node_Type_Name"></a>Node Type Name</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">node_type_name ::= &quot;[&quot; string &quot;]&quot; 
-</pre></div></div>
-
-<p>The node type name is delimited by square brackets and must be a valid JCR name. It may be single-quoted (see Quoting, below). This element is the only strictly required element within a node type definition, though a definition consisting only of a node type name would simply define a new node type identical to nt:base.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>node_type_name ::= &quot;[&quot; string &quot;]&quot; 
+</code></pre></div>
+<p>The node type name is delimited by square brackets and must be a valid JCR
+name. It may be single-quoted (see Quoting, below). This element is the
+only strictly required element within a node type definition, though a
+definition consisting only of a node type name would simply define a new
+node type identical to nt:base.</p></section><section>
 <h3><a name="Supertypes"></a>Supertypes</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">supertypes ::= &quot;&gt;&quot; string_list
-</pre></div></div>
-
-<p>After the node type name comes the optional list of supertypes. If this element is not present and the node type is not a mixin (see ?1.3.5 Options), then a supertype of nt:base is assumed. If present, the element consists of a greater-than sign followed by a comma delimited list of node type names, each of which may optionally be single-quoted (see Quoting below). In Jackrabbit, multiple inheritance of node types is supported, so this list can be greater than one item in length.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>supertypes ::= &quot;&gt;&quot; string_list
+</code></pre></div>
+<p>After the node type name comes the optional list of supertypes. If this
+element is not present and the node type is not a mixin (see ?1.3.5
+Options), then a supertype of nt:base is assumed. If present, the element
+consists of a greater-than sign followed by a comma delimited list of node
+type names, each of which may optionally be single-quoted (see Quoting
+below). In Jackrabbit, multiple inheritance of node types is supported, so
+this list can be greater than one item in length.</p></section><section>
 <h3><a name="Options"></a>Options</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">options ::= orderable_opt | mixin_opt | orderable_opt mixin_opt | mixin_opt orderable_opt
+<div class="source"><pre class="prettyprint linenums"><code>options ::= orderable_opt | mixin_opt | orderable_opt mixin_opt | mixin_opt orderable_opt
 orderable_opt ::= &quot;orderable&quot; | &quot;ord&quot; | &quot;o&quot;
 mixin_opt ::= &quot;mixin&quot; | &quot;mix&quot; | &quot;m&quot;
-</pre></div></div>
-
+</code></pre></div>
 <p>The option indicators follow the node type name and optional supertype list.</p>
-<p>If the keyword orderable (or a short form) is present, then the orderable child node setting of the node type is true. If the keyword is missing, then the setting is false.</p>
-<p>If the keyword mixin (or a short form) is present, then this is a mixin node type. If the keyword is missing, then this is a primary node type.</p></section><section>
+<p>If the keyword orderable (or a short form) is present, then the orderable
+child node setting of the node type is true. If the keyword is missing,
+then the setting is false.</p>
+<p>If the keyword mixin (or a short form) is present, then this is a mixin
+node type. If the keyword is missing, then this is a primary node type.</p></section><section>
 <h3><a name="Property_Definition"></a>Property Definition</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">property_def ::= &quot;-&quot; property_name [property_type_decl] [default_values] [attributes] [value_constraints]
-</pre></div></div>
-
-<p>A property definition consists of a minus sign followed by a property name, followed in turn by optional elements defining the property type, the default values, the property attributes and the value constraints.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>property_def ::= &quot;-&quot; property_name [property_type_decl] [default_values] [attributes] [value_constraints]
+</code></pre></div>
+<p>A property definition consists of a minus sign followed by a property name,
+followed in turn by optional elements defining the property type, the
+default values, the property attributes and the value constraints.</p></section><section>
 <h3><a name="Property_Name"></a>Property Name</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">property_name ::= string
-</pre></div></div>
-
-<p>The property name must be a valid JCR name or *, to indicate a residual property definition. It may be single-quoted.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>property_name ::= string
+</code></pre></div>
+<p>The property name must be a valid JCR name or *, to indicate a residual
+property definition. It may be single-quoted.</p></section><section>
 <h3><a name="Property_Type"></a>Property Type</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">property_type_decl ::= &quot;(&quot; property_type &quot;)&quot;
+<div class="source"><pre class="prettyprint linenums"><code>property_type_decl ::= &quot;(&quot; property_type &quot;)&quot;
 property_type ::= &quot;STRING&quot; | &quot;String |&quot;string&quot; |
 		  &quot;BINARY&quot; | &quot;Binary&quot; | &quot;binary&quot; |
 		  &quot;LONG&quot; | &quot;Long&quot; | &quot;long&quot; |
@@ -400,20 +400,20 @@ property_type ::= &quot;STRING&quot; | &
 		  &quot;PATH&quot; | &quot;Path&quot; | &quot;path&quot; |
 		  &quot;REFERENCE&quot; | &quot;Reference&quot; | &quot;reference&quot; |
 		  &quot;UNDEFINED&quot; | &quot;Undefined&quot; | &quot;undefined&quot; | &quot;*&quot;
-</pre></div></div>
-
-<p>The property type is indicated by a keyword delimited by parentheses. If the property type declaration is missing a type of STRING is assumed.</p></section><section>
+</code></pre></div>
+<p>The property type is indicated by a keyword delimited by parentheses. If
+the property type declaration is missing a type of STRING is assumed.</p></section><section>
 <h3><a name="Default_Values"></a>Default Values</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">default_values ::= &quot;=&quot; string_list
-</pre></div></div>
-
-<p>The default value or values, in the case of a multi-value property, are indicated by an equal sign followed by either a single value in string form or a comma-delimited list of values. The values may be single-quoted. If the default value definition is missing then no default value is set.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>default_values ::= &quot;=&quot; string_list
+</code></pre></div>
+<p>The default value or values, in the case of a multi-value property, are
+indicated by an equal sign followed by either a single value in string form
+or a comma-delimited list of values. The values may be single-quoted. If
+the default value definition is missing then no default value is set.</p></section><section>
 <h3><a name="Attributes"></a>Attributes</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">attributes ::= &quot;primary&quot; | &quot;pri&quot; | &quot;!&quot; |
+<div class="source"><pre class="prettyprint linenums"><code>attributes ::= &quot;primary&quot; | &quot;pri&quot; | &quot;!&quot; |
 	       &quot;autocreated&quot; | &quot;aut&quot; | &quot;a&quot; |
 	       &quot;mandatory&quot; | &quot;man&quot; | &quot;m&quot; |
 	       &quot;protected&quot; | &quot;pro&quot; | &quot;p&quot; |
@@ -424,51 +424,54 @@ property_type ::= &quot;STRING&quot; | &
 	       &quot;COMPUTE&quot; | &quot;Compute&quot; | &quot;compute&quot; |
 	       &quot;IGNORE&quot; | &quot;Ignore&quot; | &quot;ignore&quot; |
 	       &quot;ABORT&quot; | &quot;Abort&quot; | &quot;abort&quot;
-</pre></div></div>
-
-<p>The attribute indicators describe the characteristics of the property. The presence of an attribute keyword indicates that the corresponding characteristic applies to this property. It&#x2019;s absence indicates that the corresponding characteristic does not apply.</p>
-<p>The primary keyword indicates that this property is the primary item. It may appear on a maximum of one property or child node definition within a node type definition.</p>
+</code></pre></div>
+<p>The attribute indicators describe the characteristics of the property. The
+presence of an attribute keyword indicates that the corresponding
+characteristic applies to this property. It's absence indicates that the
+corresponding characteristic does not apply.</p>
+<p>The primary keyword indicates that this property is the primary item. It
+may appear on a maximum of one property or child node definition within a
+node type definition.</p>
 <p>The multiple keyword indicates that this property is multi-valued.</p>
-<p>A maximum of one on-version indicator may be present. If none is present then an on-version setting of COPY is assumed.</p></section><section>
+<p>A maximum of one on-version indicator may be present. If none is present
+then an on-version setting of COPY is assumed.</p></section><section>
 <h3><a name="Value_Constraints"></a>Value Constraints</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">value_constraints ::= &quot;&lt;&quot; string_list
-</pre></div></div>
-
-<p>Value constraint are specified by a less-than sign followed by a comma-delimited list of constraint strings, each optionally single-quoted.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>value_constraints ::= &quot;&lt;&quot; string_list
+</code></pre></div>
+<p>Value constraint are specified by a less-than sign followed by a
+comma-delimited list of constraint strings, each optionally single-quoted.</p></section><section>
 <h3><a name="Child_Node_Definition"></a>Child Node Definition</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">child_node_def ::= &quot;+&quot; node_name [required_types] [default_type] [attributes] 
-</pre></div></div>
-
-<p>A child node definition consists of a plus sign followed by a property name, followed in turn by optional elements defining the required primary node types, the default node type, and the node attributes.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>child_node_def ::= &quot;+&quot; node_name [required_types] [default_type] [attributes] 
+</code></pre></div>
+<p>A child node definition consists of a plus sign followed by a property
+name, followed in turn by optional elements defining the required primary
+node types, the default node type, and the node attributes.</p></section><section>
 <h3><a name="Node_Name"></a>Node Name</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">node_name ::= string
-</pre></div></div>
-
-<p>The node name must be a valid JCR name or <code>*</code>, to indicate a residual child node definition. It may be single-quoted.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>node_name ::= string
+</code></pre></div>
+<p>The node name must be a valid JCR name or <code>*</code>, to indicate a residual child
+node definition. It may be single-quoted.</p></section><section>
 <h3><a name="Required_Primary_Node_Types"></a>Required Primary Node Types</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">required_types ::= &quot;(&quot; string_list &quot;)&quot;
-</pre></div></div>
-
-<p>The required node types of the child node are indicated by a comma-delimited list of node types, within parentheses. If this element is missing then a required primary node type of nt:base is assumed. This is the least restrictive setting possible.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>required_types ::= &quot;(&quot; string_list &quot;)&quot;
+</code></pre></div>
+<p>The required node types of the child node are indicated by a
+comma-delimited list of node types, within parentheses. If this element is
+missing then a required primary node type of nt:base is assumed. This is
+the least restrictive setting possible.</p></section><section>
 <h3><a name="Default_Primary_Node_Type"></a>Default Primary Node Type</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">default_type ::= &quot;=&quot; string
-</pre></div></div>
-
-<p>The default primary node type is indicated by an equals-sign followed by a node type name, which may be single-quoted. If this element is missing then no default primary node type is set.</p></section><section>
+<div class="source"><pre class="prettyprint linenums"><code>default_type ::= &quot;=&quot; string
+</code></pre></div>
+<p>The default primary node type is indicated by an equals-sign followed by a
+node type name, which may be single-quoted. If this element is missing then
+no default primary node type is set.</p></section><section>
 <h3><a name="Attributes"></a>Attributes</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">attributes ::= &quot;primary&quot; | &quot;pri&quot; | &quot;!&quot; |
+<div class="source"><pre class="prettyprint linenums"><code>attributes ::= &quot;primary&quot; | &quot;pri&quot; | &quot;!&quot; |
 	       &quot;autocreated&quot; | &quot;aut&quot; | &quot;a&quot; |
 	       &quot;mandatory&quot; | &quot;man&quot; | &quot;m&quot; |
 	       &quot;protected&quot; | &quot;pro&quot; | &quot;p&quot; |
@@ -479,27 +482,32 @@ property_type ::= &quot;STRING&quot; | &
 	       &quot;COMPUTE&quot; | &quot;Compute&quot; | &quot;compute&quot; |
 	       &quot;IGNORE&quot; | &quot;Ignore&quot; | &quot;ignore&quot; |
 	       &quot;ABORT&quot; | &quot;Abort&quot; | &quot;abort&quot;
-</pre></div></div>
-
-<p>The attribute indicators describe the characteristics of the child node. The presence of an attribute keyword indicates that the corresponding characteristic applies to this child node. It&#x2019;s absence indicates that the corresponding characteristic does not apply.</p>
-<p>The primary keyword indicates that this child node is the primary item. It may appear on a maximum of one property or child node definition within a node type definition.</p>
-<p>The multiple keyword indicates that this child node may have same-name siblings.</p>
-<p>A maximum of one on-version indicator may be present. If none is present then an on-version setting of COPY is assumed.</p></section><section>
+</code></pre></div>
+<p>The attribute indicators describe the characteristics of the child node.
+The presence of an attribute keyword indicates that the corresponding
+characteristic applies to this child node. It's absence indicates that the
+corresponding characteristic does not apply.</p>
+<p>The primary keyword indicates that this child node is the primary item. It
+may appear on a maximum of one property or child node definition within a
+node type definition.</p>
+<p>The multiple keyword indicates that this child node may have same-name
+siblings.</p>
+<p>A maximum of one on-version indicator may be present. If none is present
+then an on-version setting of COPY is assumed.</p></section><section>
 <h3><a name="Quoting"></a>Quoting</h3>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">string_list ::= string {&quot;,&quot; string}
+<div class="source"><pre class="prettyprint linenums"><code>string_list ::= string {&quot;,&quot; string}
 string ::= quoted_string | unquoted_string
 quoted_string :: = &quot;'&quot; unquoted_string &quot;'&quot;
 unquoted_string ::= /* a string */
-</pre></div></div>
-
-<p>Single quotes (') are used to allow for strings (i.e., names, prefixes, URIs, values or constraint strings) with characters that would otherwise be interpreted as delimiters.</p></section><section>
+</code></pre></div>
+<p>Single quotes (') are used to allow for strings (i.e., names, prefixes,
+URIs, values or constraint strings) with characters that would otherwise be
+interpreted as delimiters.</p></section><section>
 <h3><a name="Escaping"></a>Escaping</h3>
 <p>The standard Java escape sequences are also supported:</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">\n newline
+<div class="source"><pre class="prettyprint linenums"><code>\n newline
 \t tab
 \b backspace
 \f form feed
@@ -508,37 +516,35 @@ unquoted_string ::= /* a string */
 \' single quote
 \\ back slash
 \uHHHH Unicode character in hexadecimal
-</pre></div></div>
-</section><section>
+</code></pre></div></section><section>
 <h3><a name="Comments"></a>Comments</h3>
-<p>Comment can also be included in the notation using either of the standard Java forms:</p>
+<p>Comment can also be included in the notation using either of the standard
+Java forms:</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">// A comment
+<div class="source"><pre class="prettyprint linenums"><code>// A comment
 /* Another comment */
-</pre></div></div>
-</section><section>
+</code></pre></div></section><section>
 <h3><a name="Whitespace_and_Short_Forms"></a>Whitespace and Short Forms</h3>
-<p>The notation can be compacted by taking advantage of the following the fact that spacing around keychars (<code>[ ] &gt; , - ( ) = &lt;</code>), newlines and indentation are not required. So, the following is also well-formed:</p>
-
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">[x] &gt;y,z orderable mixin -p(date)=a,b primary mandatory autocreated protected multiple version &lt;c,d
-</pre></div></div>
-
-<p>Additionally, though spaces are required around the keywords (orderable, mixin, date, mandatory, etc.), short forms for keywords can be used. So, this:</p>
-
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">[x] &gt;y,z o m-p(date)=a,b ! m a p * version &lt;c,d
-</pre></div></div>
+<p>The notation can be compacted by taking advantage of the following the fact that spacing around keychars
+(<code>[ ] &gt; , - ( ) = &lt;</code>), newlines and indentation are not required. So, the
+following is also well-formed:</p>
+
+<div class="source"><pre class="prettyprint linenums"><code>[x] &gt;y,z orderable mixin -p(date)=a,b primary mandatory autocreated protected multiple version &lt;c,d
+</code></pre></div>
+<p>Additionally, though spaces are required around the keywords (orderable,
+mixin, date, mandatory, etc.), short forms for keywords can be used. So,
+this:</p>
 
+<div class="source"><pre class="prettyprint linenums"><code>[x] &gt;y,z o m-p(date)=a,b ! m a p * version &lt;c,d
+</code></pre></div>
 <p>is well-formed (but perhaps not recommended!).</p></section><section>
 <h3><a name="Why_this_Weird_Notation.3F"></a>Why this Weird Notation?</h3>
-<p>Here&#x2019;s why:</p>
+<p>Here's why:</p>
 <p>Old Documentation Notation</p>
-<p>Here is the definition of the built-in node type nt:resource using the old documentation notation (used in v1.0 of the JCR specification, for example):</p>
+<p>Here is the definition of the built-in node type nt:resource using the old
+documentation notation (used in v1.0 of the JCR specification, for example):</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">NodeTypeName
+<div class="source"><pre class="prettyprint linenums"><code>NodeTypeName
   nt:resource
 Supertypes
   nt:base
@@ -589,13 +595,12 @@ PropertyDefinition
   OnParentVersion IGNORE
   Protected false
   Multiple false
-</pre></div></div>
-
+</code></pre></div>
 <p>Old Configuration Notation</p>
-<p>Here is the same node type in the standard XML notation (used in configuration files in the Jackrabbit project, for example):</p>
+<p>Here is the same node type in the standard XML notation (used in
+configuration files in the Jackrabbit project, for example):</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">&lt;nodeType name=&quot;nt:resource&quot;
+<div class="source"><pre class="prettyprint linenums"><code>&lt;nodeType name=&quot;nt:resource&quot;
 	  isMixin=&quot;false&quot;
 	  hasOrderableChildNodes=&quot;false&quot;
 	  primaryItemName=&quot;jcr:data&quot;&gt;
@@ -632,19 +637,16 @@ PropertyDefinition
 			protected=&quot;false&quot;
 			multiple=&quot;false&quot;/&gt;
 &lt;/nodeType&gt;
-</pre></div></div>
-
+</code></pre></div>
 <p>New Format</p>
 <p>And, here it is in the new CND notation:</p>
 
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">[nt:resource] &gt; mix:referenceable
+<div class="source"><pre class="prettyprint linenums"><code>[nt:resource] &gt; mix:referenceable
 - jcr:encoding
 - jcr:mimeType mandatory
 - jcr:data (binary) mandatory
 - jcr:lastModified (date) mandatory ignore
-</pre></div></div>
-
+</code></pre></div>
 <p>Case closed.</p></section></section><section>
 <h2><a name="Syntax_highlighting_for_text_editors"></a>Syntax highlighting for text editors</h2>
 <p>Here is a TextMate bundle for CND syntax highlighting: <a href="CND.zip">CND.zip</a></p></section>
@@ -659,10 +661,12 @@ PropertyDefinition
 <a href="https://www.apache.org/">The Apache Software Foundation</a> &vert; <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
 </p>
         </div>
-    <div id="ohloh" class="pull-right">
-      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
-    </div>
-        </div>
+      </div>
     </footer>
+<script>
+	if(anchors) {
+	  anchors.add();
+	}
+</script>
   </body>
 </html>
\ No newline at end of file

Modified: jackrabbit/site/live/jcr/node-type-visualization.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/jcr/node-type-visualization.html?rev=1902493&r1=1902492&r2=1902493&view=diff
==============================================================================
--- jackrabbit/site/live/jcr/node-type-visualization.html (original)
+++ jackrabbit/site/live/jcr/node-type-visualization.html Tue Jul  5 14:37:31 2022
@@ -1,42 +1,40 @@
 <!DOCTYPE html>
+
+
 <!--
- | Generated by Apache Maven Doxia Site Renderer 1.9.2 from src/site/markdown/node-type-visualization.md at 2022-03-29
- | Rendered using Apache Maven Fluido Skin 1.9
+ | Generated by Apache Maven Doxia Site Renderer 1.11.1 from src/site/markdown/node-type-visualization.md at 2022-07-05
+ | Rendered using Apache Maven Fluido Skin 1.11.1
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.9.2" />
+    <meta name="generator" content="Apache Maven Doxia Site Renderer 1.11.1" />
     <title>Apache Jackrabbit &#x2013; Node Type Visualization</title>
-    <link rel="stylesheet" href="./css/apache-maven-fluido-1.9.min.css" />
+    <link rel="stylesheet" href="./css/apache-maven-fluido-1.11.1.min.css" />
     <link rel="stylesheet" href="./css/site.css" />
     <link rel="stylesheet" href="./css/print.css" media="print" />
-    <script src="./js/apache-maven-fluido-1.9.min.js"></script>
-<!-- Matomo -->
-<script>
-  var _paq = window._paq = window._paq || [];
-  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
-  /* We explicitly disable cookie tracking to avoid privacy issues */
-  _paq.push(['disableCookies']);
-  _paq.push(['trackPageView']);
-  _paq.push(['enableLinkTracking']);
-  (function() {
-    var u="https://matomo.privacy.apache.org/";
-    _paq.push(['setTrackerUrl', u+'matomo.php']);
-    _paq.push(['setSiteId', '4']);
-    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
-    g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
-  })();
-</script>
-<!-- End Matomo Code -->
+    <script src="./js/apache-maven-fluido-1.11.1.min.js"></script>
+
+    <!-- Matomo -->
+    <script>
+        var _paq = window._paq = window._paq || [];
+                _paq.push(['disableCookies']);
+                    _paq.push(['trackPageView']);
+                    _paq.push(['enableLinkTracking']);
+        
+        (function() {
+            var u="https://analytics.apache.org";
+            _paq.push(['setTrackerUrl', u+'/matomo.php']);
+            _paq.push(['setSiteId', '4']);
+            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+            g.async=true; g.src=u+'/matomo.js'; s.parentNode.insertBefore(g,s);
+        })();
+    </script>
+    <!-- End Matomo Code -->
   </head>
   <body class="topBarEnabled">
-    <a href="https://github.com/apache/jackrabbit">
-      <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
-        src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
-        alt="Fork me on GitHub">
-    </a>
+    <a class="github-fork-ribbon right-top" href="https://github.com/apache/jackrabbit" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
     <header id="topbar" class="navbar navbar-fixed-top ">
       <div class="navbar-inner">
         <div class="container-fluid">
@@ -49,18 +47,18 @@
 </a>
             <ul class="nav">
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Apache Jackrabbit <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="index.html" title="Welcome">Welcome</a></li>
             <li><a href="downloads.html" title="Downloads">Downloads</a></li>
             <li><a href="articles.html" title="Articles">Articles</a></li>
             <li><a href="frequently-asked-questions.html" title="FAQ">FAQ</a></li>
-            <li><a href="http://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" title="Archived Jackrabbit Wiki">Archived Jackrabbit Wiki</a></li>
+            <li><a href="https://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" title="Archived Jackrabbit Wiki">Archived Jackrabbit Wiki</a></li>
             <li><a href="jackrabbit-history.html" title="Jackrabbit History">Jackrabbit History</a></li>
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started">Getting Started</a></li>
             <li><a href="standalone-server.html" title="Standalone Server">Standalone Server</a></li>
@@ -75,7 +73,7 @@
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Development <b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li><a href="jackrabbit-team.html" title="Jackrabbit Team">Jackrabbit Team</a></li>
             <li><a href="jackrabbit-roadmap.html" title="Jackrabbit Roadmap">Jackrabbit Roadmap</a></li>
@@ -87,15 +85,15 @@
             <li><a href="website.html" title="Website">Website</a></li>
             <li><a href="creating-releases.html" title="Creating Releases">Creating Releases</a></li>
             <li><a href="supporting-software-attribution.html" title="Attribution">Attribution</a></li>
-            <li><a href="privacy-policy.html" title="Privacy">Privacy</a></li>
         </ul>
       </li>
       <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
+        <a class="dropdown-toggle" data-toggle="dropdown">Apache Software Foundation <b class="caret"></b></a>
         <ul class="dropdown-menu">
-            <li><a href="http://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
-            <li><a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
-            <li><a href="http://www.apache.org/foundation/thanks.html" title="Current Sponsors">Current Sponsors</a></li>
+            <li><a href="https://www.apache.org/foundation/how-it-works.html" title="Introduction">Introduction</a></li>
+            <li><a href="https://www.apache.org/foundation/sponsorship.html" title="Sponsorship">Sponsorship</a></li>
+            <li><a href="https://www.apache.org/foundation/thanks.html" title="Current Sponsors">Current Sponsors</a></li>
+            <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" title="Privacy">Privacy</a></li>
         </ul>
       </li>
             </ul>
@@ -105,7 +103,7 @@
     <div class="container-fluid">
       <header>
         <div id="banner">
-          <div class="pull-left"><div id="bannerLeft"><h2>Apache Jackrabbit Site</h2>
+          <div class="pull-left"><div id="bannerLeft"><h1>Apache Jackrabbit Site</h1>
 </div>
 </div>
           <div class="pull-right"></div>
@@ -114,7 +112,7 @@
 
         <div id="breadcrumbs">
           <ul class="breadcrumb">
-        <li id="publishDate">Last Published: 2022-03-29</li>
+        <li id="publishDate">Last Published: 2022-07-05</li>
           </ul>
         </div>
       </header>
@@ -127,7 +125,7 @@
     <li><a href="downloads.html" title="Downloads"><span class="none"></span>Downloads</a></li>
     <li><a href="articles.html" title="Articles"><span class="none"></span>Articles</a></li>
     <li><a href="frequently-asked-questions.html" title="FAQ"><span class="none"></span>FAQ</a></li>
-    <li><a href="http://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" class="externalLink" title="Archived Jackrabbit Wiki"><span class="none"></span>Archived Jackrabbit Wiki</a></li>
+    <li><a href="https://jackrabbit.apache.org/archive/wiki/JCR/Home_70731.html" class="externalLink" title="Archived Jackrabbit Wiki"><span class="none"></span>Archived Jackrabbit Wiki</a></li>
     <li><a href="jackrabbit-history.html" title="Jackrabbit History"><span class="none"></span>Jackrabbit History</a></li>
    <li class="nav-header">Documentation</li>
     <li><a href="getting-started-with-apache-jackrabbit.html" title="Getting Started"><span class="none"></span>Getting Started</a></li>
@@ -151,15 +149,14 @@
     <li><a href="website.html" title="Website"><span class="none"></span>Website</a></li>
     <li><a href="creating-releases.html" title="Creating Releases"><span class="none"></span>Creating Releases</a></li>
     <li><a href="supporting-software-attribution.html" title="Attribution"><span class="none"></span>Attribution</a></li>
-    <li><a href="privacy-policy.html" title="Privacy"><span class="none"></span>Privacy</a></li>
    <li class="nav-header">Apache Software Foundation</li>
-    <li><a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="Introduction"><span class="none"></span>Introduction</a></li>
-    <li><a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"><span class="none"></span>Sponsorship</a></li>
-    <li><a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Current Sponsors"><span class="none"></span>Current Sponsors</a></li>
+    <li><a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="Introduction"><span class="none"></span>Introduction</a></li>
+    <li><a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"><span class="none"></span>Sponsorship</a></li>
+    <li><a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Current Sponsors"><span class="none"></span>Current Sponsors</a></li>
+    <li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Privacy"><span class="none"></span>Privacy</a></li>
   </ul>
           </nav>
           <div class="well sidebar-nav">
-            <hr />
             <div id="poweredBy">
               <div class="clear"></div>
               <div class="clear"></div>
@@ -186,16 +183,28 @@
    limitations under the License.
 -->
 <h1>Node Type Visualization</h1>
-<p>Visualizing the Node Type Hierarchy is non-trivial, even in the case of a repository containing only the default Jackrabbit node types. Here, GraphViz can help:</p>
+<p>Visualizing the Node Type Hierarchy is non-trivial, even in the case of a
+repository containing only the default Jackrabbit node types. Here,
+GraphViz can help:</p>
 <p><img src="jackrabbit-nodetypes.png" alt="Jackrabbit Nodetypes" /></p>
 <p>Node Type Hierarchy for Jackrabbit (<a href="jackrabbit-nodetypes.svg">SVG version</a>)</p>
-<p>In this diagram, the rounded boxes represent node types (green for mixins, gold for primrary types), with the arrows indicating the node inheritance. The square boxes represent child node and property definitions.</p>
+<p>In this diagram, the rounded boxes represent node types (green for mixins,
+gold for primrary types), with the arrows indicating the node inheritance.
+The square boxes represent child node and property definitions.</p>
 <p>To generate these diagrams, you will need:</p>
 <ol style="list-style-type: decimal">
 
-<li>A system view export of <code>/jcr:system/jcr:nodeTypes</code>.</li>
-<li>An XSLT processor and the XSLT code below.</li>
-<li>The <a class="externalLink" href="http://graphviz.org/">GraphViz</a> tool<!--
+<li>
+
+<p>A system view export of <code>/jcr:system/jcr:nodeTypes</code>.</p>
+</li>
+<li>
+
+<p>An XSLT processor and the XSLT code below.</p>
+</li>
+<li>
+
+<p>The <a class="externalLink" href="http://graphviz.org/">GraphViz</a> tool</p> <!--
      * Licensed to the Apache Software Foundation (ASF) under one or more
      * contributor license agreements.  See the NOTICE file distributed with
      * this work for additional information regarding copyright ownership.
@@ -211,7 +220,7 @@
      * See the License for the specific language governing permissions and
      * limitations under the License.
     -->
-<!--
+ <!--
       A tool for converting the system view of /jcr:system/jcr:nodeTypes
       to GraphViz input (see <http://www.graphviz.org/>).
       
@@ -230,56 +239,84 @@
          ...producing nt-sample.svg as output.
     -->
 
-<p>&lt;xsl:transform xmlns:xsl=&#x201c;<a class="externalLink" href="http://www.w3.org/1999/XSL/Transform">http://www.w3.org/1999/XSL/Transform</a>&#x201d; version=&#x201c;1.0&#x201d; xmlns:ed=&#x201c;<a class="externalLink" href="http://greenbytes.de/2002/rfcedit">http://greenbytes.de/2002/rfcedit</a>&#x201d; xmlns:exslt=&#x201c;<a class="externalLink" href="http://exslt.org/common">http://exslt.org/common</a>&#x201d; xmlns:nt=&#x201c;<a class="externalLink" href="http://www.jcp.org/jcr/nt/1.0">http://www.jcp.org/jcr/nt/1.0</a>&#x201d; xmlns:sv=&#x201c;<a class="externalLink" href="http://www.jcp.org/jcr/sv/1.0">http://www.jcp.org/jcr/sv/1.0</a>&#x201d; xmlns:jcr=&#x201c;<a class="externalLink" href="http://www.jcp.org/jcr/1.0">http://www.jcp.org/jcr/1.0</a>&#x201d;</p>
+<p>&lt;xsl:transform xmlns:xsl=&#x201c;<a class="externalLink" href="http://www.w3.org/1999/XSL/Transform">http://www.w3.org/1999/XSL/Transform</a>&#x201d;
+version=&#x201c;1.0&#x201d;
+xmlns:ed=&#x201c;<a class="externalLink" href="http://greenbytes.de/2002/rfcedit">http://greenbytes.de/2002/rfcedit</a>&#x201d;
+xmlns:exslt=&#x201c;<a class="externalLink" href="http://exslt.org/common">http://exslt.org/common</a>&#x201d;
+xmlns:nt=&#x201c;<a class="externalLink" href="http://www.jcp.org/jcr/nt/1.0">http://www.jcp.org/jcr/nt/1.0</a>&#x201d;
+xmlns:sv=&#x201c;<a class="externalLink" href="http://www.jcp.org/jcr/sv/1.0">http://www.jcp.org/jcr/sv/1.0</a>&#x201d;
+xmlns:jcr=&#x201c;<a class="externalLink" href="http://www.jcp.org/jcr/1.0">http://www.jcp.org/jcr/1.0</a>&#x201d;</p>
 <blockquote></blockquote>
 <p>&lt;xsl:output method=&#x201c;text&#x201d; encoding=&#x201c;UTF-8&#x201d;/&gt;</p>
-<p>&lt;xsl:template match=&#x201c;/&#x201d;&gt; <a href="xsl:text">xsl:text</a>digraph {
-&lt;/xsl:text&gt; <a href="xsl:text">xsl:text</a>  rankdir=LR;
-&lt;/xsl:text&gt; &lt;xsl:apply-templates select=&#x201c;//sv:node[sv:property[@sv:name=&#x2018;jcr:primaryType&#x2019;]/sv:value=&#x2018;nt:nodeType&#x2019;]&#x201d;/&gt; <a href="xsl:text">xsl:text</a>}
-&lt;/xsl:text&gt; &lt;/xsl:template&gt;</p>
-<p>&lt;xsl:template match=&#x201c;sv:node[sv:property[@sv:name=&#x2018;jcr:primaryType&#x2019;]/sv:value=&#x2018;nt:nodeType&#x2019;]&#x201d;&gt; <a href="xsl:text">xsl:text</a>  &#x201c;&lt;/xsl:text&gt; &lt;xsl:value-of select=&#x201d;@sv:name&quot;/&gt; <a href="xsl:text">xsl:text</a>&quot; &lt;/xsl:text&gt; <a href="xsl:choose">xsl:choose</a> &lt;xsl:when test=&#x201c;sv:property[@sv:name=&#x2018;jcr:isMixin&#x2019;] /sv:value=&#x2018;true&#x2019;&#x201d;&gt; <a href="xsl:text">xsl:text</a>[style = &#x201c;filled, rounded&#x201d;, fillcolor = greenyellow];&lt;/xsl:text&gt; &lt;/xsl:when&gt; <a href="xsl:otherwise">xsl:otherwise</a> <a href="xsl:text">xsl:text</a>[style = &#x201c;filled, rounded&#x201d;, fillcolor = gold] ;&lt;/xsl:text&gt; &lt;/xsl:otherwise&gt; &lt;/xsl:choose&gt; <a href="xsl:text">xsl:text</a>
-&lt;/xsl:text&gt;</p>
-<p>&lt;xsl:for-each select=&#x201c;sv:property[@sv:name=&#x2018;jcr:supertypes&#x2019;]/sv:value&#x201d;&gt; <a href="xsl:text">xsl:text</a>	&#x201c;&lt;/xsl:text&gt; &lt;xsl:value-of select=&#x201d;.&#x201c;/&gt; <a href="xsl:text">xsl:text</a>&#x201d; -&gt; &#x201c;&lt;/xsl:text&gt; &lt;xsl:value-of select=&#x201d;../../@sv:name&quot;/&gt; <a href="xsl:text">xsl:text</a>&quot; [dir = back, tooltip = &#x201c;supertype&#x201d;] ;
-&lt;/xsl:text&gt; &lt;/xsl:for-each&gt;</p>
-<p>&lt;xsl:for-each select=&#x201c;sv:node[@sv:name=&#x2018;jcr:childNodeDefinition&#x2019;]&#x201d;&gt;</p>
-
-<div class="source">
-<div class="source"><pre class="prettyprint linenums">&lt;xsl:variable name=&quot;name&quot;&gt;
-  &lt;xsl:choose&gt;
-    &lt;xsl:when test=&quot;sv:property[@sv:name='jcr:name']&quot;&gt;
-      &lt;xsl:value-of select=&quot;sv:property[@sv:name='jcr:name']/sv:value&quot;/&gt;
+<p>&lt;xsl:template match=&#x201c;/&#x201d;&gt;
+<a href="xsl:text">xsl:text</a>digraph {
+&lt;/xsl:text&gt;
+<a href="xsl:text">xsl:text</a>  rankdir=LR;
+&lt;/xsl:text&gt;
+&lt;xsl:apply-templates select=&#x201c;//sv:node[sv:property[@sv:name=&#x2018;jcr:primaryType&#x2019;]/sv:value=&#x2018;nt:nodeType&#x2019;]&#x201d;/&gt;
+<a href="xsl:text">xsl:text</a>}
+&lt;/xsl:text&gt;
+&lt;/xsl:template&gt;</p>
+<p>&lt;xsl:template match=&#x201c;sv:node[sv:property[@sv:name=&#x2018;jcr:primaryType&#x2019;]/sv:value=&#x2018;nt:nodeType&#x2019;]&#x201d;&gt;
+<a href="xsl:text">xsl:text</a>  &#x201c;&lt;/xsl:text&gt;
+&lt;xsl:value-of select=&#x201d;@sv:name&quot;/&gt;
+<a href="xsl:text">xsl:text</a>&quot; &lt;/xsl:text&gt;
+<a href="xsl:choose">xsl:choose</a>
+&lt;xsl:when test=&#x201c;sv:property[@sv:name=&#x2018;jcr:isMixin&#x2019;] /sv:value=&#x2018;true&#x2019;&#x201d;&gt;
+<a href="xsl:text">xsl:text</a>[style = &#x201c;filled, rounded&#x201d;, fillcolor = greenyellow];&lt;/xsl:text&gt;
 &lt;/xsl:when&gt;
-&lt;xsl:otherwise&gt;*&lt;/xsl:otherwise&gt;
-  &lt;/xsl:choose&gt;
-&lt;/xsl:variable&gt;
-
-&lt;xsl:variable name=&quot;id&quot; select=&quot;generate-id()&quot;/&gt;
-
-&lt;xsl:value-of select=&quot;concat('  &amp;quot;',$id,'&amp;quot; [shape = box, style = filled, fillcolor = khaki, label=&amp;quot;',$name,'&amp;quot;]&amp;#10;')&quot;/&gt;
-
-&lt;xsl:text&gt;	&quot;&lt;/xsl:text&gt;
-&lt;xsl:value-of select=&quot;../@sv:name&quot;/&gt;
-&lt;xsl:text&gt;&quot; -&gt; &quot;&lt;/xsl:text&gt;
-&lt;xsl:value-of select=&quot;$id&quot;/&gt;
-&lt;xsl:choose&gt;
-  &lt;xsl:when test=&quot;sv:property[@sv:name='jcr:mandatory']/sv:value='true'&quot;&gt;
-&lt;xsl:text&gt;&quot; [tooltip = &quot;is mandatory child node of&quot;, dir = back];&amp;#10;&lt;/xsl:text&gt;
-  &lt;/xsl:when&gt;
-  &lt;xsl:otherwise&gt;
-&lt;xsl:text&gt;&quot; [style = dotted, tooltip = &quot;is child node of&quot;, dir = back];&amp;#10;&lt;/xsl:text&gt;
-  &lt;/xsl:otherwise&gt;
+<a href="xsl:otherwise">xsl:otherwise</a>
+<a href="xsl:text">xsl:text</a>[style = &#x201c;filled, rounded&#x201d;, fillcolor = gold] ;&lt;/xsl:text&gt;
+&lt;/xsl:otherwise&gt;
 &lt;/xsl:choose&gt;
+<a href="xsl:text">xsl:text</a>
+&lt;/xsl:text&gt;</p>
+<p>&lt;xsl:for-each select=&#x201c;sv:property[@sv:name=&#x2018;jcr:supertypes&#x2019;]/sv:value&#x201d;&gt;
+<a href="xsl:text">xsl:text</a>	&#x201c;&lt;/xsl:text&gt;
+&lt;xsl:value-of select=&#x201d;.&#x201c;/&gt;
+<a href="xsl:text">xsl:text</a>&#x201d; -&gt; &#x201c;&lt;/xsl:text&gt;
+&lt;xsl:value-of select=&#x201d;../../@sv:name&quot;/&gt;
+<a href="xsl:text">xsl:text</a>&quot; [dir = back, tooltip = &#x201c;supertype&#x201d;] ;
+&lt;/xsl:text&gt;
+&lt;/xsl:for-each&gt;</p>
+<p>&lt;xsl:for-each select=&#x201c;sv:node[@sv:name=&#x2018;jcr:childNodeDefinition&#x2019;]&#x201d;&gt;</p>
 
-&lt;xsl:text&gt;	&quot;&lt;/xsl:text&gt;
-&lt;xsl:value-of select=&quot;sv:property[@sv:name='jcr:requiredPrimaryTypes']/sv:value&quot;/&gt;
-&lt;xsl:text&gt;&quot; -&gt; &quot;&lt;/xsl:text&gt;
-&lt;xsl:value-of select=&quot;$id&quot;/&gt;
-&lt;xsl:text&gt;&quot; [dir = back, tooltip = &quot;has primary type&quot;];&amp;#10;&lt;/xsl:text&gt;
-</pre></div></div>
-
+<div class="source"><pre class="prettyprint linenums"><code> &lt;xsl:variable name=&quot;name&quot;&gt;
+   &lt;xsl:choose&gt;
+     &lt;xsl:when test=&quot;sv:property[@sv:name='jcr:name']&quot;&gt;
+       &lt;xsl:value-of select=&quot;sv:property[@sv:name='jcr:name']/sv:value&quot;/&gt;
+ &lt;/xsl:when&gt;
+ &lt;xsl:otherwise&gt;*&lt;/xsl:otherwise&gt;
+   &lt;/xsl:choose&gt;
+ &lt;/xsl:variable&gt;
+
+ &lt;xsl:variable name=&quot;id&quot; select=&quot;generate-id()&quot;/&gt;
+
+ &lt;xsl:value-of select=&quot;concat('  &amp;quot;',$id,'&amp;quot; [shape = box, style = filled, fillcolor = khaki, label=&amp;quot;',$name,'&amp;quot;]&amp;#10;')&quot;/&gt;
+
+ &lt;xsl:text&gt;	&quot;&lt;/xsl:text&gt;
+ &lt;xsl:value-of select=&quot;../@sv:name&quot;/&gt;
+ &lt;xsl:text&gt;&quot; -&gt; &quot;&lt;/xsl:text&gt;
+ &lt;xsl:value-of select=&quot;$id&quot;/&gt;
+ &lt;xsl:choose&gt;
+   &lt;xsl:when test=&quot;sv:property[@sv:name='jcr:mandatory']/sv:value='true'&quot;&gt;
+ &lt;xsl:text&gt;&quot; [tooltip = &quot;is mandatory child node of&quot;, dir = back];&amp;#10;&lt;/xsl:text&gt;
+   &lt;/xsl:when&gt;
+   &lt;xsl:otherwise&gt;
+ &lt;xsl:text&gt;&quot; [style = dotted, tooltip = &quot;is child node of&quot;, dir = back];&amp;#10;&lt;/xsl:text&gt;
+   &lt;/xsl:otherwise&gt;
+ &lt;/xsl:choose&gt;
+
+ &lt;xsl:text&gt;	&quot;&lt;/xsl:text&gt;
+ &lt;xsl:value-of select=&quot;sv:property[@sv:name='jcr:requiredPrimaryTypes']/sv:value&quot;/&gt;
+ &lt;xsl:text&gt;&quot; -&gt; &quot;&lt;/xsl:text&gt;
+ &lt;xsl:value-of select=&quot;$id&quot;/&gt;
+ &lt;xsl:text&gt;&quot; [dir = back, tooltip = &quot;has primary type&quot;];&amp;#10;&lt;/xsl:text&gt;
+</code></pre></div>
 <p>&lt;/xsl:for-each&gt;</p>
 <p>&lt;/xsl:template&gt;</p>
-<p>&lt;/xsl:transform&gt;</p></li>
+<p>&lt;/xsl:transform&gt;</p>
+</li>
 </ol>
         </main>
       </div>
@@ -292,10 +329,12 @@
 <a href="https://www.apache.org/">The Apache Software Foundation</a> &vert; <a href="https://privacy.apache.org/policies/privacy-policy-public.html">Privacy Policy</a>
 </p>
         </div>
-    <div id="ohloh" class="pull-right">
-      <script src="https://www.ohloh.net/p/jackrabbit/widgets/project_users_logo.js"></script>
-    </div>
-        </div>
+      </div>
     </footer>
+<script>
+	if(anchors) {
+	  anchors.add();
+	}
+</script>
   </body>
 </html>
\ No newline at end of file