diff options
author | Matthias Baumgartner <dev@igsor.net> | 2023-03-04 14:16:00 +0100 |
---|---|---|
committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-04 14:16:00 +0100 |
commit | 141cfeade2750e0255ca010079421efce4abeca2 (patch) | |
tree | 8deb4ce8270d1b40280cda6ea3080788f2848def /tagit/utils | |
parent | 7eb2a8074752887afc8845900af2c3c0fb67388e (diff) | |
download | tagit-141cfeade2750e0255ca010079421efce4abeca2.tar.gz tagit-141cfeade2750e0255ca010079421efce4abeca2.tar.bz2 tagit-141cfeade2750e0255ca010079421efce4abeca2.zip |
namespace updates
Diffstat (limited to 'tagit/utils')
-rw-r--r-- | tagit/utils/namespaces.py | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/tagit/utils/namespaces.py b/tagit/utils/namespaces.py index dbdb853..3fb889c 100644 --- a/tagit/utils/namespaces.py +++ b/tagit/utils/namespaces.py @@ -11,29 +11,31 @@ import typing from . import bsfs as _bsfs # generic namespaces -xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema') +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') +bsfs = _bsfs.Namespace('https://schema.bsfs.io/core') +bsie = _bsfs.Namespace('https://schema.bsfs.io/ie') # auxiliary bsfs namespaces -bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity') -bsg = _bsfs.Namespace('http://bsfs.ai/schema/Group') -bsp = _bsfs.Namespace('http://bsfs.ai/schema/Preview') -bst = _bsfs.Namespace('http://bsfs.ai/schema/Tag') +bse = bsn.Entity() +bsg = bsn.Group() +bsl = bsfs.Literal +bsn = bsie.Node +bsp = bsn.Preview() +bst = bsn.Tag() # export __all__: typing.Sequence[str] = ( 'bse', 'bsfs', 'bsg', - 'bsm', + 'bsie', + 'bsl', + 'bsn', 'bsp', 'bst', 'xsd', ) ## EOF ## - - |