Advantage of using XML like tags in JSP

Discussions

Web tier: servlets, JSP, Web frameworks: Advantage of using XML like tags in JSP

  1. Hi all,
         In the JSP 1.2 SPECIFICATION JSP documentation was introduced.There XML like tag are provided for all the tag elements what is the advantage of using XML like tags?
    Regards,
    Rama.
  2. Not sure about other J2EE servers, but with JRun, there are several benefits:
    1.l JRun compiles the JSP page faster, because the JSP-to-XML view transformation is
    not necessary.
    2. You can use XML tools to work with the JSP.
    3. JRun validates JSPs against the Sun JSP 1.2 DTD, to make sure the XML file is
    well-formed and valid.
    4. The compiler produces more meaningful debugging messages for XML syntax.

    For a description of the JSP XML syntax schema, see
    http://java.sun.com/dtd/jspxml.xsd.
    For a description of the JSP XML DTD, see http://java.sun.com/dtd/jspxml.dtd.