1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use crate::{Datatype, ParseXsd, XsdValue};

mod id;
mod idref;
mod language;
mod name;
mod ncname;
mod nmtoken;
mod normalized;
mod token;

pub use id::*;
pub use idref::*;
pub use language::*;
pub use name::*;
pub use ncname::*;
pub use nmtoken::*;
pub use normalized::*;
pub use token::*;

pub type String = std::string::String;

impl XsdValue for String {
	fn datatype(&self) -> Datatype {
		Datatype::String(crate::StringDatatype::String)
	}
}

impl ParseXsd for String {
	type LexicalForm = str;
}