Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public static String guessType(String value) {
Date.parseDate(value);
return DATE_TYPE;
} catch (ParseException px) {
} catch (IllegalArgumentException ex) {
}

// -- check for time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ private void merge(ElementDecl e1, ElementDecl e2) throws SchemaException {
return; // -- nothing to merge
if (e2Type.isSimpleType()) {
e1.setType(e2Type);
e1Type = e2Type;
} else {
ComplexType cType = new ComplexType(_schema);
Group group = new Group();
Expand All @@ -455,6 +456,7 @@ private void merge(ElementDecl e1, ElementDecl e2) throws SchemaException {
} else if (e2Type == null) {
if (e1Type.isSimpleType()) {
e2.setType(e1Type);
e2Type = e1Type;
} else {
ComplexType cType = new ComplexType(_schema);
Group group = new Group();
Expand Down