phpwebapp-1.1 Changes made to the application framework that the framework users should know: =========================================== ------------------------------------------------------------------- * Parsing is done using an XML parser. This means that some restrictions that were due to the previous parser, now are removed. Such improvments are: - The names of the framework tags and their attributes now are case insensitive (however lowercase is recommended, according to XHTML standards). - The framework comments can be like this: . The empty space after the first diesis is not requried anymore, and the ending diesis (#-->) can be omitted. - The closing and ending tags are not required to be in separate lines anymore. E.g. something like this is ok: ... Previously it was required to be like this: ... - Templates are now required to be XHTML code, otherwise the parser will not parse them successfully. ------------------------------------------------------------------- * The main (root) template should start like this: because if no DOCTYPE is defined, the parser will have problems with reckognizing entities (  & etc.), and there may be any other problems as well. For the other templates, however, these headers shoud not be added, because the parser will add them automatically to them, so that they become well-formed xml and are parsed successfully. The headers that will be added to the other templates will be a copy of the headers of the main template. ------------------------------------------------------------------- * syntax changed. There was a problem with the
/
tags, because the contents of the
usually is not well-formed xml and it breaks the parser. E.g. it may be something like this:
<---- not well-formed XML
{{xyz}}
In order to solve this,
and