[opencms-dev] Design/ Functional specs and <META> tag parsing bug
Paul
paul at abctranslate.com
Tue Mar 12 12:04:54 CET 2002
Hi Stephen,
I got the documentation from www.opencms.com/downloads/OpenCmsDoc.pdf and I
am using the opencms_4.4.6.
The closing </META> tag should not be there, I put that there to see if it
would make a difference. In the above document you will see the example on
page 2.
You need to type this code into a new project (which can't be an online one
as the magic wand is greyed out for these). This code is placed in
/content/templates.
This is done using the editor as described in the manual. In saying that,
when I right mouse clicked on the file Icon only the 'HTML editor' would
successfully bring up the editor. The edit source code option didn't work.
Anyway, the stumbling block at the moment is this <META> tag problem.
The lack of documentation can be quite frustrating as a) you don't know what
should happen and b) you don't know where to look, when odd things do
happen.
I would be interested in improving the documentation, if I could get my
hands on the func and design specs.
Best wishes,
Paul
-----Original Message-----
From: owner-opencms-dev at www.opencms.com
[mailto:owner-opencms-dev at www.opencms.com]On Behalf Of Stephan Hartmann
Sent: 12 March 2002 11:01
To: opencms-dev at www.opencms.com
Subject: Re: [opencms-dev] Design/ Functional specs and <META> tag
parsing bug
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