Package bridge :: Package validator :: Module atom
[hide private]
[frames] | no frames]

Module atom

source code

Functions [hide private]
  id_as_url(element)
Is the an atom:id a valid URL.
  respect_fixed_categories(element, test_set, matching=None)

Variables [hide private]
  ATOM10_NS = u'http://www.w3.org/2005/Atom'
  ATOMPUB_NS = u'http://purl.org/atom/app#'
  XHTML1_NS = u'http://www.w3.org/1999/xhtml'
  THR_NS = u'http://purl.org/syndication/thread/1.0'

Function Details [hide private]

id_as_url(element)

source code 

Is the an atom:id a valid URL. If not it will raise a BridgeValidatorException.

Keyword arguments: element -- a bridge.Element element. Either and atom:id element or an element that has an atom:id child.

respect_fixed_categories(element, test_set, matching=None)

source code 
None

Variables Details [hide private]

ATOM10_NS

None
Value:
u'http://www.w3.org/2005/Atom'                                         
      

ATOMPUB_NS

None
Value:
u'http://purl.org/atom/app#'                                           
      

XHTML1_NS

None
Value:
u'http://www.w3.org/1999/xhtml'                                        
      

THR_NS

None
Value:
u'http://purl.org/syndication/thread/1.0'