Closed GoogleCodeExporter closed 9 years ago
I see. prototype161.js has several XPath expressions containing "/*":
var xpath = ".//*[local-name...
"//*[local-name()='li' o...
this.matcher = ['.//*'];...
descendant: "//*",
child: "/*",
return cond ? document._getElementsByXPath('.//*' + ...
I'll see if I can add more whitelisting of these expressions, but I probably
won't
get to this very soon. Here's the relevant method:
http://code.google.com/p/minify/source/browse/tags/release_2.1.3/min/lib/Minify/
Lines.php#78
A workaround is to just have the minify() method return the original string. At
line
42 insert:
if (preg_match('@prototype\\n*\.js@', $id)) {
// skip troublesome file
return $content;
}
Original comment by mrclay....@gmail.com
on 1 Dec 2009 at 7:40
In R411 and will be in next release.
Original comment by mrclay....@gmail.com
on 9 May 2010 at 4:52
Original issue reported on code.google.com by
watermar...@gmail.com
on 1 Dec 2009 at 3:11Attachments: