Remove unused Mark.baseDir
This in turn allowed JspReader.master to be removed which was already
marked as suspect.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1634724 13f79535-47bb-0310-9956-ffa450edef68
Complete missing Javadoc

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1634726 13f79535-47bb-0310-9956-ffa450edef68
Add a peek method that allows the look ahead to be specified

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1634729 13f79535-47bb-0310-9956-ffa450edef68
Whoops. Correct the logic.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1634732 13f79535-47bb-0310-9956-ffa450edef68
Correct typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1634735 13f79535-47bb-0310-9956-ffa450edef68
Follow-up to r1634161
Use JspReader.peek() rather than nextChar() and pushChar() as this
allows cleaner end of stream handling.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1634740 13f79535-47bb-0310-9956-ffa450edef68
Follow up to 1634161
Update XML template text parser so "\${" and "\#{" are considered
escapes but "\$" and "\#" are not.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1634741 13f79535-47bb-0310-9956-ffa450edef68