Correcting samples and deprecated attributes in enterprise-mode_schema-version-2-guidance

Correcting the sample xml so that the comments don't break parsing rules. Also, updating the "Default" and "None" captialization to be consistent with our other documentation and tools.

Updating the "Deprecated attributes" section to be more accurate about elements and attributes. Also corrected samples.
This commit is contained in:
Tom Bolds
2019-12-02 15:06:50 -08:00
committed by GitHub
parent eb5d6fa743
commit 05a54a0cb2

View File

@ -46,19 +46,19 @@ The following is an example of the v.2 version of the Enterprise Mode schema.
```xml ```xml
<site-list version="205"> <site-list version="205">
<!--- File creation header ---> <!-- File creation header -->
<created-by> <created-by>
<tool>EnterpriseSitelistManager</tool> <tool>EnterpriseSitelistManager</tool>
<version>10240</version> <version>10240</version>
<date-created>20150728.135021</date-created> <date-created>20150728.135021</date-created>
</created-by> </created-by>
<!--- Begin Site List ---> <!-- Begin Site List -->
<site url="www.cpandl.com"> <site url="www.cpandl.com">
<compat-mode>IE8Enterprise</compat-mode> <compat-mode>IE8Enterprise</compat-mode>
<open-in>MSEdge</open-in> <open-in>MSEdge</open-in>
</site> </site>
<site url="www.woodgrovebank.com"> <site url="www.woodgrovebank.com">
<compat-mode>default</compat-mode> <compat-mode>Default</compat-mode>
<open-in>IE11</open-in> <open-in>IE11</open-in>
</site> </site>
<site url="adatum.com"> <site url="adatum.com">
@ -66,14 +66,15 @@ The following is an example of the v.2 version of the Enterprise Mode schema.
<open-in>IE11</open-in> <open-in>IE11</open-in>
</site> </site>
<site url="contoso.com"> <site url="contoso.com">
<compat-mode>default</compat-mode> <compat-mode>Default</compat-mode>
<open-in>IE11</open-in> <open-in>IE11</open-in>
</site> </site>
<site url="relecloud.com"/> <site url="relecloud.com"/>
<compat-mode>default</compat-mode> <compat-mode>Default</compat-mode>
<open-in>none</open-in> <open-in>None</open-in>
<site url="relecloud.com/about"> <site url="relecloud.com/about">
<compat-mode>IE8Enterprise"</compat-mode> <compat-mode>IE8Enterprise"</compat-mode>
<open-in>None</open-in>
</site> </site>
<site url="contoso.com/travel"> <site url="contoso.com/travel">
<compat-mode>IE7</compat-mode> <compat-mode>IE7</compat-mode>
@ -232,26 +233,26 @@ These v.1 version schema attributes have been deprecated in the v.2 version of t
<table> <table>
<thead> <thead>
<tr class="header"> <tr class="header">
<th>Deprecated attribute</th> <th>Deprecated element/attribute</th>
<th>New attribute</th> <th>New element</th>
<th>Replacement example</th> <th>Replacement example</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>&lt;forceCompatView&gt;</td> <td>forceCompatView</td>
<td>&lt;compat-mode&gt;</td> <td>&lt;compat-mode&gt;</td>
<td>Replace &lt;forceCompatView=&quot;true&quot;&gt; with &lt;compat-mode&gt;IE7Enterprise&lt;/compat-mode&gt;</td> <td>Replace forceCompatView=&quot;true&quot; with &lt;compat-mode&gt;IE7Enterprise&lt;/compat-mode&gt;</td>
</tr> </tr>
<tr> <tr>
<td>&lt;docMode&gt;</td> <td>docMode</td>
<td>&lt;compat-mode&gt;</td> <td>&lt;compat-mode&gt;</td>
<td>Replace &lt;docMode=&quot;IE5&quot;&gt; with &lt;compat-mode&gt;IE5&lt;/compat-mode&gt;</td> <td>Replace docMode=&quot;IE5&quot; with &lt;compat-mode&gt;IE5&lt;/compat-mode&gt;</td>
</tr> </tr>
<tr> <tr>
<td>&lt;doNotTransition&gt;</td> <td>doNotTransition</td>
<td>&lt;open-in&gt;</td> <td>&lt;open-in&gt;</td>
<td>Replace &lt;doNotTransition=&quot;true&quot;&gt; with &lt;open-in&gt;none&lt;/open-in&gt;</td> <td>Replace doNotTransition=&quot;true&quot; with &lt;open-in&gt;none&lt;/open-in&gt;</td>
</tr> </tr>
<tr> <tr>
<td>&lt;domain&gt; and &lt;path&gt;</td> <td>&lt;domain&gt; and &lt;path&gt;</td>
@ -259,25 +260,28 @@ These v.1 version schema attributes have been deprecated in the v.2 version of t
<td>Replace: <td>Replace:
<pre class="syntax"> <pre class="syntax">
&lt;emie&gt; &lt;emie&gt;
&lt;domain exclude=&quot;false&quot;&gt;contoso.com&lt;/domain&gt; &lt;domain&gt;contoso.com&lt;/domain&gt;
&lt;/emie&gt;</pre> &lt;/emie&gt;</pre>
With: With:
<pre class="syntax"> <pre class="syntax">
&lt;site url=&quot;contoso.com&quot;/&gt; &lt;site url=&quot;contoso.com&quot;/&gt;
&lt;compat-mode&gt;IE8Enterprise&lt;/compat-mode&gt; &lt;compat-mode&gt;IE8Enterprise&lt;/compat-mode&gt;
&lt;open-in&gt;IE11&lt;/open-in&gt;
&lt;/site&gt;</pre> &lt;/site&gt;</pre>
<b>-AND-</b><p> <b>-AND-</b><p>
Replace: Replace:
<pre class="syntax"> <pre class="syntax">
&lt;emie&gt; &lt;emie&gt;
&lt;domain exclude=&quot;true&quot;&gt;contoso.com &lt;domain exclude=&quot;true&quot; doNotTransition=&quot;true&quot;&gt;
&lt;path exclude=&quot;false&quot; forceCompatView=&quot;true&quot;&gt;/about&lt;/path&gt; contoso.com
&lt;path forceCompatView=&quot;true&quot;&gt;/about&lt;/path&gt;
&lt;/domain&gt; &lt;/domain&gt;
&lt;/emie&gt;</pre> &lt;/emie&gt;</pre>
With: With:
<pre class="syntax"> <pre class="syntax">
&lt;site url=&quot;contoso.com/about&quot;&gt; &lt;site url=&quot;contoso.com/about&quot;&gt;
&lt;compat-mode&gt;IE7Enterprise&lt;/compat-mode&gt; &lt;compat-mode&gt;IE7Enterprise&lt;/compat-mode&gt;
&lt;open-in&gt;IE11&lt;/open-in&gt;
&lt;/site&gt;</pre></td> &lt;/site&gt;</pre></td>
</tr> </tr>
</table> </table>