Revision 12439 trunk/libraries/libGPE/src/org/gvsig/xmlschema/som/impl/XSElementDeclarationImpl.java

View differences:

XSElementDeclarationImpl.java
58 58
 *
59 59
 * $Id$
60 60
 * $Log$
61
 * Revision 1.2  2007-06-22 12:20:48  jorpiell
61
 * Revision 1.3  2007-07-02 09:57:35  jorpiell
62
 * The generated xsd schemas have to be valid
63
 *
64
 * Revision 1.2  2007/06/22 12:20:48  jorpiell
62 65
 * The typeNotFoundException has been deleted. It never was thrown
63 66
 *
64 67
 * Revision 1.1  2007/06/14 16:15:03  jorpiell
......
208 211
	 */
209 212
	public IXSComplexTypeDefinition addComplexType(String type,
210 213
			String contentType, String contentTypeRestriction) {
214
		getElement().removeAttribute(SchemaTags.TYPE);
211 215
		Element eComplexType = getElementsFactory().createComplexType(
212 216
				getSchema(), 
213 217
				null,

Also available in: Unified diff