Hi Ulf, I don't think the Enumeration code is very friendly towards international character sets, we may need to modify the code to check for anything outside the standard ascii range of characters and to escape those accordingly. I updated the bugzilla report with your comments.
Is this something you're willing to look into? --Keith Ulf Heyder wrote: > > Hi Rhett, Keith, > > I tried the patch, it worked out well for all but 2 of my enumerations. It's a big > help so I think we should see this in the next subsubrelease if possible. I wil post > a comment to the bug alltough I am a real Bugzilla-newbee. What should I do exactly? > > The first enumeration the patch didn't work for looks like "bla", "blubb", "23foo", > "123bar", "1234". But I didn't debug it yet. Any idea? > > The second one contains German Umlaut characters like \u00DD (German Ä), \u00EF (Ö) > and \u00F5 (Ü). The encoding in the xml headline is set to UTF-8 so I wonder why the > source generator creates final Strings in the java class containing funny chars like > [linksbÿ%ndig] instead of [linksbündig] (I'm not exactly sure about the 2 funny > chars, sorry). > > Do I have to tell the source generator about the UTF-8 encoding of my XSD? > > Thanks, Ulf > > ----- Original Message ----- > From: "Rhett Sutphin" <[EMAIL PROTECTED]> > To: "Ulf Heyder" <[EMAIL PROTECTED]> > Sent: Tuesday, October 28, 2003 10:51 PM > Subject: Re: [castor-dev] source generator: field names of numeric enumeration > elements > > | Ulf Heyder wrote: > | > Hello, > | > > | > I have a short question regarding the bugzilla bug #1245: > | > > | > Is the patch you mentioned already integrated into castor version 0.9.5 or > | > 0.9.5.2? > | > | No, it isn't. It would be nice if it were, though -- if you try it out and it > works for you, please consider posting a comment to the bug or castor-dev indicating > that you find it useful. Maybe that will help move the process along. > | > | Rhett > | > > ----- Original Message ----- > From: "Rhett Sutphin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, October 25, 2003 7:08 AM > Subject: Re: [castor-dev] source generator: field names of numeric enumeration > elements > > | Hi Ulf, Keith, > | > | Before you file that enhancement request, take a look at > | > | http://bugzilla.exolab.org/show_bug.cgi?id=1245 > | > | It's a similar RFE -- with patch! It does at least part (and maybe all, I don't > remember) of what Ulf asked for. > | > | Rhett > | > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
