diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-03-29 11:39:11 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-03-29 11:39:11 +0100 |
commit | 3d15b3a6a6fc814722458d64580e39630ba055fb (patch) | |
tree | 8a347037f9d8068c3df4892b1168f0875fc6befc | |
parent | caba0224b0c7fcc4f5d88aff6e167d73b575ea1b (diff) | |
download | ontogen-3d15b3a6a6fc814722458d64580e39630ba055fb.tar.gz ontogen-3d15b3a6a6fc814722458d64580e39630ba055fb.tar.xz ontogen-3d15b3a6a6fc814722458d64580e39630ba055fb.zip |
Display full namespace URI in generated HTML
Previously this part hasn't adjusted to the internal changes.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r-- | ontogen.py | 2 | ||||
-rw-r--r-- | ontogen.template | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -431,7 +431,7 @@ class PrependFigure(InheritDocstring): try: if all(map(lambda x: isinstance(x, basestring), map(lambda x: getattr(ret, x, None), - ('base', 'version')) + ('base_uri_full',)) )): setattr(ret, 'examples', [ExampleSelfFigureProto(ret)] + list(getattr(ret, 'examples', ()))) diff --git a/ontogen.template b/ontogen.template index a885b98..c1f94d0 100644 --- a/ontogen.template +++ b/ontogen.template @@ -5,7 +5,7 @@ Licensed under LGPL v2.1 (the same as original ns-schema.xsl) --> <rdf:RDF - xml:base="${Ontology.base}" + xml:base="${Ontology.base_uri_full}" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |