Home | Trees | Indices | Help |
|
---|
|
Parsing VO-DML files and validating against the rules obtained in this way.
Validation is something we expect to do only fairly rarely, so none of this code is expected to be efficient.
Classes | |
Model a vo-dml model. |
Functions | |||
|
|||
|
|||
|
|||
|
Variables | |
KNOWN_MODELS =
|
|
__package__ =
|
Function Details |
returns an open file for the VO-DML file corresponding to prefix. This will raise a NotFoundError for an unknown prefix. |
returns a vodml.Model instance for as well-known VODML prefix. This caches models for prefixes and thus should usually be used from user code. Note that this currently will currently return some stand-in shim for unknown prefixes. That behaviour will change to become a NotFoundError exception when there's actually useful data models.
|
returns the attribute definition for attName in typeDef as an etree. This raises a NotFoundError if the attribute is not found. |
returns an etree element corresponding to the prefixed vodmlId. Of course, this only works if vodmlId has a well-known prefix. |
Variables Details |
KNOWN_MODELS
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |