Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting a error "Unexpected token "< eof >" "--- when I am running a query against a java based xquery library

So I would like to remove the < eof> characters-- how do I remove those? I am working on a Windows 7 PC

share|improve this question

closed as not a real question by Nifle, slhck Sep 21 '12 at 8:52

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

<eof> likely stands for end of file. You're missing expected tokens (e.g. close parentheses matching open ones). – Daniel Beck Sep 21 '12 at 7:08
Please give more details about what you're querying, where you're querying from, etc. Also, if you're programming, your question might be better suited for Stack Overflow – slhck Sep 21 '12 at 8:53

It's not a character. The parser is telling you that you reached the End Of File (EOF) but that it expected something else instead.

share|improve this answer
the problem i have is the same as this --… -- which means there is more than 1 EOF in my text file(that contains the query)-- but how do I find and remove the extra EOF? Thanks... – Arvind Sep 21 '12 at 7:10
Either you really have the string "<eof>" in your input (just check with an editor) or as I expect you are reaching the end of the input file and by definition there cannot be more than one end of a file (or stream). – Matteo Sep 21 '12 at 8:01

Not the answer you're looking for? Browse other questions tagged .