@@ -0,0 +1,1725 @@
+package gov.nih.nci.objectCart.jUnit.applicationService.impl;%0Aimport gov.nih.nci.objectCart.util.xml.ValidationErrorHandler;%0Aimport gov.nih.nci.objectCart.util.xml.Validator;%0A%0Aimport java.io.IOException;%0Aimport java.io.StringReader;%0A%0Aimport javax.xml.parsers.ParserConfigurationException;%0Aimport javax.xml.parsers.SAXParser;%0Aimport javax.xml.parsers.SAXParserFactory;%0Aimport javax.xml.transform.Source;%0Aimport javax.xml.transform.stream.StreamSource;%0Aimport javax.xml.validation.SchemaFactory;%0A%0Aimport org.xml.sax.InputSource;%0Aimport org.xml.sax.SAXException;%0Aimport org.xml.sax.XMLReader;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class GMETest extends TestCase%7B%0A%09%0A%09%09public void test1()%0A%09%09%7B%0A%09%09%09SAXParserFactory factory = SAXParserFactory.newInstance();%0A%09%09%09factory.setValidating(false);%0A%09%09%09factory.setNamespaceAware(true);%0A%0A%09%09%09SchemaFactory schemaFactory = SchemaFactory%0A%09%09%09%09%09.newInstance(%22http://www.w3.org/2001/XMLSchema%22);%0A%09%09%09%0A%09%09%09String schema = Validator.getSchema(%22gme://caCORE.caBIG/3.0/gov.nih.nci.cadsr.domain%22);%0A%09%09%09%0A%09%09%09System.out.println(schema);%0A//%09%09%09try %7B%0A//%09%09%09factory.setSchema(%0A//%09%09%09%09%09schemaFactory.newSchema(%0A//%09%09%09%09%09%09%09new Source%5B%5D %7Bnew StreamSource(schema)%7D ));%0A//%0A//%09%09%09SAXParser parser = factory.newSAXParser();%0A//%0A//%09%09%09XMLReader reader = parser.getXMLReader();%0A//%09%09%0A//%09%09%09reader.setErrorHandler(new ValidationErrorHandler());%0A//%09%09%09StringReader strReader = new StringReader(%22TEST DATA HERE%22);%0A//%09%09%09InputSource inputSource = new InputSource(strReader);%0A//%0A//%09%09%09reader.parse(inputSource);%09%0A//%09%09%09%0A//%09%09%09%7D catch (SAXException se)%7B%09%0A//%09%09%09%09se.printStackTrace();%0A//%09%09%09%7D catch (IOException ioe)%7B%09%0A//%09%09%09%09ioe.printStackTrace();%0A//%09%09%09%7D catch (ParserConfigurationException pce)%7B%09%0A//%09%09%09%09pce.printStackTrace();%0A//%09%09%09%7D%0A%09%09%7D%0A%09%0A%7D%0A

Test for GME connection. Still not working