You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "T.Pospisek's MailLists" <tp...@spin.ch> on 2000/09/26 16:07:15 UTC
Umlauts, DOCTYPE?
I can't seem to have Cocoon (actually it's Xerces) accept any ü and
similar things. I put the DOCTYPE definitions in cocoon.properties:
# HTML 4.0 (strict)
formatter.text/html.doctype-public = -//W3C//ENTITIES Latin1//EN//HTML
formatter.text/html.doctype-system = http://www.w3.org/TR/1998/REC-html40-19980424/HTMLlat1.ent
but Cocoon still doesn't like them.
I have an xml file:
<?xml version="1.0"?>
<?xml-stylesheet href="bla.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>
<item>ü</item>
that is transformed by XSL. I can put whatever DOCTYPE definition in the
3rd line, but Cocoon/Xerces just doesn't like it. F.ex:
<!DOCTYPE HTML PUBLIC "-//W3C//ENTITIES Latin1//EN//HTML"
"http://www.w3.org/TR/1998/REC-html40-19980424/HTMLlat1.ent">
loading the page will "hang" Cocoon, that is, even after waiting for a
long time, nothing will be returned, Netscape times out with an error
or alternatively I get:
"org.xml.sax.SAXParseException: The external entity declaration must
begin with either "SYSTEM" or "PUBLIC"."
?!?
I have searched the web and checked the FAQ but haven't found an answer.
I'm sure there must be someone who's allready resolved this problem...
Thanks,
*t
----------------------------------------------------------------------------
Tomas Pospisek
SourcePole - Linux & Open Source Solutions
Elestastrasse 18, 7310 Bad Ragaz, Switzerland
Tel: +41 (81) 330 77 11
----------------------------------------------------------------------------