-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5488107
commit bfe8ad4
Showing
13 changed files
with
309 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
go 1.20 | ||
go 1.21.3 | ||
|
||
use ( | ||
./cli | ||
|
@@ -10,4 +10,5 @@ use ( | |
./lib/test | ||
./lib/types | ||
./lib/utils | ||
./xsd | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:element name="dictionary"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="entry"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="ety"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="sense"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="definition"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="example" type="xs:string" /> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="note"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="example" type="xs:string" /> | ||
</xs:sequence> | ||
<xs:attribute name="id" type="xs:string" /> | ||
<xs:attribute use="required" name="value" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="id" type="xs:string" /> | ||
<xs:attribute use="required" name="value" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="group"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="definition"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="example" type="xs:string" /> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="note"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element minOccurs="1" maxOccurs="unbounded" name="example" type="xs:string" /> | ||
</xs:sequence> | ||
<xs:attribute name="id" type="xs:string" /> | ||
<xs:attribute use="required" name="value" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="id" type="xs:string" /> | ||
<xs:attribute use="required" name="value" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="id" type="xs:string" /> | ||
<xs:attribute use="required" name="description" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute use="required" name="pos" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute name="id" type="xs:string" /> | ||
<xs:attribute name="description" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute use="required" name="term" type="xs:string" /> | ||
<xs:attribute name="pronunciation" type="xs:string" /> | ||
<xs:attribute name="see" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:sequence> | ||
<xs:attribute use="required" name="id" type="xs:string" /> | ||
<xs:attribute name="name" type="xs:string" /> | ||
</xs:complexType> | ||
</xs:element> | ||
</xs:schema> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module github.com/TheOpenDictionary/odict/xsd | ||
|
||
go 1.21.3 | ||
|
||
require ( | ||
github.com/TheOpenDictionary/odict/lib/types v0.0.0-20231024210539-d4e83ae7bfdc | ||
github.com/go-xmlfmt/xmlfmt v1.1.2 | ||
) | ||
|
||
require ( | ||
github.com/TheOpenDictionary/odict/lib/utils v0.0.0-20231024210539-d4e83ae7bfdc // indirect | ||
github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386 // indirect | ||
github.com/google/flatbuffers v23.5.26+incompatible // indirect | ||
github.com/imdario/mergo v0.3.16 // indirect | ||
github.com/samber/lo v1.38.1 // indirect | ||
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect | ||
) |
Oops, something went wrong.