AW: AW: [opencms-dev] 5RC1-trouble - can't add new pages anymore

hans huber hans.huber at virtual-identity.com
Tue Jan 28 09:25:27 CET 2003


Hi Sven,
 
please open that /system/bodies/.... file in source-view, copy the content, save it to file with extension ".xml" an try to open it with Internet Explorer. Do you get an error?
 
Regards
 
Hans

	-----Ursprüngliche Nachricht----- 
	Von: Sven Dittmar [mailto:dittmar at rus.uni-stuttgart.de] 
	Gesendet: Mo 27.01.2003 13:49 
	An: opencms-dev at www.opencms.org 
	Cc: 
	Betreff: Re: AW: [opencms-dev] 5RC1-trouble - can't add new pages anymore
	
	

	Hi Hans,
	
	> this is an XML parsing error (so nothing in particular with opencms).
	Agreed if you believe the error message. :-)
	
	But the "/system/bodies/studierende/tes.html" is not XML but HTML.
	It's the concent of the page.
	
	Maybe the error message is an aftereffect (Folgefehler) of some other error?
	
	Correct me if I am wrong, but OC creates a body for any new file
	including only "<P> <P>" and usually that works.
	
	Our XML-templates are all correct (existing pages work fine with all of
	them) with corrosponding "<!CDATA[" syntax.
	
	That's why I don't understand the error message...
	
	I think my problem is somehow related to my changes with file-access and
	groups and ownerships but I can't the trees in the forest because of all
	the trees... ;-)
	
	--Sven
	
	>
	> 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,
	
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7486 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030128/3107a503/attachment.bin>


More information about the opencms-dev mailing list