Text this: XPath satisfiability in the presence of DTDs