Home
last modified time | relevance | path

Searched refs:DataLossWarning (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dihatexml.py6 from .constants import DataLossWarning
211 warnings.warn("Attributes cannot begin with xmlns", DataLossWarning)
215 warnings.warn("Attributes cannot be in the xml namespace", DataLossWarning)
226 warnings.warn("Comments cannot contain adjacent dashes", DataLossWarning)
233 warnings.warn("Text cannot contain U+000C", DataLossWarning)
241 warnings.warn("Coercing non-XML pubid", DataLossWarning)
245 warnings.warn("Pubid cannot contain single quote", DataLossWarning)
254 warnings.warn("Coercing non-XML name", DataLossWarning)
262 warnings.warn("Coercing non-XML name", DataLossWarning)
Dconstants.py3097 class DataLossWarning(UserWarning): class
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treebuilders/
Detree_lxml.py19 from ..constants import DataLossWarning
295 warnings.warn("lxml cannot represent empty doctype", DataLossWarning)
300 warnings.warn("lxml cannot represent non-xml doctype", DataLossWarning)
311 … warnings.warn("lxml cannot represent adjacent comments beyond the root elements", DataLossWarning)
331 … warnings.warn("DOCTYPE system cannot contain single and double quotes", DataLossWarning)
341 …gs.warn("lxml cannot represent doctype with a different name to the root element", DataLossWarning)
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_parser.py46 if not issubclass(x.category, constants.DataLossWarning)]
Dtest_treewalkers.py185 except constants.DataLossWarning: