Revision 11347 trunk/libraries/libGPE-GML/src-test/org/gvsig/gpe/xml/XSOMSchemaParserTest.java

View differences:

XSOMSchemaParserTest.java
4 4
import java.io.IOException;
5 5
import java.util.Iterator;
6 6

  
7
import org.xml.sax.ErrorHandler;
7
import junit.framework.TestCase;
8

  
8 9
import org.xml.sax.SAXException;
9 10

  
10 11
import com.sun.xml.xsom.XSElementDecl;
11 12
import com.sun.xml.xsom.XSSchema;
12
import com.sun.xml.xsom.XSSchemaSet;
13 13
import com.sun.xml.xsom.XSType;
14 14
import com.sun.xml.xsom.parser.AnnotationParser;
15
import com.sun.xml.xsom.parser.AnnotationParserFactory;
16 15
import com.sun.xml.xsom.parser.XSOMParser;
17 16
import com.sun.xml.xsom.util.DomAnnotationParserFactory;
18 17

  
19
import junit.framework.TestCase;
20

  
21 18
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
22 19
 *
23 20
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
......
62 59
 *
63 60
 * $Id$
64 61
 * $Log$
65
 * Revision 1.2  2007-04-12 10:24:12  jorpiell
62
 * Revision 1.3  2007-04-25 11:08:38  csanchez
63
 * Parseo correcto con XSOM de esquemas, EntityResolver para los imports
64
 *
65
 * Revision 1.2  2007/04/12 10:24:12  jorpiell
66 66
 * Add the GML and schema tests
67 67
 *
68 68
 * Revision 1.1  2007/04/11 11:16:42  jorpiell
......
76 76
public class XSOMSchemaParserTest extends TestCase {
77 77
	protected void setUp() throws SAXException, IOException{
78 78
		XSOMParser parser = new XSOMParser();
79
		parser.parse(new File("testdata/schemas/2_1_2/feature.xsd"));
79
		parser.parse(new File("testdata/schemas/2.1.2/feature.xsd"));
80 80
	}
81 81

  
82 82
	public void testParseLocalidadSchema() throws SAXException, IOException {

Also available in: Unified diff