1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use crate::{Datatype, ParseXsd, XsdValue};

pub type AnyUri = iref::Uri;

impl XsdValue for AnyUri {
	fn datatype(&self) -> Datatype {
		Datatype::AnyUri
	}
}

pub type AnyUriBuf = iref::UriBuf;

impl XsdValue for AnyUriBuf {
	fn datatype(&self) -> Datatype {
		Datatype::AnyUri
	}
}

impl ParseXsd for AnyUriBuf {
	type LexicalForm = AnyUri;
}