We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a0f50e commit e5811eaCopy full SHA for e5811ea
src/validators/CompasValidateSchema.ts
@@ -136,6 +136,9 @@ export default class CompasValidateSchema extends LitElement {
136
* For XPath to work correctly the default namespace of SCL needs to have a prefix to work.
137
* The function evaluate expects HTML to be the default namespace.
138
*
139
+ * See https://developer.mozilla.org/en-US/docs/Web/XPath/Introduction_to_using_XPath_in_JavaScript
140
+ * for more information on how XPath is working with evalaute and why this fix is needed.
141
+ *
142
* @param xpath - The XPath to rewrite to use a prefix 'scl' for the SCL Namespace.
143
*/
144
private rewriteXPathForDefaultNamespace(xpath: string): string {
0 commit comments