There is no convenient mapping for Unicode characters in Schema; the closest we could come to is either an xsd:string, or an xsd:sequence minOccurs="2" maxOccurs="2" of xsd:byte (which is trey ugly).
 
Anybody know if Schema v1.1 provides this?
 

Ted Neward
Architect, UCDavis Account & Financial Services
http://www.javageeks.com
http://www.clrgeeks.com
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 14:41
To: [EMAIL PROTECTED]
Subject: Re: Serializer for Character

There is no char type in xml, so the mapping from a Java char (or java.lang.Character) doesn't exist. Feel free to provide one, though. What type do you think it should map to?

Russell Butek
[EMAIL PROTECTED]

Please respond to [EMAIL PROTECTED]

To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: Serializer for Character



I received the following error:

java.io.IOException: No serializer found for class java.lang.Character in
registry org.apache.axis.encoding.TypeMappingImpl@cb42cf

Are char type fields not supported?

Should I take a shot at implementing this and contributing the code? Anyone
have some direction on where the code should go? I'll probably just first
attack it writing a custom Serializer/Deserializer since that's what I've
already been looking at. I imagine that most primitives are handled in one
place, though, aren't they?

-joel

Reply via email to