Skip to main content

xsd_schema/parser/frames/
xsd_names.rs

1/// XSD element local names (for matching)
2pub mod xsd_names {
3    pub const SCHEMA: &str = "schema";
4    pub const INCLUDE: &str = "include";
5    pub const IMPORT: &str = "import";
6    pub const REDEFINE: &str = "redefine";
7    pub const OVERRIDE: &str = "override";
8    pub const ANNOTATION: &str = "annotation";
9    pub const APPINFO: &str = "appinfo";
10    pub const DOCUMENTATION: &str = "documentation";
11    pub const SIMPLE_TYPE: &str = "simpleType";
12    pub const COMPLEX_TYPE: &str = "complexType";
13    pub const ELEMENT: &str = "element";
14    pub const ATTRIBUTE: &str = "attribute";
15    pub const GROUP: &str = "group";
16    pub const ATTRIBUTE_GROUP: &str = "attributeGroup";
17    pub const NOTATION: &str = "notation";
18    pub const RESTRICTION: &str = "restriction";
19    pub const EXTENSION: &str = "extension";
20    pub const LIST: &str = "list";
21    pub const UNION: &str = "union";
22    pub const SIMPLE_CONTENT: &str = "simpleContent";
23    pub const COMPLEX_CONTENT: &str = "complexContent";
24    pub const SEQUENCE: &str = "sequence";
25    pub const CHOICE: &str = "choice";
26    pub const ALL: &str = "all";
27    pub const ANY: &str = "any";
28    pub const ANY_ATTRIBUTE: &str = "anyAttribute";
29    pub const KEY: &str = "key";
30    pub const KEYREF: &str = "keyref";
31    pub const UNIQUE: &str = "unique";
32    pub const SELECTOR: &str = "selector";
33    pub const FIELD: &str = "field";
34    pub const ENUMERATION: &str = "enumeration";
35    pub const PATTERN: &str = "pattern";
36    pub const MIN_INCLUSIVE: &str = "minInclusive";
37    pub const MAX_INCLUSIVE: &str = "maxInclusive";
38    pub const MIN_EXCLUSIVE: &str = "minExclusive";
39    pub const MAX_EXCLUSIVE: &str = "maxExclusive";
40    pub const MIN_LENGTH: &str = "minLength";
41    pub const MAX_LENGTH: &str = "maxLength";
42    pub const LENGTH: &str = "length";
43    pub const TOTAL_DIGITS: &str = "totalDigits";
44    pub const FRACTION_DIGITS: &str = "fractionDigits";
45    pub const WHITE_SPACE: &str = "whiteSpace";
46    // XSD 1.1
47    pub const ASSERT: &str = "assert";
48    pub const ASSERTION: &str = "assertion";
49    pub const ALTERNATIVE: &str = "alternative";
50    pub const OPEN_CONTENT: &str = "openContent";
51    pub const DEFAULT_OPEN_CONTENT: &str = "defaultOpenContent";
52    pub const EXPLICIT_TIMEZONE: &str = "explicitTimezone";
53}