Searched refs:DataLossWarning (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
D | ihatexml.py | 6 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)
|
D | constants.py | 3097 class DataLossWarning(UserWarning): class
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treebuilders/ |
D | etree_lxml.py | 19 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/ |
D | test_parser.py | 46 if not issubclass(x.category, constants.DataLossWarning)]
|
D | test_treewalkers.py | 185 except constants.DataLossWarning:
|