kinman 2004/04/07 13:41:32 Modified: jasper2/src/share/org/apache/jasper/compiler Node.java Log: - Fix bugzilla 28244: XML Comment between jsp:attribute causes attributes after the comment to be ignored Revision Changes Path 1.82 +1 -1 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Node.java Index: Node.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Node.java,v retrieving revision 1.81 retrieving revision 1.82 diff -u -r1.81 -r1.82 --- Node.java 17 Mar 2004 19:23:03 -0000 1.81 +++ Node.java 7 Apr 2004 20:41:32 -0000 1.82 @@ -303,7 +303,7 @@ if( n instanceof NamedAttribute ) { result.add( n ); } - else { + else if (! (n instanceof Comment)) { // Nothing can come before jsp:attribute, and only // jsp:body can come after it. break;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]