Re: [Simple-support] invalid attribute name
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2008-09-21 19:18:57
|
Hi, Yes, this is an illegal name. Currently the serialization process does not validate the names of attributes or elements. Likely a rare issue, but in any case something I can and will add to the schema generation phase of serialization. Thanks for the feedback, Niall --- On Sun, 9/21/08, mic...@is... <mic...@is...> wrote: > From: mic...@is... <mic...@is...> > Subject: [Simple-support] invalid attribute name > To: sim...@li... > Date: Sunday, September 21, 2008, 9:57 AM > Hello, > I have following issue: > > i.e.: > @Attribute(name = "A+B") > int a_plus_b = 0; > > Simple generates a document on serialization however it is > not able to > deserialize it. > IMO '+' in attribute name violates XML > specification. > > Shouldn't be attributes names restricted somehow > (during writing to XML > ?) in order to ensure that Simple doesn't generate > invalid attribute > names and therefore incorrect xml document ? > > Thanks > Michal > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK > & win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support |