import edu.neu.ccs.demeter.dj.*;
import java.util.*;
import java.lang.reflect.*;
Main = .
Schema = "" *l List(Parts) "" *l.
Parts : Types | Element.
Types : ComplexType | SimpleType.
ComplexType = "" *l Sequence [Attribute] "" *l.
Attribute = "" *l.
Element = "" *l.
SimpleType = "" *l Restriction *l "" *l.
Restriction = "" *l List(SimpleParts) "".
SimpleParts : MinExclusive | MaxExclusive | MinInclusive | MaxInclusive.
Name = "name=" String.
Ref = "ref=" String.
Base = "base=" String.
Type = "type=" String.
MinOccurs = "minOccurs=" String.
MaxOccurs = "maxOccurs=" String.
MinExclusive = "