https://bugzilla.wikimedia.org/show_bug.cgi?id=46626
--- Comment #3 from PleaseStand <[email protected]> --- The XPath flaw is that there is no way to escape a string that contains both an apostrophe and a double quote. However, it is possible to work around the flaw using the concat function (to concatenate single- and double- quoted strings together). http://www.w3.org/TR/xpath/#exprlex http://stackoverflow.com/questions/6937525/escaping-xpath-literal-with-python The flaw has been corrected in XPath 2.0. http://www.w3.org/TR/xpath20/#id-literals It doesn't seem clear that the confusingly named "xmldoublequote" feature (I thought it meant XML attribute values should never be single quoted) was ever necessary. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
