Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
    
<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
add comment

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.

1 Answer

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 -- stackoverflow.com/questions/4095328/… -- 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
1  
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
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.