Package amplee :: Package contrib :: Module atomschematron
[hide private]
[frames] | no frames]

Module atomschematron

source code

Classes [hide private]
  faux_instruction
  faux_root_node
  faux_xslt_proc
  Usage
Functions [hide private]
 
rule1(node) source code
 
rule2(node) source code
 
rule3(node) source code
 
rule4(node) source code
 
rule5(node) source code
 
rule6(node) source code
 
rule7(node) source code
 
rule8(node) source code
 
rule9(node) source code
 
rule10(node) source code
 
rule11(node) source code
 
rule12(node) source code
 
rule13(node) source code
 
rule14(node) source code
 
rule15(node) source code
 
rule16(node) source code
 
rule17(node) source code
 
validate(xmlf, reportf, phase=None) source code
 
command_line_prep() source code
 
main(argv=['amplee.contrib.atomschematron']) source code
Variables [hide private]
  XPATTERN_PARSER = <Ft.Xml.Xslt.XPatternParser object at 0x8ae8...
  STRON_BASE_URI = 'urn:uuid:365f5cea-67a0-4ed2-aba5-624f7b56edc5'
  QUERY_BINDING = u'xslt'
  PATTERNS = [(None, u'RFC4287', {atom:entry/atom:title[attribut...
  PHASES = {u'AtomEntry': [u'RFC4287', u'RFC4685'], u'AtomFeed':...
  CONTEXTS = {}
  DIAGNOSTICS = {}
  NSS = {u'app': u'http://www.w3.org/2007/app', u'atom': u'http:...
  KEYS = []
  DEFAULT_PHASE = u'#ALL'
  RESULT_TREE_PROCESSOR = False
  FUNCTIONS = {(None, 'boolean'): <function Boolean at 0x87dbb8c...
Variables Details [hide private]

XPATTERN_PARSER

Value:
parser.new()

PATTERNS

Value:
[(None, u'RFC4287', {XPATTERN_PARSER.parse(u"atom:entry/atom:title[@ty\
pe='xhtml']"): rule5, XPATTERN_PARSER.parse(u"atom:entry/atom:subtitle\
[@type='xhtml']"): rule6, XPATTERN_PARSER.parse(u"atom:entry/atom:righ\
ts[@type='xhtml']"): rule4, XPATTERN_PARSER.parse(u'atom:author'): rul\
e9, XPATTERN_PARSER.parse(u"atom:entry/atom:summary[@type='xhtml']"): \
rule7, XPATTERN_PARSER.parse(u'atom:contributor'): rule10, XPATTERN_PA\
RSER.parse(u'atom:link'): rule11, XPATTERN_PARSER.parse(u'atom:entry')\
: rule8, XPATTERN_PARSER.parse(u'atom:feed'): rule1, XPATTERN_PARSER.p\
...

PHASES

Value:
{u'AtomEntry': [u'RFC4287', u'RFC4685'],
 u'AtomFeed': [u'RFC4287', u'RFC4685', u'AtomPub'],
 u'AtomPubService': [u'AtomPub']}

NSS

Value:
{u'app': u'http://www.w3.org/2007/app',
 u'atom': u'http://www.w3.org/2005/Atom',
 u'thr': u'http://purl.org/syndication/thread/1.0',
 u'xhtml': u'http://www.w3.org/1999/xhtml'}

FUNCTIONS

Value:
CoreFunctions.CoreFunctions.copy()