Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #228 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 1034 1037 +3
Branches 174 175 +1
=========================================
+ Hits 1034 1037 +3 ☔ View full report in Codecov by Harness. |
|
|
agreed, they're about translation, not preprocessing. moved them into a separate |
AdrianAtZyte
left a comment
There was a problem hiding this comment.
Please, rename
has_non_xml_charto_has_non_xml_char, users do not need it.
|
makes sense, renamed it to |
escapes like
\1(or a raw U+000B in a string) decode to characters XML doesn't allow andxpath_literal()copied them straight into the XPath, socss_to_xpath()returned something lxml refuses to compile with aValueError(the strict xfail intest_escape_translates_non_xml); raisingExpressionErrorthere instead keeps callers that rely onexcept SelectorErrorworking, and since no document can contain those characters nothing that could match is lost.