[opencms-dev] Problem with example in doc

Alexander Kandzior alex at opencms.org
Tue Nov 5 09:14:53 CET 2002


Clause,

make sure your templates start with

<?xml version="1.0" encoding="ISO-8859-1"?>

instead of just

<?xml version="1.0"?>

the encoding feature is new in 5.0.


Best Regards,
Alex.

Alexander Kandzior
OpenCms Group / Alkacon Software

> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org 
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of 
> Claude Hoffmann
> Sent: Monday, November 04, 2002 8:16 PM
> To: opencms-dev at www.opencms.org
> Subject: [opencms-dev] Problem with example in doc
> 
> 
> 
> 
> Hi there,
> 
> I am currently evaluating OpenCMS for a customer project and am going 
> through the documentation.
> 
> Well, I am using version 5.0beta and wanted to go through the 
> example in 
> the documentation on page 25ff. (master, frame, contenttemplate).
> 
> I created all files as described in the docu and rechecked about 5 
> times, but whenever I create a page based on this template, I get the 
> following error:
> 
> ______________________________
> 
> [frametemplate] ??? [CmsException]: 21 XML parsing error. Detailed 
> Error: Cannot parse XML file 
> "/content/frametemplates/frametemplate1". 
> org.xml.sax.SAXParseException: The content of elements must 
> consist of 
> well-formed character data or markup..
> 
> ______________________________
> 
> Are the definitions of the templates case-sensitive? Of course, 
> references to classes like e.g. 
> com.opencms.template.CmsXmlTemplate are 
> case-sensitive, but what about the rest of the stuff?
> 
> Does anyone have any clue about this problem?
> 
> Best regards
> Claude Hoffmann
> 
> 
> 
> 





More information about the opencms-dev mailing list