Skip to content

Commit 133254f

Browse files
committed
Issue #43, #44.
1 parent 2aa6fa9 commit 133254f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

compiler/src/main/java/org/hisrc/jsonix/compilation/mapping/CreateTypeInfoDeclarationVisitor.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ final class CreateTypeInfoDeclarationVisitor<T, C extends T> implements
112112
XSD_TYPE_MAPPING.put(XmlSchemaConstants.ANYURI, "String");
113113
XSD_TYPE_MAPPING.put(XmlSchemaConstants.QNAME, "QName");
114114
// XSD_TYPE_MAPPING.put(XmlSchemaConstants.NOTATION, "Notation");
115-
// XSD_TYPE_MAPPING.put(XmlSchemaConstants.DURATION, "Duration");
115+
XSD_TYPE_MAPPING.put(XmlSchemaConstants.DURATION, "Duration");
116116
XSD_TYPE_MAPPING.put(XmlSchemaConstants.DURATION, "String");
117117
XSD_TYPE_MAPPING.put(XmlSchemaConstants.DATETIME, "DateTime");
118118
XSD_TYPE_MAPPING.put(XmlSchemaConstants.TIME, "Time");
119119
XSD_TYPE_MAPPING.put(XmlSchemaConstants.DATE, "Date");
120-
// XSD_TYPE_MAPPING.put(XmlSchemaConstants.GYEARMONTH, "GYearMonth");
121-
// XSD_TYPE_MAPPING.put(XmlSchemaConstants.GYEAR, "GYear");
122-
// XSD_TYPE_MAPPING.put(XmlSchemaConstants.GMONTHDAY, "GMonthDay");
123-
// XSD_TYPE_MAPPING.put(XmlSchemaConstants.GDAY, "GDay");
124-
// XSD_TYPE_MAPPING.put(XmlSchemaConstants.GMONTH, "GMonth");
120+
XSD_TYPE_MAPPING.put(XmlSchemaConstants.GYEARMONTH, "GYearMonth");
121+
XSD_TYPE_MAPPING.put(XmlSchemaConstants.GYEAR, "GYear");
122+
XSD_TYPE_MAPPING.put(XmlSchemaConstants.GMONTHDAY, "GMonthDay");
123+
XSD_TYPE_MAPPING.put(XmlSchemaConstants.GDAY, "GDay");
124+
XSD_TYPE_MAPPING.put(XmlSchemaConstants.GMONTH, "GMonth");
125125
XSD_TYPE_MAPPING.put(XmlSchemaConstants.CALENDAR, "Calendar");
126126
XSD_TYPE_MAPPING.put(XmlSchemaConstants.GYEARMONTH, "String");
127127
XSD_TYPE_MAPPING.put(XmlSchemaConstants.GYEAR, "String");

0 commit comments

Comments
 (0)