MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rcclough
Post subject: probable bug in JSP editor  PostPosted: Jan 23, 2006 - 06:44 PM
Registered Member
Registered Member


Joined: Sep 15, 2003
Posts: 10

The new jspx validator shows an error where I don't think it should.

onclick='setPrepOrder("'PrepareOrder")' shows a validation error, and changing the
quote marks to:

onclick="setPrepOrder('PrepareOrder')" validates OK. My belief is that both are OK.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 23, 2006 - 09:06 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Quotes were discussed quite a bit a long time ago (in 2.x series) and I believe the spec ended up saying that quotes start with double quotes on the outter most set and work their way in, even though some compilers may accept it the other way around.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
rcclough
Post subject:   PostPosted: Jan 25, 2006 - 01:02 AM
Registered Member
Registered Member


Joined: Sep 15, 2003
Posts: 10

That is interesting. I thought that the XML was valid either way, as long as it was consistent. Is the JSPX spec more restrictive, or what?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 25, 2006 - 02:26 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

rcclough,
I have no idea but if the spec does clarify that either way is supported I'll point it out to the editor team to fix.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits