Appendix A.7 Differences in the operation of the javax.xml.datatype package

The following table describes the differences in the operation of the javax.xml.datatype package:

Table A-10 Differences in the operation of the javax.xml.datatype package (Comparison of cases when JAXP1.3 is used on J2SE 5.0 and JAXP1.4 is used on Java SE 6)

No.ConditionExecution result
In J2SE 5.0In Java SE 6
1Content of the Duration object returned by the newDurationYearMonth(long) method of the javax.xml.datatype.DatatypeFactory classData other than year and month is also maintained.Data other than year and month is not maintained.
2When null is specified in the parameter of the equals method of the javax.xml.datatype.Duration classNullPointerException occurs.false is returned.
NullPointerException does not occur.