Try this variation (using backslahes can be tricky, eh?):
selenium.type("//table[@id='table']/tbody/tr/td[text()=\"abc's 10\"]/
following-sibling::td/input","text1");
I wouldn't trust the backslashes to be passed down correctly for the
XPath to interpret them the way you were trying to do, because Java is
trying to interpret them at compile time. By using the backslash to
simply put "abc's 10" inside double quotes as part of the string I
think you will be okay. I do this lots of places where I am writing
out HTML using Report.log() to my report HTML file for TestNG.
Mike