This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unexpected input warning  RSS feed

Christopher Sharp
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

In my JSF application I keep getting in the server log the warning:

unexpected input while looking for attr name or '/>' at line (whatever)

and under the Logger column I get:


As far as I can see, all my JSF tags end with '/>', and there may or may not be a space before the '/', although I don't think this matters. The line numbers printed out in the message don't seem to correspond to any of my code, and must be related to the code in the jar files.

These only seem to be warnings, as my code otherwise works, and I've made considerable progress since the posting on file uploads and iframes.

I did a Google search on this message, and it looks as if there might be some bug with the Tomahawk jar file I'm using. The search also revealed that I should not have any '\' in my code, which I do in JavaScript, with strings like: x.innerHTML="Mag<sub>"+(n+1)+"<\/sub>". I removed the examples of '\' and the page is displayed OK. I also have a lot of regular HTML, and as far as I can see it is OK.

Some suggestions would be appreciated. If there is no easy way of dealing with this, then provided the code works, I suppose it can be left.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!