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 57f2c1d commit cf17230Copy full SHA for cf17230
src/functionData.ts
@@ -381,7 +381,13 @@ export class FunctionData {
381
"dateTimeStamp#1"
382
];
383
384
- public static readonly simpleTypes = FunctionData.schema.map(t => 'xs:' + t.substring(0, t.length - 2));
+ private static unionSimpleTypes() {
385
+ const baseSimpleTypes = FunctionData.schema.map(t => 'xs:' + t.substring(0, t.length - 2));
386
+ baseSimpleTypes.push('xs:numeric');
387
+ return baseSimpleTypes;
388
+ }
389
+
390
+ public static readonly simpleTypes = FunctionData.unionSimpleTypes();
391
392
public static readonly namespaces = new Map([
393
["http://www.w3.org/2005/xpath-functions/array", XSLTnamespaces.Array],
0 commit comments