axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23448] New: - Request orthogonal set of ALL XML Schema types
Date Fri, 26 Sep 2003 19:47:39 GMT
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.

Mime
View raw message