Comments

  • Similarly to HTML -- comment is enclosed into <!--content-->

  • The comment content is content, NOT the the whole comment including markup.

  • Comments are usually not important for processing but it may depend on application, eg. Servlet-side Includes (SSI) use comments.

  • Parsers therefore should be able to forward comments to the applications.

  • SAX parsers ignore this in version 1!!! (resp. do so in version SAX2, in Java the package org.xml.sax.ext).