-1

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

karel
  • 13,390
  • 26
  • 45
  • 52
Arvind
  • 185
  • 1
  • 3
  • 9
  • `` likely stands for *end of file*. You're missing expected tokens (e.g. close parentheses matching open ones). – Daniel Beck Sep 21 '12 at 07: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 [SO] … – slhck Sep 21 '12 at 08:53

1 Answers1

1

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.

Matteo
  • 7,717
  • 2
  • 42
  • 57
  • the problem i have is the same as this -- http://stackoverflow.com/questions/4095328/saxon-unexpected-token-e-o-f -- 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 07:10
  • 1
    Either you really have the string `""` 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 08:01