Home | History | Annotate | Download | only in Lib

Lines Matching refs:attrname

535             for attrname in attrdict.keys():
536 if not attrname in self.__xml_namespace_attributes:
537 self.syntax_error("unknown attribute `%s' in xml:namespace tag" % attrname)
562 attrname, attrvalue = res.group('name', 'value')
564 attrname = attrname.lower()
567 self.syntax_error("no value specified for attribute `%s'" % attrname)
568 attrvalue = attrname
573 self.syntax_error("attribute `%s' value not quoted" % attrname)
574 res = xmlns.match(attrname)
584 if attrname in attrdict:
585 self.syntax_error("attribute `%s' specified twice" % attrname)
587 attrdict[attrname] = self.translate_references(attrvalue)