diff --git a/developer/src/common/web/utils/src/index.ts b/developer/src/common/web/utils/src/index.ts index 7ee5c507b80..4a748bc354a 100644 --- a/developer/src/common/web/utils/src/index.ts +++ b/developer/src/common/web/utils/src/index.ts @@ -45,3 +45,5 @@ export { defaultCompilerOptions, CompilerBaseOptions, CompilerCallbacks, Compile export { CommonTypesMessages } from './common-messages.js'; export * as xml2js from './deps/xml2js/xml2js.js'; + +export { KeymanXMLParser, KeymanXMLGenerator } from './xml-utils.js'; diff --git a/developer/src/common/web/utils/src/xml-utils.ts b/developer/src/common/web/utils/src/xml-utils.ts new file mode 100644 index 00000000000..fa71dcf9656 --- /dev/null +++ b/developer/src/common/web/utils/src/xml-utils.ts @@ -0,0 +1,11 @@ + +/** wrapper for XML parsing support */ +export class KeymanXMLParser { + +} + +/** wrapper for XML generation support */ +export class KeymanXMLGenerator { + +} + diff --git a/developer/src/common/web/utils/test/test-xml-utils.ts b/developer/src/common/web/utils/test/test-xml-utils.ts new file mode 100644 index 00000000000..756855e6b9f --- /dev/null +++ b/developer/src/common/web/utils/test/test-xml-utils.ts @@ -0,0 +1,13 @@ +import { assert } from 'chai'; +import 'mocha'; + +import { KeymanXMLParser, KeymanXMLGenerator } from '../src/xml-utils.js'; + +describe('XML Parser Test', () => { + it('null test', () => assert.ok(new KeymanXMLParser())); +}); + +describe('XML Generator Test', () => { + it('null test', () => assert.ok(new KeymanXMLGenerator())); +}); +