Commits

Geoffrey Sneddon committed 8d61522

Pass w3c_compat to xref.getTerm from xref.addReferences

Comments (0)

Files changed (1)

specGen/processes/xref.py

 		to_remove = []
 		for element in ElementTree.iter(tag=etree.Element):
 			if element.tag in term_elements or (w3c_compat or w3c_compat_xref_elements) and element.tag in w3c_term_elements:
-				term = self.getTerm(element, **kwargs)
+				term = self.getTerm(element, w3c_compat=w3c_compat, **kwargs)
 				
 				if term in self.dfns:
 					goodParentingAndChildren = True