You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sh...@locus.apache.org on 2000/05/10 02:13:17 UTC

cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler Parser.java

shemnon     00/05/09 17:13:17

  Modified:    src/share/org/apache/jasper/compiler Parser.java
  Log:
  Bring the RI into conformance with the spec.
  
  eduard/o said:
  [snip]
  > THe intention is that bodycontent is *NOT* itnerpreted by the JSP
  > container.  In particular, it does not affect the interpretation of the
  > body.  Bodycontent is ONLY intended to be used by the authoring tool,
  > say to present the content of the body  with some highlighting that
  > emphasizes its role.  It is not clear to me exactly how useful this
  > information is, but it should *NOT* affect the interpretation by the JSP
  > container at runtime.
  >
  > In particular, the RI, as it is described above and as Mandar has
  > confirmed, is wrong.
  [snip]
  
  Revision  Changes    Path
  1.20      +1 -7      jakarta-tomcat/src/share/org/apache/jasper/compiler/Parser.java
  
  Index: Parser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/Parser.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Parser.java	2000/04/07 22:27:52	1.19
  +++ Parser.java	2000/05/10 00:13:15	1.20
  @@ -827,13 +827,7 @@
                               String tagEnd = "</"+tag+">";
                               // Parse until the end of the tag body. 
                               // Then skip the tag end... 
  -                            if (bc.equalsIgnoreCase(TagInfo.BODY_CONTENT_TAG_DEPENDENT))
  -                                // accept no core elements for tag dependent,
  -                                // i.e. literal inclusion of the content
  -                                parser.parse(tagEnd, new Class[] {});
  -                            else
  -                                // it is JSP body content, so accept all core elements
  -                                parser.parse(tagEnd);
  +                            parser.parse(tagEnd);
                               reader.advance(tagEnd.length());
   			    listener.setTemplateInfo(parser.tmplStart, parser.tmplStop);
                               listener.handleTagEnd(parser.tmplStop, reader.mark(), prefix,