struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Theodosios Paschalidis" <theo...@hotmail.com>
Subject Re: validation.xml with German Characters (sauch as &uuml;)
Date Mon, 01 Mar 2004 14:08:39 GMT
Hi guys,

I had similar issues with Greek. Certain regular expressions that were
supposed to work with Unicode characters, actually didn't.
A Struts fellow suggested changing the xml's encoding to UTF-8 as follows
<?xml version="1.0" encoding="UTF-8" ?>

I was then able to insert Greek characters directly, so it should work with
German also.

Hope that helps,
Theo

----- Original Message ----- 
From: "Axel Gross" <kamikaze+resu-sturts@iaeste.at>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Monday, March 01, 2004 1:47 PM
Subject: Re: validation.xml with German Characters (sauch as &uuml;)


> Moin zsolt!
>
> hi didn't do this before, so i'm not to sure about it.
> looks like your current problem is a xml related one
>
> import the namespace of html, or define the entity by yourself
> (should be something on selfhtml.teamone.de about it...)
>
> if it works with the validator, i don't know
>
> besides...
> if anybody knows, if struts uses internationalisation on the
validition.xml,
> i'd be glad to know :)))
>
> lg,
> Axel
>
> On 2004-03-01 at 14:29:52 +0100, Zsolt Koppany wrote:
> > Hi,
> >
> > I want to use German Characters in validation.xml but when I use the
> > expression below I get an error message attached to the end of this
email:
> >
> > <constant>
> >         <constant-name>username</constant-name>
> >
<constant-value>^[a-zA-Z0-9][a-zA-Z0-9@_.&uuml;]+$</constant-value>
> > </constant>
> >
> > Error message:
> > Reference to undefined entity "&uuml;".
> > org.xml.sax.SAXParseException: Reference to undefined entity "&uuml;".
> >
> > How can I use German Characters?
> >
> > Zsolt
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message