diff options
author | Edmond Chuc <e.chuc@uq.edu.au> | 2021-07-14 14:59:32 +1000 |
---|---|---|
committer | Edmond Chuc <e.chuc@uq.edu.au> | 2021-07-14 14:59:32 +1000 |
commit | ff976e71debdf0413583b1fa6b9de4b2717dcc26 (patch) | |
tree | 35d7802b8e1f661047ca75174a5d7c8f58f624c5 | |
parent | dbbdcb32ff659787fad86f8f89e022df93267cf1 (diff) | |
download | rdflib-ff976e71debdf0413583b1fa6b9de4b2717dcc26.tar.gz |
Remove ClosedNamespace behaviour for XSD
-rw-r--r-- | rdflib/namespace/_XSD.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/rdflib/namespace/_XSD.py b/rdflib/namespace/_XSD.py index 738afd57..b01ee7ed 100644 --- a/rdflib/namespace/_XSD.py +++ b/rdflib/namespace/_XSD.py @@ -5,19 +5,19 @@ from rdflib.namespace import DefinedNamespace, Namespace class XSD(DefinedNamespace): """ W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes - + Generated from: ../schemas/datatypes.xsd Date: 2020-05-26 14:21:14.993677 - + The schema corresponding to this document is normative, with respect to the syntactic constraints it expresses in the XML Schema language. The documentation (within <documentation> elements) below, is not normative, but rather highlights important aspects of the W3C Recommendation of which this is a part - + First the built-in primitive datatypes. These definitions are for information only, the real built-in definitions are magic. - + For each built-in datatype in this schema (both primitive and derived) can be uniquely addressed via a URI constructed as follows: @@ -47,10 +47,9 @@ class XSD(DefinedNamespace): the definition of int, the URI is: http://www.w3.org/2001/XMLSchema#int.maxInclusive - + Now the derived primitive types """ - _fail = True ENTITIES: URIRef # see: http://www.w3.org/TR/xmlschema-2/#ENTITIES ENTITY: URIRef # see: http://www.w3.org/TR/xmlschema-2/#ENTITY @@ -96,5 +95,5 @@ class XSD(DefinedNamespace): unsignedInt: URIRef # see: http://www.w3.org/TR/xmlschema-2/#unsignedInt unsignedLong: URIRef # see: http://www.w3.org/TR/xmlschema-2/#unsignedLong unsignedShort: URIRef # see: http://www.w3.org/TR/xmlschema-2/#unsignedShort - + _NS = Namespace("http://www.w3.org/2001/XMLSchema#") |