Fwd: Re: umlaute in the menu part

"tarGET-X.com" <[email protected]>
Newsgroups gmane.comp.cms.wyona.user
Message-ID <[email protected]>
To the mailman admin:
Is it possible that you always reply to the mailinglist instead of the 
person (like we had before)?

>X-Envelope-From: <[email protected]>
>X-Envelope-To: <[email protected]>
>X-Delivery-Time: 1028880816
>From: [email protected]
>Date: Fri,  9 Aug 2002 10:12:12 +0200
>To: "tarGET-X.com" <[email protected]>
>Subject: Re: [Wyonacms-users] umlaute in the menu part
>User-Agent: Internet Messaging Program (IMP) 3.1
>
>Hi!
>Thanks for your advice. Now it works.
>
>Ciao
>Jürgen
>
>
>
>Quoting "tarGET-X.com" <[email protected]>:
>
> > At 17:23 07.08.02 +0200, you wrote:
> > >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??
> >
> > Don't know about that!
> >
> > >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
> >
> > <!DOCTYPE EXAMPLE SYSTEM "dtd/EXAMPLE.dtd">
> >
> > If you will add this in to your "Umlaut.xml" - file I think it will work
> >
> > <preparation>
> > You have to
> >
> > 1. The code that René send you has to be in a file called "EXAMPLE.dtd".
> > EXAMPLE.dtd should look like this:
> > <snip/>
> > <!ENTITY Alpha "&#913;" ><!-- greek capital letter alpha, U+0391 -->
> > <!ENTITY Beta "&#914;" ><!-- greek capital letter beta, U+0392 -->
> >
> > 2. if you decide to keep the path "dtd/EXAMPLE.dtd", create a subdirectory
> > "DTD" within the directory where the Umlaut.xml-file exist.
> > </preparation>
> >
> > >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.jav 
> a:362)
> > >         at
> >
> >org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.ja 
> va:148)
> > >         at
> >
> >org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Cachin 
> gEventPipeline.java:250)
> > >         at
> >
> >org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.jav 
> a:351)
> > >         at
> >
> >org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.ja 
> va:148)
> > >         at
> >
> >org.apache.cocoon.components.pipeline.CachingEventPipeline.process(Cachin 
> gEventPipeline.java:250)
> > >         at
> >
> >org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(Cachi 
> ngStreamPipeline.java:399)
> > >         at
> >
> >org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(S 
> erializeNode.java:153)
> > >         at
> >
> >org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.i 
> nvokeNodes(AbstractParentProcessingNode.java:85)
> > >         at
> >
> >org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.ac 
> cess$2(PreparableMatchNode.java)
> > >         at
> >
> >org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.in 
> voke(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 "&#168;"> for uml
> > > > >
> > > > > or just use &#168;
> > > > >
> > > >
> > > > Isn't the "&uuml;" actually "&#252;"   ;-)
> > > >
> > > > 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. '&uuml;' ) it is converted to '&amp;uuml;' as can be seen
> > > > > > in the file tree.xml:
> > > > > >
> > > > > > ...
> > > > > > <branch relURI="gddd" doctype="Group" menuName=" ... &amp;uuml;
> > ..."/>
> > > > > > ...
> > > > > >
> > > > > > Hand editing of tree.xml ('&amp;uuml;' -> '&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 '&uuml;' 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     "&#402;" ><!-- latin small f with hook =
> > > > function
> > > > >                                       = florin, U+0192 ISOtech -->
> > > > >
> > > > >         <!-- Greek -->
> > > > >         <!ENTITY Alpha    "&#913;" ><!-- greek capital letter alpha,
> > > U+0391
> > > > -->
> > > > >         <!ENTITY Beta     "&#914;" ><!-- greek capital letter beta,
> > > U+0392
> > > > -->
> > > > >         <!ENTITY Gamma    "&#915;" ><!-- greek capital letter gamma,
> > > U+0393
> > > > ISOgrk3 -->
> > > > >         <!ENTITY Delta    "&#916;" ><!-- greek capital letter delta,
> > > U+0394
> > > > ISOgrk3 -->
> > > > >         <!ENTITY Epsilon  "&#917;" ><!-- greek capital letter
> > epsilon,
> > > > U+0395 -->
> > > > >         <!ENTITY Zeta     "&#918;" ><!-- greek capital letter zeta,
> > > U+0396
> > > > -->
> > > > >         <!ENTITY Eta      "&#919;" ><!-- greek capital letter eta,
> > U+0397
> > > > -->
> > > > >         <!ENTITY Theta    "&#920;" ><!-- greek capital letter theta,
> > > U+0398
> > > > ISOgrk3 -->
> > > > >         <!ENTITY Iota     "&#921;" ><!-- greek capital letter iota,
> > > U+0399
> > > > -->
> > > > >         <!ENTITY Kappa    "&#922;" ><!-- greek capital letter kappa,
> > > U+039A
> > > > -->
> > > > >         <!ENTITY Lambda   "&#923;" ><!-- greek capital letter lambda,
> > > > U+039B ISOgrk3 -->
> > > > >         <!ENTITY Mu       "&#924;" ><!-- greek capital letter mu,
> > U+039C
> > > > -->
> > > > >         <!ENTITY Nu       "&#925;" ><!-- greek capital letter nu,
> > U+039D
> > > > -->
> > > > >         <!ENTITY Xi       "&#926;" ><!-- greek capital letter xi,
> > U+039E
> > > > ISOgrk3 -->
> > > > >         <!ENTITY Omicron  "&#927;" ><!-- greek capital letter
> > omicron,
> > > > > ..........
> > >
> > >-------------------------------------------------
> > >This mail sent through IMP: http://horde.org/imp/
> > >
> > >
> > >_______________________________________________
> > >WyonaCMS-users mailing list
> > >[email protected]
> > >http://mail.wyona.org/cgi-bin/mailman/listinfo/wyonacms-users
> >
> >
> >
>
>
>
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.