public LinkedHashMap<String,LinkedHashMap> parseFile( InputStream inputFile ) {
LinkedHashMap<String,LinkedHashMap> fields = new LinkedHashMap<String, LinkedHashMap>();
try {
XSOMParser parser = new XSOMParser();
ParseErrorHandler parserError = new ParseErrorHandler();
parser.setErrorHandler(parserError);
parser.parse(inputFile);
/* Set<SchemaDocument> docs = parser.getDocuments();
Iterator<SchemaDocument> docIt = docs.iterator();
while( docIt.hasNext() ) {
SchemaDocument doc = docIt.next();
}*/
XSSchemaSet set = parser.getResult();
LinkedHashMap<String,LinkedHashMap> elementField = null;
Iterator<XSElementDecl> jtr = set.iterateElementDecls();
while( jtr.hasNext() ) {
XSElementDecl ele = jtr.next();