AW: [opencms-dev] 5RC1-trouble - can't add new pages anymore
hans huber
hans.huber at virtual-identity.com
Mon Jan 27 11:56:50 CET 2003
Hi Sven,
this is an XML parsing error (so nothing in particular with opencms).
If you use an entity like " " in an XML-file it must have been declared.
The following will produce such an error (with ANY XML parser).
<TEMPLATE>
Hello World
</TEMPLATE>
try this, it will be correctly parsed:
<TEMPLATE>
<![CDATA[Hello World]]>
</TEMPLATE>
Generally you should put HTML-fragments into a CDATA section.
CDATA section starts with
<![CDATA[
and ends with
]]>
Best regards,
Hans
-----Ursprüngliche Nachricht-----
Von: Sven Dittmar [mailto:dittmar at rus.uni-stuttgart.de]
Gesendet: Montag, 27. Januar 2003 11:48
An: opencms-dev
Betreff: [opencms-dev] 5RC1-trouble - can't add new pages anymore
Hi all,
I changed groups, templates and access-data last week (had to change the
control-file manually afterwards) and today I am not able to add new
pages anymore (existing pages still work fine).
If I try create a new page (with any user even admin) I get the
following messages:
==> webapps/opencms/WEB-INF/logs/opencms.log <==
[27.01.2003 11:33:22] <opencms_critical> [CmsXmlTemplateFile] Cannot
parse XML file "/system/bodies/studierende/tes.html".
org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not
declared.
[27.01.2003 11:33:22] <opencms_info> [CmsElementXml
(CmsNewResourcePage/explorer_files_new_page)] Error in getContent for
template class com.opencms.workplace.CmsNewResourcePage
==> logs/catalina.out <==
[Fatal Error] :2:10: The entity "nbsp" was referenced, but not declared.
I don't have a clue what's wrong here and neither do I understand the
messages above...
The wanted new file will be created in the filesystem nevertheless but
it's not editable/usuable then.
Has anyone experienced something similar?
Thanks for any input,
--
Sven Dittmar, RUS Infodienste ------ mailto:dittmar at rus.uni-stuttgart.de
Computing Center University of Stuttgart (RUS) phone: +49.711.685.5990
Allmandring 30, D-70550 Stuttgart, Germany fax: +49.711.678.7626
--------------------------------------- http://www.rus.uni-stuttgart.de/
More information about the opencms-dev
mailing list