summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalvador Zalapa2013-01-24 13:08:33 (EST)
committer Nick Sandonato2013-02-13 11:09:05 (EST)
commit0f6b4b67be773432c05cbe27d63e89763d85dda7 (patch)
tree553dd03468a4a9afdef5c3cdfb41ea65b2070596
parentf75526a1e291b420e8103e4eb419811dfd41b999 (diff)
downloadwebtools.sourceediting-0f6b4b67be773432c05cbe27d63e89763d85dda7.zip
webtools.sourceediting-0f6b4b67be773432c05cbe27d63e89763d85dda7.tar.gz
webtools.sourceediting-0f6b4b67be773432c05cbe27d63e89763d85dda7.tar.bz2
[346128] [content model] New XML Wizard creates invalid value for gMonth data type
-rw-r--r--bundles/org.eclipse.wst.xsd.core/src-contentmodel/org/eclipse/wst/xsd/contentmodel/internal/XSDTypeUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.wst.xsd.core/src-contentmodel/org/eclipse/wst/xsd/contentmodel/internal/XSDTypeUtil.java b/bundles/org.eclipse.wst.xsd.core/src-contentmodel/org/eclipse/wst/xsd/contentmodel/internal/XSDTypeUtil.java
index 1ab69ef..b0e707f 100644
--- a/bundles/org.eclipse.wst.xsd.core/src-contentmodel/org/eclipse/wst/xsd/contentmodel/internal/XSDTypeUtil.java
+++ b/bundles/org.eclipse.wst.xsd.core/src-contentmodel/org/eclipse/wst/xsd/contentmodel/internal/XSDTypeUtil.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2001, 2010 IBM Corporation and others.
+ * Copyright (c) 2001, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -41,7 +41,7 @@ public class XSDTypeUtil
defaultValue.put("ENTITIES", "entities");
defaultValue.put("float", "0.0");
defaultValue.put("gDay", "---01");
- defaultValue.put("gMonth", "--01--");
+ defaultValue.put("gMonth", "--01");
defaultValue.put("gMonthDay", "--01-01");
defaultValue.put("gYear", "2001");
defaultValue.put("gYearMonth", "2001-01");