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 c484905 commit a8a4778Copy full SHA for a8a4778
tDataTypeTemplates/lNodeTypeToSelection.ts
@@ -10,8 +10,8 @@ function enumeration(daOrBda: Element): TreeSelection {
10
11
Array.from(enumType.querySelectorAll(":scope > EnumVal")).forEach(
12
(enumVal) => {
13
- const val = enumVal.textContent?.trim();
14
- if (val) selection[val] = {};
+ const val = enumVal.textContent!.trim(); //textContent null only for doctype or document
+ selection[val] = {};
15
},
16
);
17
0 commit comments