Skip to content

Commit fc9eebc

Browse files
authored
Merge pull request #1 from bsivanov/fix-spelling
Fix spelling in Editing XSLT - @bsivanov many thanks for these fixes. This HTML file (though under source-control) is actually the generated result of an XSLT transform from https://github.com/DeltaXML/deltaxml.github.io/blob/master/vscode-xslt-xpath/authoring/editing-xslt.xml. So I'll make the fixes on this XML file too. If in future, you want to change the XML source - with VS Code and the XSLT extension you can simply run the 'createVSCodePages' task defined at: https://github.com/DeltaXML/deltaxml.github.io/blob/master/.vscode/tasks.json I will add a README.md explaining this - and I'll also try to ensure some comments are added to the generated HTML to make their origin clear.
2 parents e6a5a22 + 5f7a305 commit fc9eebc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

vscode-xslt-xpath/editing-xslt.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ <h6><strong>Variables and XPath Locations</strong></h6>
190190
</p>
191191
<h5>Triggering the auto-complete list</h5>
192192
<p>For XSLT intellisense, the <span class="shortcut">&lt;</span> character triggers suggestions. XSLT instruction suggestions
193-
fit the context of the curstor location.
193+
fit the context of the cursor location.
194194
On accepting a suggestion a <a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets">Code Snippet</a> is inserted
195195
which will include common attributes for the selected instruction.
196196
</p>
@@ -252,7 +252,7 @@ <h3 id="checking">XSLT Linter</h3>
252252
<aside>Note: The XSLT Linter uses a Symbol Provider. To ensure checks are performed you should keep the
253253
<a href="https://code.visualstudio.com/Docs/editor/editingevolved#_breadcrumbs">Breadcrumbs</a> view enabled.</aside>
254254
<p>
255-
The XSLT/XPath linter performs checks on your code as you type, peforming symbol reference tests across all included modules.
255+
The XSLT/XPath linter performs checks on your code as you type, performing symbol reference tests across all included modules.
256256
Any problems are shown in the Problems Panel and also highlighted inline with a squiggly
257257
underline for the specific token at issue.
258258
Here is a summary of the key checks:
@@ -261,7 +261,7 @@ <h3 id="checking">XSLT Linter</h3>
261261
<li>XML Syntax</li>
262262
<li>XSLT/XPath Variable name references</li>
263263
<li>XSLT/XPath Parameter name references</li>
264-
<li><strong>All</strong> other symbol name refererences (<code>xsl:accumulator</code> <code>xsl:key</code> etc.)</li>
264+
<li><strong>All</strong> other symbol name references (<code>xsl:accumulator</code> <code>xsl:key</code> etc.)</li>
265265
<li>Function name and arity (number of params)</li>
266266
<li><code>xsl:with-param</code> names</li>
267267
<li>File locations in <code>xsl:import</code> <code>xsl:include</code> <code>xsl:use-package</code></li>
@@ -279,9 +279,9 @@ <h5>Inferred Imports for 'Non-Standalone' Stylesheets</h5>
279279
can be reported. In such cases, the spurious problems are annoying and may obscure reported problems that are actually relevant.
280280
</p>
281281
<p>The <strong>Inferred Imports</strong> feature prevents spurious problems being highlighted in the editor.
282-
With this featue, a search is made to find if the active XSLT stylesheet has been declared as an import by another stylesheet opened recently
282+
With this feature, a search is made to find if the active XSLT stylesheet has been declared as an import by another stylesheet opened recently
283283
in Visual Studio Code. If such a 'parent' stylesheet is found (the most recently opened example is used) it is imported along with any other imports. Functions and,
284-
variables etc. used in the active stylehseet can therefore be resolved.
284+
variables etc. used in the active stylesheet can therefore be resolved.
285285
</p>
286286
<h5>Unused Variables</h5>
287287
<p>The Code Checker detects unused variables and parameters declared in either XSLT or XPath expressions. These are highlighted by being 'grayed out' in
@@ -290,7 +290,7 @@ <h5>Unused Variables</h5>
290290
</p>
291291
<h5>Compile-time and Run-time problems</h5>
292292
<p>The Code Checking feature is designed to find most basic code problems due to typos or changes to referenced symbols.
293-
When XSLT is run, an attempt is made to parse error messages from the Saxon XSLT procesor
293+
When XSLT is run, an attempt is made to parse error messages from the Saxon XSLT processor
294294
(shown in the Task tab of the Terminal View) so that the problem token is highlighted,
295295
and the error message is shown in the Problems View.
296296
</p>
@@ -314,4 +314,4 @@ <h5>Compile-time and Run-time problems</h5>
314314
</div>
315315
</body>
316316

317-
</html>
317+
</html>

0 commit comments

Comments
 (0)