DemeterJ version 0.8.3 Copyright (c) 2000 Northeastern University Reading project file XML2AP.prj... Running the generator... Output directory gen does not exist, will create. Parsing XML2AP.cd... Building hashtable of classes... Adding generic visitors: PrintVisitor CopyVisitor SubgraphVisitor EqualVisitor DisplayVisitor TraceVisitor UniversalVisitor Marking not-parsed classes... Marking visitor classes... Expanding parameterized classes... Converting repetition classes... Filling in part names... Setting inheritance links... Saving expanded CD to gen/XML2AP.xcd... Checking for duplicate part names... Reading behavior files: XML2AP.beh Filling in visitor names... Marking derived parts... Making generic visitor behavior files... Reading behavior files: gen/UniversalVisitor.beh gen/PrintVisitor.beh gen/CopyVisitor.beh gen/SubgraphVisitor.beh gen/EqualVisitor.beh gen/DisplayVisitor.beh gen/TraceVisitor.beh Building cyclic class graph... Converting adaptive methods... Building visitor tables... Expanding universal traversal... Expanding static traversals... Computing traversal graph for __trav_printSchema... generating traversal methods... Computing traversal graph for __trav_displaySchema... generating traversal methods... Adding Enumeration thingies to Repetition classes Adding Subtraversal class. Generating core aspect code to gen... Generating grammar to gen/Parser.jj... Done. Running the weaver... Running the parser generator... Java Compiler Compiler Version 1.1 (Parser Generator) Copyright (c) 1996-1999 Sun Microsystems, Inc. Copyright (c) 1997-1999 Metamata, Inc. (type "javacc" with no arguments for help) Reading from file gen/Parser.jj . . . File "TokenMgrError.java" does not exist. Will create one. File "ParseException.java" does not exist. Will create one. File "Token.java" does not exist. Will create one. File "ASCII_UCodeESC_CharStream.java" does not exist. Will create one. Parser generated successfully. Running the compiler... Running the test... TypeDef found TypeDef found TypeDef found TypeDef found TraversalGraph from Schema to Attribute Copy 0: Nodes: Schema SchemaItem_List Nonempty_SchemaItem_List SchemaItem Attribute Element RestOfElement NonEmptyElement TypeDef ComplexType ComplexTypeContent SequenceGroup Element_List Nonempty_Element_List ComplexContent TypeDerivation Extension Attribute_List Nonempty_Attribute_List Edges: -> Schema,items,SchemaItem_List -> SchemaItem_List,first,Nonempty_SchemaItem_List -> Nonempty_SchemaItem_List,it,SchemaItem => SchemaItem,Attribute => SchemaItem,Element -> Element,restofelement,RestOfElement => RestOfElement,NonEmptyElement -> NonEmptyElement,type,TypeDef => TypeDef,ComplexType -> ComplexType,complextypecontent,ComplexTypeContent => ComplexTypeContent,SequenceGroup -> SequenceGroup,element_list,Element_List -> Element_List,first,Nonempty_Element_List -> Nonempty_Element_List,it,Element -> Nonempty_Element_List,next,Nonempty_Element_List => ComplexTypeContent,ComplexContent -> ComplexContent,typederivation,TypeDerivation => TypeDerivation,Extension -> Extension,sequencegroup,SequenceGroup -> ComplexType,attribute_list,Attribute_List -> Attribute_List,first,Nonempty_Attribute_List -> Nonempty_Attribute_List,it,Attribute -> Nonempty_Attribute_List,next,Nonempty_Attribute_List => SchemaItem,TypeDef -> Nonempty_SchemaItem_List,next,Nonempty_SchemaItem_List Edges to other copies: ======== TraversalGraph from Attribute to AttrValue Copy 0: Nodes: Attribute AttrValue_List Nonempty_AttrValue_List AttrValue RestOfAttribute NonEmptyAttribute Annotation AnnotationContent_List Nonempty_AnnotationContent_List AnnotationContent Appinfo Documentation SchemaItem Edges: -> Attribute,attrs,AttrValue_List -> AttrValue_List,first,Nonempty_AttrValue_List -> Nonempty_AttrValue_List,it,AttrValue -> Nonempty_AttrValue_List,next,Nonempty_AttrValue_List -> Attribute,restofattribute,RestOfAttribute => RestOfAttribute,NonEmptyAttribute -> NonEmptyAttribute,annotation,Annotation -> Annotation,annotationcontent_list,AnnotationContent_List -> AnnotationContent_List,first,Nonempty_AnnotationContent_List -> Nonempty_AnnotationContent_List,it,AnnotationContent => AnnotationContent,Appinfo -> Appinfo,attrs,AttrValue_List => AnnotationContent,Documentation -> Documentation,attrs,AttrValue_List -> Nonempty_AnnotationContent_List,next,Nonempty_AnnotationContent_List Edges to other copies: ======== TraversalGraph from Schema to ComplexType Copy 0: Nodes: Schema SchemaItem_List Nonempty_SchemaItem_List SchemaItem Element RestOfElement NonEmptyElement TypeDef ComplexType ComplexTypeContent SequenceGroup Element_List Nonempty_Element_List ComplexContent TypeDerivation Extension Edges: -> Schema,items,SchemaItem_List -> SchemaItem_List,first,Nonempty_SchemaItem_List -> Nonempty_SchemaItem_List,it,SchemaItem => SchemaItem,Element -> Element,restofelement,RestOfElement => RestOfElement,NonEmptyElement -> NonEmptyElement,type,TypeDef => TypeDef,ComplexType -> ComplexType,complextypecontent,ComplexTypeContent => ComplexTypeContent,SequenceGroup -> SequenceGroup,element_list,Element_List -> Element_List,first,Nonempty_Element_List -> Nonempty_Element_List,it,Element -> Nonempty_Element_List,next,Nonempty_Element_List => ComplexTypeContent,ComplexContent -> ComplexContent,typederivation,TypeDerivation => TypeDerivation,Extension -> Extension,sequencegroup,SequenceGroup => SchemaItem,TypeDef -> Nonempty_SchemaItem_List,next,Nonempty_SchemaItem_List Edges to other copies: ======== TraversalGraph from Schema to Element Copy 0: Nodes: Schema SchemaItem_List Nonempty_SchemaItem_List SchemaItem Element RestOfElement NonEmptyElement TypeDef ComplexType ComplexTypeContent SequenceGroup Element_List Nonempty_Element_List ComplexContent TypeDerivation Extension Edges: -> Schema,items,SchemaItem_List -> SchemaItem_List,first,Nonempty_SchemaItem_List -> Nonempty_SchemaItem_List,it,SchemaItem => SchemaItem,Element -> Element,restofelement,RestOfElement => RestOfElement,NonEmptyElement -> NonEmptyElement,type,TypeDef => TypeDef,ComplexType -> ComplexType,complextypecontent,ComplexTypeContent => ComplexTypeContent,SequenceGroup -> SequenceGroup,element_list,Element_List -> Element_List,first,Nonempty_Element_List -> Nonempty_Element_List,it,Element -> Nonempty_Element_List,next,Nonempty_Element_List => ComplexTypeContent,ComplexContent -> ComplexContent,typederivation,TypeDerivation => TypeDerivation,Extension -> Extension,sequencegroup,SequenceGroup => SchemaItem,TypeDef -> Nonempty_SchemaItem_List,next,Nonempty_SchemaItem_List Edges to other copies: ======== TraversalGraph from Schema to TypeDef Copy 0: Nodes: Schema SchemaItem_List Nonempty_SchemaItem_List SchemaItem Element RestOfElement NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent SequenceGroup Element_List Nonempty_Element_List ComplexContent TypeDerivation Extension Edges: -> Schema,items,SchemaItem_List -> SchemaItem_List,first,Nonempty_SchemaItem_List -> Nonempty_SchemaItem_List,it,SchemaItem => SchemaItem,Element -> Element,restofelement,RestOfElement => RestOfElement,NonEmptyElement -> NonEmptyElement,type,TypeDef => TypeDef,SimpleType :> SimpleType,TypeDef => TypeDef,ComplexType -> ComplexType,complextypecontent,ComplexTypeContent => ComplexTypeContent,SequenceGroup -> SequenceGroup,element_list,Element_List -> Element_List,first,Nonempty_Element_List -> Nonempty_Element_List,it,Element -> Nonempty_Element_List,next,Nonempty_Element_List => ComplexTypeContent,ComplexContent -> ComplexContent,typederivation,TypeDerivation => TypeDerivation,Extension -> Extension,sequencegroup,SequenceGroup :> ComplexType,TypeDef => SchemaItem,TypeDef -> Nonempty_SchemaItem_List,next,Nonempty_SchemaItem_List Edges to other copies: ======== Eliminate attributes from elements Element found Element found Element found Element found Element found Element found ======== Eliminate name space refs from complex types ComplexType found ComplexType found ComplexType found ComplexType found : Schema ( : NSRef ( : Ident "xsd" ) : AttrValue_List { : Nonempty_AttrValue_List ( : AttrValue ( : NSRef ( : Ident "xmlns" ) : Ident "xsd" : String "http://www.w3.org/2000/10/XMLSchema" ) ) } : SchemaItem_List { : Nonempty_SchemaItem_List ( : Element ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : EmptyElement ( ) ) : Nonempty_SchemaItem_List ( : ComplexType ( : AttrValue_List { : Nonempty_AttrValue_List ( : AttrValue ( : Ident "name" : String "Exp" ) ) } : SequenceGroup ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : Element_List { : Nonempty_Element_List ( : Element ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : EmptyElement ( ) ) ) } : NSRef ( : Ident "xsd" ) ) : Attribute_List { } : NSRef ( : Ident "xsd" ) ) : Nonempty_SchemaItem_List ( : ComplexType ( : AttrValue_List { : Nonempty_AttrValue_List ( : AttrValue ( : Ident "name" : String "E" ) : Nonempty_AttrValue_List ( : AttrValue ( : Ident "abstract" : String "true" ) ) ) } : SequenceGroup ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : Element_List { : Nonempty_Element_List ( : Element ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : EmptyElement ( ) ) ) } : NSRef ( : Ident "xsd" ) ) : Attribute_List { } : NSRef ( : Ident "xsd" ) ) : Nonempty_SchemaItem_List ( : ComplexType ( : AttrValue_List { : Nonempty_AttrValue_List ( : AttrValue ( : Ident "name" : String "S" ) ) } : ComplexContent ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : Extension ( : NSRef ( : Ident "xsd" ) : AttrValue_List { : Nonempty_AttrValue_List ( : AttrValue ( : Ident "base" : String "E" ) : Nonempty_AttrValue_List ( : AttrValue ( : Ident "base" : String "F" ) ) ) } : SequenceGroup ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : Element_List { : Nonempty_Element_List ( : Element ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : EmptyElement ( ) ) ) } : NSRef ( : Ident "xsd" ) ) : NSRef ( : Ident "xsd" ) ) : NSRef ( : Ident "xsd" ) ) : Attribute_List { } : NSRef ( : Ident "xsd" ) ) : Nonempty_SchemaItem_List ( : ComplexType ( : AttrValue_List { : Nonempty_AttrValue_List ( : AttrValue ( : Ident "name" : String "C" ) ) } : ComplexContent ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : Extension ( : NSRef ( : Ident "xsd" ) : AttrValue_List { : Nonempty_AttrValue_List ( : AttrValue ( : Ident "base" : String "E" ) ) } : SequenceGroup ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : Element_List { : Nonempty_Element_List ( : Element ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : EmptyElement ( ) ) : Nonempty_Element_List ( : Element ( : NSRef ( : Ident "xsd" ) : AttrValue_List { } : EmptyElement ( ) ) ) ) } : NSRef ( : Ident "xsd" ) ) : NSRef ( : Ident "xsd" ) ) : NSRef ( : Ident "xsd" ) ) : Attribute_List { } : NSRef ( : Ident "xsd" ) ) ) ) ) ) ) } : NSRef ( : Ident "xsd" ) )Type Exp found Type E found Type S found Type C found done