[opencms-dev] The [ character causes an exception

Jeroen Habets Jeroen.Habets at framfab.nl
Fri Jan 5 15:24:29 CET 2001


All the HTML/user text is hidden from the XML parser through <![CDATA[ ...any
text...]]> blocks. A ]]> or something similar could mess this up.

If the [hello] has to be communicated to the webbrowser the following HTML
character entity references would be:

[ -> [
] -> ]

(HTML uses the ISO 8859-1 for characters entity references)

Jeroen
Simon Wilks wrote:

> Hi,
>
> I have noticed that when I create a new page and enter the following in the
> editor:
>
> [hello]
>
> then on attempting to save or reopen it I get an XML Parser exception
> (Detailed Error: PARSING ERROR).
>
> Is there: 1) a work around or 2) can you fix this?
>
> Regards,
>
> Simon Wilks
> software engineer
> simon.wilks at silion.ch
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> silion (switzerland) ag    software engineering
> spinnereistrasse 8              9008 st. gallen
> tel 0878 80 90 60             fax 0878 80 90 30
> info at silion.ch                    www.silion.ch
>
> a member of the Penta Group   www.pentagroup.ch




More information about the opencms-dev mailing list