You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/09/26 21:47:39 UTC

DO NOT REPLY [Bug 23448] New: - Request orthogonal set of ALL XML Schema types

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23448>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23448

Request orthogonal set of ALL XML Schema types

           Summary: Request orthogonal set of ALL XML Schema types
           Product: Axis
           Version: 1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: mjcsfo@yahoo.com


Instead of having some types as standard J2SE objects and others defined in the 
org.apache.axis.types package, it would be nice to have ALL XML Schema types 
defined in the org.apache.axis.types package, with an additional Wsdl2Java 
switch which allows the user to decide if they want to use a consistent set of 
wrapper types of the current set. 

This in particular affects dates and times, where Axis currently uses:
java.util.Calendar         for xsd:dateTime
java.util.Date             for xsd:date
org.apache.axis.types.Time for xsd:time

This is more confusing than beneficial in our opinion. We'd prefer to see:
org.apache.axis.types.DateTime for xsd:dateTime
org.apache.axis.types.Date     for xsd:date
org.apache.axis.types.Time     for xsd:time

These should have additional constructors with the base types for ease of use.