mò
v
Lc @ s… d Z d Z d Z d Z d k l Z l Z d k Td k Td e e e
f d „ ƒ YZ d e f d „ ƒ YZ
d
e f d „ ƒ YZ d S(
s $Id$sO Sam Ruby and Mark Pilgrim s
$Revision$s, Copyright (c) 2002 Sam Ruby and Mark Pilgrim( s
validatorBases
namespaces( t *t
textConstructc B sf t Z d k l Z d k Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z RS(
N( s mime_rec C s
d d g S( Nu typeu src( Nu type( Nu src( t None( t self( ( t@ /web/script/rubys/feedvalidator.org/src/feedvalidator/content.pyt getExpectedAttrNames s c C s d S( N( ( R ( ( R t normalizeWhitespace s c C sd | i i d ƒ d j oG | i t h d | i i <d | i <d d <d | i <ƒ ƒ n d S( Nt /iÿÿÿÿt parentt elementt attrt typet value( R R t findt logt InvalidTextTypeR t name( R ( ( R t maptype s c C s t i | ƒ | i i d ƒ o
d | _ nP d | _ | i ƒ t j o3 | i d j o# | i
t h d | i <ƒ ƒ n | i i d ƒ o^ | i i d ƒ | _ | i p; | i
t
h d | i i <d | i <d d <ƒ ƒ qí n | i ƒ | i i d ƒ o¢ | i i t ƒ | i i d ƒ | _ t i | d t d
h d d <ƒd | _ | i i d ƒ p; | i
t h d | i i <d | i <d d <ƒ ƒ q¬n | i d d d g j o | i i d ƒ o n¬ | i o^ | i i | i ƒ oG | i
t h d | i i <d | i <d d <d
| i <ƒ ƒ nD | i
t h d | i i <d | i <d d <d
| i <ƒ ƒ | i p, | i
t h d | i <d d <ƒ ƒ n d S( Nt srct t textt atom_summaryR R R R
t
errorClasst extraParamst htmlt xhtmlR s xml:lang( Ns src( Ns type( Ns type( Ns src( Ns src( Ns type( Ns src( t nonhtmlt startR t attrst has_keyR R t getFeedTypet TYPE_RSS2R R t DuplicateDescriptionSemanticst getValuet AttrNotBlankR R t childrent appendt TrueR t rfc2396t validatet InvalidURIAttributet MissingTypeAttrt mime_ret matcht InvalidMIMETypet ValidMIMEAttributet xmlLangt MissingDCLanguage( R ( ( R t prevalidate s2
##
?
" ?-!GC
c C sk | i d d g j o8 | i d j o t i | t ƒ q t i | t ƒ n³| i i d ƒ d j oÄ | i i d ƒ p# | i i d ƒ p | i i d ƒ oŠ d k } y9 | i
| i ƒ | _ | i i d ƒ o
d | _ n Wq+| i t
h d
| i i <d | i <d | i <ƒ ƒ q+Xn | i d j p | i i d ƒ o¢ | i | i ƒ | i i d ƒ o{ | i i d
ƒ d j o^ | i i d ƒ oJ | i t h d
| i i <d | i <d | i <d | i <ƒ ƒ qìq n t i | t ƒ | i o\ t | i ƒ d j oF | i i d ƒ o2 | i t h d
| i i <d | i <ƒ ƒ n d S( NR R R iÿÿÿÿs +xmls /xmls text/s /htmlR R R R s