mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-19 14:57:42 +00:00
chore(common): ldmlKeyboard3.dtd
This commit is contained in:
parent
857017f4ad
commit
1d3cb5eb4b
3 changed files with 4 additions and 4 deletions
|
|
@ -37,7 +37,7 @@ export class KeymanDeveloperProject {
|
|||
for(let filename of files) {
|
||||
let fullPath = this.callbacks.path.join(sourcePath, filename);
|
||||
if(KeymanFileTypes.filenameIs(filename, KeymanFileTypes.Source.LdmlKeyboard)) {
|
||||
if(!this.callbacks.fs.readFileSync(fullPath, 'utf-8').match(/ldmlKeyboard\.dtd/)) {
|
||||
if(!this.callbacks.fs.readFileSync(fullPath, 'utf-8').match(/ldmlKeyboard3\.dtd/)) {
|
||||
// Skip this .xml because we assume it isn't really a keyboard .xml
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
DOCTYPE keyboard SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard.dtd"
|
||||
DOCTYPE keyboard SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd"
|
||||
Disabling doctype for this invalid file, not used by compiler, and avoids complaints in IDEs etc.
|
||||
-->
|
||||
<keyboard3 locale="mt" conformsTo="nothing-anyone-ever-heard-of"> <!-- invalid -->
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ That will very roughly correspond to <https://github.com/unicode-org/cldr/tree/k
|
|||
|
||||
Each directory contains:
|
||||
|
||||
- `ldmlKeyboard.dtd` - the DTD file
|
||||
- `ldmlKeyboard.xsd` - the XSD file, automatically converted from the DTD using
|
||||
- `ldmlKeyboard3.dtd` - the DTD file
|
||||
- `ldmlKeyboard3.xsd` - the XSD file, automatically converted from the DTD using
|
||||
Visual Studio, hand tweaked as necessary
|
||||
- `ldml-keyboard3.schema.json` - the JSON schema file, automatically converted
|
||||
from the XSD using xsd2json (https://github.com/Mermade/jgeXml), hand tweaked
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue