From 20d31b0c4a61b5f026fc8b0ff98c43b8a00bee48 Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Wed, 25 Jan 2023 10:38:00 +0100 Subject: browser folding --- tagit/utils/namespaces.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'tagit/utils') diff --git a/tagit/utils/namespaces.py b/tagit/utils/namespaces.py index dd26eef..5446922 100644 --- a/tagit/utils/namespaces.py +++ b/tagit/utils/namespaces.py @@ -10,18 +10,25 @@ import typing # inner-module imports from . import bsfs as _bsfs -# constants -bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity') +# generic namespaces +xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema') + +# core bsfs namespaces bsfs = _bsfs.Namespace('http://bsfs.ai/schema', fsep='/') bsm = _bsfs.Namespace('http://bsfs.ai/schema/Meta') + +# auxiliary bsfs namespaces +bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity') bst = _bsfs.Namespace('http://bsfs.ai/schema/Tag') -xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema') +bsg = _bsfs.Namespace('http://bsfs.ai/schema/Group') # export __all__: typing.Sequence[str] = ( 'bse', 'bsfs', + 'bsg', 'bsm', + 'bst', 'xsd', ) -- cgit v1.2.3