[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ParserException: [1,1] expecting: EOF
Hi,
Find attached the grammar file, main java class and input text file.
The error I get is:
verifying login...
input=//users[login/text()='lola' and password/text()='oluyomi']/id/text()
class org.sablecc.sablecc.node.TSlash, state : 0, text : [/]
/
org.sablecc.sablecc.parser.ParserException: [1,1] expecting: EOF
[1,1] expecting: EOF
at org.sablecc.sablecc.parser.Parser.parse(Parser.java:1793) etc
I do not get any errors when I use single inputs strings like: 'lola',
'/','9' etc
PS: I do apologize for the large file I sent in my last post.
http://www.nabble.com/file/p18887683/Xpath.zip Xpath.zip
--
View this message in context: http://www.nabble.com/ParserException%3A--1%2C1--expecting%3A-EOF-tp18787599p18887683.html
Sent from the SableCC - User mailing list archive at Nabble.com.