Re: Stax XML serialization format...

2015-07-13 Thread Paul Merlin
Paul Merlin a écrit : > Moreover, Map keys can be something else than a String, they can be a > Number, a Date et... And in fact, Maps keys could be a "complex" type, like some Value.

Re: Stax XML serialization format...

2015-07-13 Thread Niclas Hedhman
Good point!! There is similar issue around escaping in JSON for values in maps, which needs to be addressed. I guess the same mechanism could be used to escape XML tagnames as well. Niclas On Mon, Jul 13, 2015 at 1:49 PM, Paul Merlin wrote: > Hey, > > Java allow UTF-8 characters in method na

Re: Stax XML serialization format...

2015-07-13 Thread Paul Merlin
Hey, Java allow UTF-8 characters in method names. This could lead to illegal characters in tag namesif Value Properties accessor name is used. Moreover, Map keys can be something else than a String, they can be a Number, a Date et... BTW, I'm not using the StAX serialization in any of my apps.

Re: Stax XML serialization format...

2015-07-12 Thread Kent Sølvsten
Illegal characters :-) Den 12/07/2015 20.27 skrev "Kent Sølvsten" : > Not able to analyse from My holliday on crete. But: provided we wont run > into trouble with illegal charterselskaber in XML elements i agree . I > Thing the default should be changed for 3.0 though. > Den 12/07/2015 16.58 skr

Re: Stax XML serialization format...

2015-07-12 Thread Kent Sølvsten
Not able to analyse from My holliday on crete. But: provided we wont run into trouble with illegal charterselskaber in XML elements i agree . I Thing the default should be changed for 3.0 though. Den 12/07/2015 16.58 skrev "Niclas Hedhman" : > Gang, > The StaxValueSerialization format is very ve

Stax XML serialization format...

2015-07-12 Thread Niclas Hedhman
Gang, The StaxValueSerialization format is very verbose, and possibly only suitable with an XML browser (i.e. a regular browser with a CSS to make it into tables) >From testcase; number42nullStringemptyStringstringListanotherNullanotherListNullanotherListEmptytestEnumsomevaluefoo_typeorg.qi4j.test