diff --git a/CompilerGeneration.jrag b/CompilerGeneration.jrag index 0c32a55c03d7d36a9f0062a91eeaa33a49cbfd62..1f3549d8e6f661e47b4a3b10321cf46e1e87bbb7 100644 --- a/CompilerGeneration.jrag +++ b/CompilerGeneration.jrag @@ -18,7 +18,7 @@ aspect AbsGrammarGeneration { public void Start.genAbsGrammar(PrintStream pStream) { pStream.println("// Predefined types"); - pStream.println("Start ::= ComplexElement;"); + pStream.println("Start ::= Element*;"); pStream.println("abstract Thing : ComplexElement ::=;"); pStream.println("abstract Element;"); pStream.println("ComplexElement : Element ::= OwlIdentifier Attribute* Element*;"); diff --git a/owl.ast b/owl.ast index fa954b2ffa142822a00f7453790d2117c67e6866..63d1dfd571b9d551a052e2b944f37011544f670c 100644 --- a/owl.ast +++ b/owl.ast @@ -1,10 +1,10 @@ // -*-Java-*- -/* - * Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> - * - * This file is part of OntologyCompiler. - */ + +// Copyright (C) 2006 Anders Nilsson <anders.nilsson@cs.lth.se> +// +// This file is part of OntologyCompiler. + Start ::= Specification; diff --git a/siaras/Siaras.jjt b/siaras/Siaras.jjt index 81d4620a88d5f1b3989626bfc677212040bc5f68..044ec09191f07fcea572769a2393cab83843eb72 100644 --- a/siaras/Siaras.jjt +++ b/siaras/Siaras.jjt @@ -284,7 +284,7 @@ SPECIAL_TOKEN : /* COMMENTS */ Start Start() #Start : {} { ("<?xml version=\"1.0\"?>")? - ComplexElement() + ElementList() { return jjtThis; } } diff --git a/testontologies/ontologyV07_instances.owl b/testontologies/ontologyV07_instances.owl index e8a6b556605c327f689ed8af2fd84704f6dfd823..af3de8dbc15d8887d7ea2f17dc90ff3c3b2c7d71 100644 --- a/testontologies/ontologyV07_instances.owl +++ b/testontologies/ontologyV07_instances.owl @@ -985,7 +985,7 @@ <WormDiameter rdf:ID="WormDiameter_G1-2"> <isPropertyOf rdf:resource="#Schmalz_FSGPL_200_NBR-55_G1-2-IG"/> <value rdf:datatype="http://www.w3.org/2001/XMLSchema#string" - >G1/2"</value> + >G1/2</value> </WormDiameter> </hasProperty> <hasSkill>