Package advene :: Package model :: Module consts
[hide private]
[frames] | no frames]

Source Code for Module advene.model.consts

 1  """I define constants used all over the `advene.model` package.""" 
 2   
 3  ADVENE_NS_PREFIX = "http://advene.liris.cnrs.fr/ns/" 
 4   
 5  # useful meta prefixes 
 6  PARSER_META_PREFIX = "%s%s" % (ADVENE_NS_PREFIX, "parser-meta#") 
 7  DC_NS_PREFIX = "http://purl.org/dc/elements/1.1/" 
 8  RDFS_NS_PREFIX = "http://www.w3.org/2000/01/rdf-schema#" 
 9   
10  # other advene-related namespace URIs 
11  ADVENE_XML = "%s%s" % (ADVENE_NS_PREFIX, "advene-xml/0.1") 
12   
13  # common metadata 
14   
15  PACKAGED_ROOT = "%spackage_root" % PARSER_META_PREFIX 
16   
17  # implementation-related constant 
18  # used as the ``default`` parameter to specify that an exception should be 
19  # raised on default 
20  _RAISE = object() 
21