[opencms-dev] Design/ Functional specs and <META> tag parsing bug

Stephan Hartmann hartmann at waehrisch-feykes.de
Tue Mar 12 12:00:51 CET 2002


Hi Paul,

I don't know this documentation and this example.
Where did you put that template and how do you use it? In  /content/template?

I can see a closing META tag within a CDATA block, but where did you put the 
starting tag? It is in fact the one causing the error.
Apart from the fact that META is a HTML tag and should always stay inside 
CDATA blocks, the parser doesn`t speak neither HTML nor OpenCms`s template 
language. He just finds somewhere a starting META tag but not the closing one 
(cause it is hidden from the parser in the CDATA block).

>
>
> <?xml version="1.0"?>
> <XMLTEMPLATE>
> <TEMPLATE><![CDATA[
> <HTML>
> </META>
> <HEAD>
> <TITLE>The first template</TITLE>
> </HEAD>
> <BODY>
> Hello, world!
> </BODY>
> </HTML>]]>
> </TEMPLATE>
> </XMLTEMPLATE>



More information about the opencms-dev mailing list