| Newsgroups |
gmane.comp.cms.wyona.user |
| Message-ID |
<[email protected]> |
Hi all,
Thank you for your quick response. As far as i can see the problem is two-fold:
1. The file tree.xml should be generated correctly. From my point of view
the method replaceSpecialCharacters of the class org.wyona.xml.DOMWriter
has to be extended to handle the umlaute (and other 'specialies' ...). Am i
right??
2. Rene Niedermowe gave me some entity-files (thank you!) containing
- among other things - the umlaute-entities. The question is now where
to incooperate these files. I tried to include them in various files
present the directory /wyonacms/src/cocoon/resources/entities
(e.g. document-v10.dtd ). So far unsuccessfully ...
i still get the error.log-message
ERROR (2002-08-07) 15:17.39:467[sitemap](/wyona-cms/DEFAULT/authoring/index)
HttpProcessor[8080][4]/PipelineNode: Error while processing pipeline at
file:/usr/local/jwsdp/webapps/wyona-cms/wyona/cms/pubs/DEFAULT/authoring-sitemap.xmap:58:19
org.apache.cocoon.ProcessingException: Exception during processing of
cocoon://DEFAULT/authoring/index.pcml: org.xml.sax.SAXParseException: The entity
"uuml" was referenced, but not declared.
at
org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:362)
at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:148)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250)
at
org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:351)
at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:148)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.access$2(PreparableMatchNode.java)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:156
....
Obviously, i am on the wrong track ... :-(
May be it's a silly question but since i am a beginner concerning cocoon
i just do not know where to add these files and where to invoke.
Any idea?
Best wishes
Jürgen
> Rene Niedermowe wrote:
>
> > Hi Juergen,
> >
> >
> >
> > you must declare all entitys you use like:
> >
> >
> >
> > <!ENTITY uml "¨"> for uml
> >
> > or just use ¨
> >
>
> Isn't the "ü" actually "ü" ;-)
>
> cheers
>
> Michael
>
> >
> >
> > Here are some Entity Files with those declarations:
> >
> >
> >
> > hope that helps
> >
> >
> >
> > Rene Niedermowe
> >
> > ----- Original Message -----
> >
> > From: "Jürgen Bigalke" < [email protected] <mailto:[email protected]> >
> >
> > To: < [email protected] <mailto:[email protected]> >
> >
> > Sent: Tuesday, August 06, 2002 6:42 PM
> >
> > Subject: [Wyonacms-users] umlaute in the menu part
> >
> >
> > > Hi all!
> > >
> > > I have some problems with german umlaute in the menu part
> > > while adding a new item.
> > > For example if i add a new group in ethz-mat and the group name
> contains
> > > an umlaut mark
> > > (e.g. 'ü' ) it is converted to '&uuml;' as can be seen
> > > in the file tree.xml:
> > >
> > > ...
> > > <branch relURI="gddd" doctype="Group" menuName=" ... &uuml; ..."/>
> > > ...
> > >
> > > Hand editing of tree.xml ('&uuml;' -> 'ü')
> > > leads to an error:
> > >
> > > The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
> > > notifies that org.dom4j.DocumentException says:
> > > Error on line 4 of document file:
> ..../docs/wyona/cms/authoring/tree.xml
> > > : The entity
> > > "uuml" was referenced, but not declared. Nested exception: The entity
> > > "uuml" was referenced, but not declared.
> > >
> > > Using 'ü' instead of 'ü' does not work either.
> > > It's obviously a question of the character set. Anybody an idea how to
> > > handle this reasonably?
> > > Thanks in advance
> > > Jürgen
> > >
> > > _______________________________________________
> > > WyonaCMS-users mailing list
> > > [email protected] <mailto:[email protected]>
> > > http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users
> > >
> > >
> >
> >
> >------------------------------------------------------------------------
> >
> ><!-- ......................................................................
> -->
> ><!-- ISO Math, Greek and Symbolic Character Entity Set for XHTML ..........
> -->
> ><!-- file: xhtml-symbol.ent
> >
> > Typical invocation:
> >
> > <!ENTITY % xhtml-symbol
> > PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN"
> > "xhtml-symbol.ent" >
> > %xhtml-symbol;
> >
> > Revision: $Id: dtd_module_defs.html,v 1.2 2000/01/05 20:58:33
> shane Exp $ SMI
> >
> > Portions (C) International Organization for Standardization
> 1986:
> > Permission to copy in any form is granted for use with
> > conforming SGML systems and applications as defined in
> > ISO 8879, provided this notice is included in all copies.
> >-->
> ><!--
> > Relevant ISO entity set is given unless names are newly introduced.
> > New names (i.e., not in ISO 8879 list) do not clash with any
> > existing ISO 8879 entity names. ISO 10646 character numbers
> > are given for each character, in hex. CDATA values are
> decimal
> > conversions of the ISO 10646 values and refer to the
> document
> > character set. Names are Unicode 2.0 names.
> >-->
> >
> > <!-- Latin Extended-B -->
> > <!ENTITY fnof "ƒ" ><!-- latin small f with hook =
> function
> > = florin, U+0192 ISOtech -->
> >
> > <!-- Greek -->
> > <!ENTITY Alpha "Α" ><!-- greek capital letter alpha, U+0391
> -->
> > <!ENTITY Beta "Β" ><!-- greek capital letter beta, U+0392
> -->
> > <!ENTITY Gamma "Γ" ><!-- greek capital letter gamma, U+0393
> ISOgrk3 -->
> > <!ENTITY Delta "Δ" ><!-- greek capital letter delta, U+0394
> ISOgrk3 -->
> > <!ENTITY Epsilon "Ε" ><!-- greek capital letter epsilon,
> U+0395 -->
> > <!ENTITY Zeta "Ζ" ><!-- greek capital letter zeta, U+0396
> -->
> > <!ENTITY Eta "Η" ><!-- greek capital letter eta, U+0397
> -->
> > <!ENTITY Theta "Θ" ><!-- greek capital letter theta, U+0398
> ISOgrk3 -->
> > <!ENTITY Iota "Ι" ><!-- greek capital letter iota, U+0399
> -->
> > <!ENTITY Kappa "Κ" ><!-- greek capital letter kappa, U+039A
> -->
> > <!ENTITY Lambda "Λ" ><!-- greek capital letter lambda,
> U+039B ISOgrk3 -->
> > <!ENTITY Mu "Μ" ><!-- greek capital letter mu, U+039C
> -->
> > <!ENTITY Nu "Ν" ><!-- greek capital letter nu, U+039D
> -->
> > <!ENTITY Xi "Ξ" ><!-- greek capital letter xi, U+039E
> ISOgrk3 -->
> > <!ENTITY Omicron "Ο" ><!-- greek capital letter omicron,
> > ..........
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/